	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ijkurlhook_call_inject
_ijkurlhook_call_inject:                ## @ijkurlhook_call_inject
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	callq	_ff_check_interrupt
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	_AVERROR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, 16(%r14)
	je	LBB0_4
## %bb.2:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_av_log
	movq	$0, 8(%r14)
	movq	16(%r14), %rdi
	movq	_AVAPP_CTRL_WILL_LIVE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_av_application_on_io_control
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_ff_check_interrupt
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EXIT,4,2               ## @AVERROR_EXIT
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"livehook %s\n"

	.comm	_AVAPP_CTRL_WILL_LIVE_OPEN,4,2  ## @AVAPP_CTRL_WILL_LIVE_OPEN
	.no_dead_strip	_ijkurlhook_call_inject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ijkurlhook_call_inject
_ijkurlhook_call_inject:                ; @ijkurlhook_call_inject
	.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
	mov	x19, x0
	ldr	x20, [x0, #8]
	bl	_ff_check_interrupt
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _AVERROR_EXIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_EXIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x3, [x20]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	str	xzr, [x20, #8]
	ldr	x0, [x20, #16]
Lloh8:
	adrp	x8, _AVAPP_CTRL_WILL_LIVE_OPEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVAPP_CTRL_WILL_LIVE_OPEN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_av_application_on_io_control
	cbnz	w0, LBB0_1
; %bb.5:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_1
LBB0_6:
	mov	x0, x19
	bl	_ff_check_interrupt
Lloh11:
	adrp	x8, _AVERROR_EXIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVERROR_EXIT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w0, wzr, w8, eq
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EXIT,4,2               ; @AVERROR_EXIT
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"livehook %s\n"

	.comm	_AVAPP_CTRL_WILL_LIVE_OPEN,4,2  ; @AVAPP_CTRL_WILL_LIVE_OPEN
	.no_dead_strip	_ijkurlhook_call_inject
.subsections_via_symbols
