	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ilclient_disable_tunnel        ## -- Begin function ilclient_disable_tunnel
	.p2align	4, 0x90
_ilclient_disable_tunnel:               ## @ilclient_disable_tunnel
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.2:
	movq	_ILCLIENT_ERROR_UNPOPULATED@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	orl	%edx, (%rax)
	movl	(%r14), %edx
	orl	%edx, (%rcx)
	movl	4(%rax), %edi
	movq	_OMX_CommandPortDisable@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	20(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_OMX_SendCommand
	movq	_OMX_ErrorNone@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	sete	%dil
	callq	_vc_assert
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_OMX_SendCommand
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	sete	%dil
	callq	_vc_assert
	movq	8(%rbx), %rdi
	movl	(%r15), %esi
	movl	20(%rbx), %edx
	callq	_ilclient_wait_for_command_complete
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_vc_assert
LBB0_4:
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	movl	16(%rbx), %edx
	callq	_ilclient_wait_for_command_complete
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	xorl	%edi, %edi
	callq	_vc_assert
LBB0_6:
	movl	(%r14), %eax
	notl	%eax
	movq	8(%rbx), %rcx
	andl	%eax, (%rcx)
	movl	(%r14), %eax
	notl	%eax
	movq	(%rbx), %rcx
	andl	%eax, (%rcx)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ILCLIENT_ERROR_UNPOPULATED,4,2 ## @ILCLIENT_ERROR_UNPOPULATED
	.comm	_OMX_CommandPortDisable,4,2     ## @OMX_CommandPortDisable
	.comm	_OMX_ErrorNone,8,3              ## @OMX_ErrorNone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ilclient_disable_tunnel        ; -- Begin function ilclient_disable_tunnel
	.p2align	2
_ilclient_disable_tunnel:               ; @ilclient_disable_tunnel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0]
	cbz	x9, LBB0_7
; %bb.2:
Lloh0:
	adrp	x20, _ILCLIENT_ERROR_UNPOPULATED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ILCLIENT_ERROR_UNPOPULATED@GOTPAGEOFF]
	ldr	w10, [x20]
	ldp	w11, w0, [x8]
	orr	w10, w11, w10
	str	w10, [x8]
	ldr	w8, [x20]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
Lloh2:
	adrp	x21, _OMX_CommandPortDisable@GOTPAGE
Lloh3:
	ldr	x21, [x21, _OMX_CommandPortDisable@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w2, [x19, #20]
	mov	x3, #0
	bl	_OMX_SendCommand
Lloh4:
	adrp	x22, _OMX_ErrorNone@GOTPAGE
Lloh5:
	ldr	x22, [x22, _OMX_ErrorNone@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_vc_assert
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
	mov	x3, #0
	bl	_OMX_SendCommand
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_vc_assert
	ldr	x0, [x19, #8]
	ldr	w1, [x21]
	ldr	w2, [x19, #20]
	bl	_ilclient_wait_for_command_complete
	tbz	x0, #63, LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_vc_assert
LBB0_4:
	ldr	x0, [x19]
	ldr	w1, [x21]
	ldr	w2, [x19, #16]
	bl	_ilclient_wait_for_command_complete
	tbz	x0, #63, LBB0_6
; %bb.5:
	mov	w0, #0
	bl	_vc_assert
LBB0_6:
	ldr	w8, [x20]
	ldp	x10, x9, [x19]
	ldr	w11, [x9]
	bic	w8, w11, w8
	str	w8, [x9]
	ldr	w8, [x20]
	ldr	w9, [x10]
	bic	w8, w9, w8
	str	w8, [x10]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ILCLIENT_ERROR_UNPOPULATED,4,2 ; @ILCLIENT_ERROR_UNPOPULATED
	.comm	_OMX_CommandPortDisable,4,2     ; @OMX_CommandPortDisable
	.comm	_OMX_ErrorNone,8,3              ; @OMX_ErrorNone
.subsections_via_symbols
