This problem is from a correspondence game on OGS. I played the wrong move and lost by resignation. Thanks to davidgoto, cae, mr0661, and a1! for helping me improve this problem!
(;
AB[dc][dd][ee][fe][ff][ck][hd][ic][ie][jg][kc][kf][kh][lc][lf][mc][me][nd][ne][pd][qn][dh][eh]
AW[ce][cp][de][dg][ed][ef][eg][fg][id][ig][jd][je][jf][ke][ld][le][md][nc][oc][pc][pq][qd][qf]
C [Black to get the most desirable result on the top.][FORCE]
(
; B [if]; W [he]; B [hf]; W [hc]
(
; B [ge]; W [jc]; B [ib]; W [jb]; B [hb]
(; W [ma] C [White makes a mistake here, but the refutation is tricky.] (; B [kb]; W [ka] (; B [ia]; W [ja] (; B [la]; W [lb]; B [mb]; W [nb]; B [la] C [White has no sufficient ko threat, so black's attack was successful. Well done! In the game, I didn't see the correct timing of J19, so I incorrectly concluded that the initial cut at J14 did not work.][RIGHT])(; B [mb]; W [nb] C [Disadvantageous ko.])(; B [kd]; W [la]))(; B [la]; W [lb]; B [mb]; W [nb]; B [la]; W [kg] C [White has local threats.])(; B [mb]; W [nb] C [Disadvantageous ko.])(; B [kd]; W [ja]))(; B [ka]; W [kb] (; B [ja]; W [lb])(; B [lb]; W [ja] C [Black will get at most a gote seki, after which white will happily attack the weak group.] TR[jg][kf][kh][lf][me][nd][ne][pd]))(; B [lb]; W [la])(; B [la]; W [lb])(; B [mb]; W [kb] (; B [la]; W [nb] (; B [ja]; W [ka])(; B [na]; W [ka]; B [ia]; W [oa]; B [ja]; W [ma]))(; B [na]; W [la]; B [nb]; W [lb])(; B [nb]; W [lb] (; B [na]; W [la])(; B [ja]; W [ob])(; B [la]; W [ka])(; B [ob]; W [pb] (; B [na]; W [la])(; B [oa]; W [pa])(; B [ja]; W [oa])))))
(; W [ka]; B [nb]; W [ma]; B [mb]; W [ob]; B [na]; W [la]; B [ia]; W [ja] C [Black gets a sente seki on the top, best for both. The game is roughly equal. Thanks to cae for helping me realize the need for this continuation.][RIGHT])
(; W [la]; B [ma] (; W [mb]; B [ka]; W [na]; B [kb] C [White M19 earlier does not work. Thanks to davidgoto for suggesting this resistance.][RIGHT])(; W [ka]; B [nb] C [There are a few variations from here, but black wins by one liberty in each.][RIGHT]))
(; W [kb]; B [lb]; W [la]; B [ma]; W [ka]; B [nb]; W [oa]; B [ob]; W [pb]; B [ia] C [Thanks to mr0661 and a1! for this resistance and refutation!][RIGHT])
)
(; B [gd] C[NOTTHIS][Slightly worse than the correct move, since it leaves H13 as a sente move for white later.])
)
(; B [he]; W [jh] C [This is what I played in the game. After black connects, white can push at K17 and connect at J14 in sente, then return to attack black's weak group in the top right.] TR[jg][kf][kh][lf][me][nd][ne][pd])
(; B [hf]; W [jh] C [Too passive. After black connects, white can push at K17 and connect at J14 in sente, then return to attack black's weak group in the top right.] TR[jg][kf][kh][lf][me][nd][ne][pd])
(; B [jc]; W [jh]; B [kg]; W [if] C [Too passive. White is now safe and black has a weak group.] TR[jg][kg][kf][kh][lf][me][nd][ne][pd])
)