	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_monitor_select_queue
_ieee80211_monitor_select_queue:        ## @ieee80211_monitor_select_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_IEEE80211_DEV_TO_SUB_IF
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_IEEE80211_NUM_ACS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.1:
	movl	(%r14), %r12d
	cmpl	$4, %r12d
	jl	LBB0_3
## %bb.2:
	movq	8(%r14), %r15
	movl	(%r15), %edi
	callq	_le16_to_cpu
	addl	$2, %eax
	cmpl	%eax, %r12d
	jge	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%r14), %r12
	movl	(%r15), %edi
	callq	_le16_to_cpu
	cltq
	leaq	(%r12,%rax,4), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_select_queue_80211   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NUM_ACS,8,3          ## @IEEE80211_NUM_ACS
	.no_dead_strip	_ieee80211_monitor_select_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_monitor_select_queue
_ieee80211_monitor_select_queue:        ; @ieee80211_monitor_select_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, x1
	bl	_IEEE80211_DEV_TO_SUB_IF
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _IEEE80211_NUM_ACS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_NUM_ACS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
	ldr	w22, [x19]
	cmp	w22, #4
	b.lt	LBB0_3
; %bb.2:
	mov	x20, x0
	ldr	x21, [x19, #8]
	ldr	w0, [x21]
	bl	_le16_to_cpu
	add	w8, w0, #2
	cmp	w22, w8
	b.ge	LBB0_4
LBB0_3:
	mov	w0, #0
	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_4:
	ldr	x22, [x19, #8]
	ldr	w0, [x21]
	bl	_le16_to_cpu
	add	x2, x22, w0, sxtw #2
	mov	x0, x20
	mov	x1, 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
	b	_ieee80211_select_queue_80211
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NUM_ACS,8,3          ; @IEEE80211_NUM_ACS
	.no_dead_strip	_ieee80211_monitor_select_queue
.subsections_via_symbols
