	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_select_queue_80211   ## -- Begin function ieee80211_select_queue_80211
	.p2align	4, 0x90
_ieee80211_select_queue_80211:          ## @ieee80211_select_queue_80211
	.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	%rdx, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	_IEEE80211_NUM_ACS@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jl	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rbx), %edi
	callq	_ieee80211_is_data
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	callq	_ieee80211_is_data_qos
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	%rbx, %rdi
	callq	_ieee80211_get_qos_ctl
	movq	_IEEE80211_QOS_CTL_TAG1D_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_downgrade_queue      ## TAILCALL
LBB0_2:
	movl	$7, (%r14)
	movq	_ieee802_1d_to_ac@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	28(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movl	$0, (%r14)
	movq	_ieee802_1d_to_ac@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_NUM_ACS,8,3          ## @IEEE80211_NUM_ACS
	.comm	_ieee802_1d_to_ac,8,3           ## @ieee802_1d_to_ac
	.comm	_IEEE80211_QOS_CTL_TAG1D_MASK,4,2 ## @IEEE80211_QOS_CTL_TAG1D_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_select_queue_80211   ; -- Begin function ieee80211_select_queue_80211
	.p2align	2
_ieee80211_select_queue_80211:          ; @ieee80211_select_queue_80211
	.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
	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.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x2]
	bl	_ieee80211_is_data
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w0, [x21]
	bl	_ieee80211_is_data_qos
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_ieee80211_get_qos_ctl
Lloh3:
	adrp	x8, _IEEE80211_QOS_CTL_TAG1D_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_QOS_CTL_TAG1D_MASK@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w9
	str	w8, [x19]
	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_downgrade_queue
LBB0_5:
	mov	w8, #7
	str	w8, [x19]
Lloh6:
	adrp	x8, _ieee802_1d_to_ac@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ieee802_1d_to_ac@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w0, [x8, #28]
	b	LBB0_7
LBB0_6:
	str	wzr, [x19]
Lloh9:
	adrp	x8, _ieee802_1d_to_ac@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ieee802_1d_to_ac@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w0, [x8]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_NUM_ACS,8,3          ; @IEEE80211_NUM_ACS
	.comm	_ieee802_1d_to_ac,8,3           ; @ieee802_1d_to_ac
	.comm	_IEEE80211_QOS_CTL_TAG1D_MASK,4,2 ; @IEEE80211_QOS_CTL_TAG1D_MASK
.subsections_via_symbols
