	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ijkio_urlhook_call_inject
_ijkio_urlhook_call_inject:             ## @ijkio_urlhook_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	8(%rdi), %r14
	callq	_ijkio_cache_check_interrupt
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_IJKAVERROR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.3:
	movq	8(%r14), %r15
	movq	$0, 16(%r14)
	movl	$0, (%r14)
	movq	_AVAPP_CTRL_WILL_HTTP_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_av_application_on_io_control
	testl	%eax, %eax
	jne	LBB0_1
## %bb.4:
	movq	8(%r14), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.5:
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str(%rip), %rcx
	movl	$8, %esi
	movq	%rbx, %r8
	callq	_snprintf
LBB0_7:
	leaq	L_.str.3(%rip), %r12
	cmpl	$0, (%r14)
	jne	LBB0_11
## %bb.8:
	movq	8(%r14), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	$1, (%r14)
	jmp	LBB0_11
LBB0_10:
	cmpl	$0, (%r14)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r12
	cmoveq	%rax, %r12
LBB0_11:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %rax
	movl	(%rax), %ecx
	movq	8(%r14), %r8
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	movq	%r12, %r9
	callq	_av_log
LBB0_12:
	movq	%r13, %rdi
	callq	_ijkio_cache_check_interrupt
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	_IJKAVERROR_EXIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %rax
	movl	(%rax), %ecx
	movq	8(%r14), %r8
	cmpl	$0, (%r14)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r9
	cmoveq	%rax, %r9
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	jmp	LBB0_15
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_IJKAVERROR_EXIT,4,2            ## @IJKAVERROR_EXIT
	.comm	_AVAPP_CTRL_WILL_HTTP_OPEN,4,2  ## @AVAPP_CTRL_WILL_HTTP_OPEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ffio:"

L_.str.1:                               ## @.str.1
	.asciz	"%s%s"

	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"%s %s (%s)\n"

L_.str.3:                               ## @.str.3
	.asciz	"changed"

L_.str.4:                               ## @.str.4
	.asciz	"remain"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.no_dead_strip	_ijkio_urlhook_call_inject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ijkio_urlhook_call_inject
_ijkio_urlhook_call_inject:             ; @ijkio_urlhook_call_inject
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldr	x19, [x0, #8]
	bl	_ijkio_cache_check_interrupt
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _IJKAVERROR_EXIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IJKAVERROR_EXIT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_13
; %bb.4:
	ldr	x21, [x19, #8]
	str	xzr, [x19, #16]
	str	wzr, [x19]
Lloh3:
	adrp	x8, _AVAPP_CTRL_WILL_HTTP_OPEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVAPP_CTRL_WILL_HTTP_OPEN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_av_application_on_io_control
	cbnz	w0, LBB0_1
; %bb.5:
	ldr	x22, [x19, #8]
	ldr	w8, [x22]
	cbz	w8, LBB0_1
; %bb.6:
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x0, [x19, #8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh10:
	adrp	x3, l_.str@PAGE
Lloh11:
	add	x3, x3, l_.str@PAGEOFF
	mov	w1, #8
	mov	x4, x22
	bl	_snprintf
LBB0_8:
	ldr	w8, [x19]
Lloh12:
	adrp	x22, l_.str.3@PAGE
Lloh13:
	add	x22, x22, l_.str.3@PAGEOFF
	cbnz	w8, LBB0_12
; %bb.9:
	ldr	x1, [x19, #8]
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_11
; %bb.10:
	mov	w8, #1
	str	w8, [x19]
Lloh14:
	adrp	x22, l_.str.3@PAGE
Lloh15:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldr	w8, [x19]
Lloh16:
	adrp	x9, l_.str.4@PAGE
Lloh17:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w8, #0
	csel	x22, x9, x22, eq
LBB0_12:
Lloh18:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w3, [x8]
	ldr	x4, [x19, #8]
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	mov	x5, x22
	bl	_av_log
LBB0_13:
	mov	x0, x20
	bl	_ijkio_cache_check_interrupt
	cbz	x0, LBB0_15
; %bb.14:
Lloh23:
	adrp	x8, _IJKAVERROR_EXIT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IJKAVERROR_EXIT@GOTPAGEOFF]
Lloh25:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh26:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
Lloh28:
	ldr	w1, [x9]
	ldr	x8, [x20]
	ldr	w3, [x8]
	ldr	x4, [x19, #8]
	ldr	w8, [x19]
Lloh29:
	adrp	x9, l_.str.3@PAGE
Lloh30:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh31:
	adrp	x10, l_.str.4@PAGE
Lloh32:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	w8, #0
	csel	x5, x10, x9, eq
Lloh33:
	adrp	x2, l_.str.2@PAGE
Lloh34:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_av_log
	b	LBB0_2
LBB0_15:
	mov	w21, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_IJKAVERROR_EXIT,4,2            ; @IJKAVERROR_EXIT
	.comm	_AVAPP_CTRL_WILL_HTTP_OPEN,4,2  ; @AVAPP_CTRL_WILL_HTTP_OPEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ffio:"

l_.str.1:                               ; @.str.1
	.asciz	"%s%s"

	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"%s %s (%s)\n"

l_.str.3:                               ; @.str.3
	.asciz	"changed"

l_.str.4:                               ; @.str.4
	.asciz	"remain"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.no_dead_strip	_ijkio_urlhook_call_inject
.subsections_via_symbols
