	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_hw_queue_mapping
_rtw_hw_queue_mapping:                  ## @rtw_hw_queue_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movl	(%rax), %ebx
	callq	_skb_get_queue_mapping
	movq	%rax, %r14
	movl	%ebx, %edi
	callq	_ieee80211_is_beacon
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_RTW_TX_QUEUE_BCN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movl	%ebx, %edi
	callq	_ieee80211_is_mgmt
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_ieee80211_is_ctl
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_4:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_RTW_TX_QUEUE_MGMT@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_ac_to_hwq@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpq	%rax, %r14
	setae	%dil
	callq	_WARN_ON_ONCE
	movq	(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_IEEE80211_AC_BE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %rax
	jmp	LBB0_9
LBB0_8:
	leaq	(%rcx,%r14,8), %rax
LBB0_9:
	movq	(%rax), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTW_TX_QUEUE_BCN,8,3           ## @RTW_TX_QUEUE_BCN
	.comm	_RTW_TX_QUEUE_MGMT,8,3          ## @RTW_TX_QUEUE_MGMT
	.comm	_ac_to_hwq,8,3                  ## @ac_to_hwq
	.comm	_IEEE80211_AC_BE,8,3            ## @IEEE80211_AC_BE
	.no_dead_strip	_rtw_hw_queue_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_hw_queue_mapping
_rtw_hw_queue_mapping:                  ; @rtw_hw_queue_mapping
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w20, [x8]
	bl	_skb_get_queue_mapping
	mov	x19, x0
	mov	x0, x20
	bl	_ieee80211_is_beacon
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RTW_TX_QUEUE_BCN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTW_TX_QUEUE_BCN@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x0, x20
	bl	_ieee80211_is_mgmt
	cbz	x0, LBB0_5
; %bb.3:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _RTW_TX_QUEUE_MGMT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RTW_TX_QUEUE_MGMT@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	mov	x0, x20
	bl	_ieee80211_is_ctl
	cmp	x0, #0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_4
LBB0_6:
Lloh4:
	adrp	x20, _ac_to_hwq@GOTPAGE
Lloh5:
	ldr	x20, [x20, _ac_to_hwq@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x19, x0
	cset	w0, hs
	bl	_WARN_ON_ONCE
	ldr	x8, [x20]
	cbz	x0, LBB0_8
; %bb.7:
Lloh6:
	adrp	x9, _IEEE80211_AC_BE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_AC_BE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #3
	b	LBB0_9
LBB0_8:
	add	x8, x8, x19, lsl #3
LBB0_9:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RTW_TX_QUEUE_BCN,8,3           ; @RTW_TX_QUEUE_BCN
	.comm	_RTW_TX_QUEUE_MGMT,8,3          ; @RTW_TX_QUEUE_MGMT
	.comm	_ac_to_hwq,8,3                  ; @ac_to_hwq
	.comm	_IEEE80211_AC_BE,8,3            ; @IEEE80211_AC_BE
	.no_dead_strip	_rtw_hw_queue_mapping
.subsections_via_symbols
