	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tap_disable_queue
_tap_disable_queue:                     ## @tap_disable_queue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movl	8(%r14), %edi
	callq	_rtnl_dereference
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r15
	movslq	4(%r14), %rbx
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setge	%dil
	callq	_BUG_ON
	movq	8(%r15), %rax
	movslq	(%r15), %rcx
	movl	-4(%rax,%rcx,4), %edi
	callq	_rtnl_dereference
	movl	%ebx, 4(%rax)
	movq	8(%r15), %rcx
	movl	(%rcx,%rbx,4), %edi
	movq	%rax, %rsi
	callq	_rcu_assign_pointer
	movq	8(%r15), %rax
	movslq	(%r15), %rcx
	movl	-4(%rax,%rcx,4), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_RCU_INIT_POINTER
	movl	$0, (%r14)
	decl	(%r15)
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tap_disable_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tap_disable_queue
_tap_disable_queue:                     ; @tap_disable_queue
	.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
	mov	x19, x0
	bl	_ASSERT_RTNL
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_rtnl_dereference
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	ldrsw	x21, [x19, #4]
	ldr	w8, [x0]
	cmp	w21, w8
	cset	w0, ge
	bl	_BUG_ON
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	bl	_rtnl_dereference
	mov	x1, x0
	str	w21, [x0, #4]
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x21, lsl #2]
	bl	_rcu_assign_pointer
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	mov	x1, #0
	bl	_RCU_INIT_POINTER
	mov	w0, #0
	str	wzr, [x19]
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tap_disable_queue
.subsections_via_symbols
