	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_txq_schedule              ## -- Begin function mt76_txq_schedule
	.p2align	4, 0x90
_mt76_txq_schedule:                     ## @mt76_txq_schedule
	.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
	cmpl	$3, %esi
	ja	LBB0_5
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movl	%esi, %ecx
	cmpl	$3, (%rax,%rcx,4)
	jle	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_ieee80211_txq_schedule_start
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_mt76_txq_schedule_list
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_ieee80211_txq_schedule_end
	testl	%ebx, %ebx
	jg	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76_txq_schedule              ; -- Begin function mt76_txq_schedule
	.p2align	2
_mt76_txq_schedule:                     ; @mt76_txq_schedule
	.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
	cmp	w1, #3
	b.hi	LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8, w1, uxtw #2]
	cmp	w8, #3
	b.le	LBB0_3
LBB0_2:
	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
LBB0_3:
	bl	_rcu_read_lock
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x19
	bl	_ieee80211_txq_schedule_start
	mov	x0, x20
	mov	x1, x19
	bl	_mt76_txq_schedule_list
	mov	x21, x0
	ldr	w0, [x20]
	mov	x1, x19
	bl	_ieee80211_txq_schedule_end
	cmp	w21, #0
	b.gt	LBB0_4
; %bb.5:
	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
	b	_rcu_read_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
