	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function some_qdisc_is_busy
_some_qdisc_is_busy:                    ## @some_qdisc_is_busy
	.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
	cmpl	$0, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	xorl	%r12d, %r12d
	movq	___QDISC_STATE_RUNNING@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_netdev_get_tx_queue
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_qdisc_lock
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_spin_lock_bh
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	___QDISC_STATE_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	testq	%rbx, %rbx
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	cmpl	(%r14), %r12d
	jb	LBB0_2
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
LBB0_8:
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___QDISC_STATE_RUNNING,4,2      ## @__QDISC_STATE_RUNNING
	.comm	___QDISC_STATE_SCHED,4,2        ## @__QDISC_STATE_SCHED
	.no_dead_strip	_some_qdisc_is_busy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function some_qdisc_is_busy
_some_qdisc_is_busy:                    ; @some_qdisc_is_busy
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x23, ___QDISC_STATE_RUNNING@GOTPAGE
Lloh1:
	ldr	x23, [x23, ___QDISC_STATE_RUNNING@GOTPAGEOFF]
Lloh2:
	adrp	x24, ___QDISC_STATE_SCHED@GOTPAGE
Lloh3:
	ldr	x24, [x24, ___QDISC_STATE_SCHED@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_netdev_get_tx_queue
	ldr	x22, [x0]
	mov	x0, x22
	bl	_qdisc_lock
	mov	x21, x0
	bl	_spin_lock_bh
	ldr	w0, [x23]
	mov	x1, x22
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	mov	x1, x22
	bl	_test_bit
	mov	x22, x0
	mov	x0, x21
	bl	_spin_unlock_bh
	cbnz	x22, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lo	LBB0_2
LBB0_5:
	mov	w0, #0
	b	LBB0_8
LBB0_6:
	mov	x0, x21
	bl	_spin_unlock_bh
LBB0_7:
	mov	w0, #1
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	___QDISC_STATE_RUNNING,4,2      ; @__QDISC_STATE_RUNNING
	.comm	___QDISC_STATE_SCHED,4,2        ; @__QDISC_STATE_SCHED
	.no_dead_strip	_some_qdisc_is_busy
.subsections_via_symbols
