	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ijkhttphook_reseek_at
_ijkhttphook_reseek_at:                 ## @ijkhttphook_reseek_at
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.1:
	movq	(%rdi), %rbx
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rax
	jmp	LBB0_5
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ijkurlhook_seek                ## TAILCALL
LBB0_3:
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_9
## %bb.4:
	leaq	8(%rbx), %rax
LBB0_5:
	addq	(%rax), %rsi
LBB0_6:
	testq	%rsi, %rsi
	js	LBB0_10
## %bb.7:
	callq	_ijkhttphook_reconnect_at
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movl	%eax, 16(%rbx)
	cltq
	jmp	LBB0_12
LBB0_9:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_6
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_11:
	movl	$0, 16(%rbx)
	movq	(%rbx), %rax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ijkhttphook_reseek_at
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ijkhttphook_reseek_at
_ijkhttphook_reseek_at:                 ; @ijkhttphook_reseek_at
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	w3, LBB0_3
; %bb.1:
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.2:
	mov	x8, x19
	b	LBB0_6
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ijkurlhook_seek
LBB0_4:
Lloh3:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_10
; %bb.5:
	add	x8, x19, #8
LBB0_6:
	ldr	x8, [x8]
	add	x1, x8, x1
LBB0_7:
	tbnz	x1, #63, LBB0_11
; %bb.8:
	bl	_ijkhttphook_reconnect_at
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_12
; %bb.9:
	str	w0, [x19, #16]
	sxtw	x0, w0
	b	LBB0_13
LBB0_10:
Lloh6:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w2
	b.eq	LBB0_7
LBB0_11:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_12:
	str	wzr, [x19, #16]
	ldr	x0, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ijkhttphook_reseek_at
.subsections_via_symbols
