	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_graft_qdisc                ## -- Begin function dev_graft_qdisc
	.p2align	4, 0x90
_dev_graft_qdisc:                       ## @dev_graft_qdisc
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_qdisc_lock
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_spin_lock_bh
	testq	%r12, %r12
	je	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_atomic_read
	cmpl	$1, %eax
	jg	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_qdisc_reset
LBB0_3:
	testq	%rbx, %rbx
	movq	_noop_qdisc@GOTPCREL(%rip), %rsi
	cmoveq	%rsi, %rbx
	movq	%rbx, 8(%r15)
	movl	(%r15), %edi
	callq	_rcu_assign_pointer
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_noop_qdisc,4,2                 ## @noop_qdisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dev_graft_qdisc                ; -- Begin function dev_graft_qdisc
	.p2align	2
_dev_graft_qdisc:                       ; @dev_graft_qdisc
	.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	x22, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_qdisc_lock
	mov	x20, x0
	bl	_spin_lock_bh
	cbz	x19, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_atomic_read
	cmp	w0, #1
	b.gt	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_qdisc_reset
LBB0_3:
Lloh0:
	adrp	x1, _noop_qdisc@GOTPAGE
Lloh1:
	ldr	x1, [x1, _noop_qdisc@GOTPAGEOFF]
	cmp	x22, #0
	csel	x8, x1, x22, eq
	str	x8, [x21, #8]
	ldr	w0, [x21]
	bl	_rcu_assign_pointer
	mov	x0, x20
	bl	_spin_unlock_bh
	mov	x0, x19
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_noop_qdisc,4,2                 ; @noop_qdisc
.subsections_via_symbols
