	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_mac_to_hwqueue
__rtl_mac_to_hwqueue:                   ## @_rtl_mac_to_hwqueue
	.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
	movq	%rsi, %r12
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_hal
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_rtl_get_fc
	movl	%eax, %ebx
	movq	%r12, %rdi
	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	_BEACON_QUEUE@GOTPCREL(%rip), %r13
	jmp	LBB0_12
LBB0_2:
	movl	%ebx, %edi
	callq	_ieee80211_is_mgmt
	movq	_MGNT_QUEUE@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	movl	%ebx, %edi
	callq	_ieee80211_is_ctl
	testq	%rax, %rax
	je	LBB0_4
LBB0_12:
	movq	(%r13), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r15), %rax
	movq	_HARDWARE_TYPE_RTL8192SE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	movl	%ebx, %edi
	callq	_ieee80211_is_nullfunc
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_HIGH_QUEUE@GOTPCREL(%rip), %r13
	jmp	LBB0_12
LBB0_7:
	movq	(%r15), %rax
LBB0_8:
	movq	_HARDWARE_TYPE_RTL8822BE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	movq	%r12, %rdi
	callq	_rtl_get_hdr
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_is_multicast_ether_addr
	movq	_HIGH_QUEUE@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:
	movl	(%rbx), %edi
	callq	_is_broadcast_ether_addr
	testq	%rax, %rax
	jne	LBB0_12
LBB0_11:
	movq	_ac_to_hwq@GOTPCREL(%rip), %rax
	shlq	$3, %r14
	addq	(%rax), %r14
	movq	%r14, %r13
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_BEACON_QUEUE,8,3               ## @BEACON_QUEUE
	.comm	_MGNT_QUEUE,8,3                 ## @MGNT_QUEUE
	.comm	_HARDWARE_TYPE_RTL8192SE,8,3    ## @HARDWARE_TYPE_RTL8192SE
	.comm	_HIGH_QUEUE,8,3                 ## @HIGH_QUEUE
	.comm	_HARDWARE_TYPE_RTL8822BE,8,3    ## @HARDWARE_TYPE_RTL8822BE
	.comm	_ac_to_hwq,8,3                  ## @ac_to_hwq
	.no_dead_strip	__rtl_mac_to_hwqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_mac_to_hwqueue
__rtl_mac_to_hwqueue:                   ; @_rtl_mac_to_hwqueue
	.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	x20, x1
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x21, x0
	mov	x0, x20
	bl	_rtl_get_fc
	mov	x22, x0
	mov	x0, x20
	bl	_skb_get_queue_mapping
	mov	x19, x0
	mov	x0, x22
	bl	_ieee80211_is_beacon
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BEACON_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BEACON_QUEUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	x0, x22
	bl	_ieee80211_is_mgmt
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_ieee80211_is_ctl
	cbz	x0, LBB0_6
LBB0_4:
Lloh2:
	adrp	x8, _MGNT_QUEUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MGNT_QUEUE@GOTPAGEOFF]
LBB0_5:
	ldr	x0, [x8]
	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_6:
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _HARDWARE_TYPE_RTL8192SE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HARDWARE_TYPE_RTL8192SE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x22
	bl	_ieee80211_is_nullfunc
	cbnz	x0, LBB0_12
; %bb.8:
	ldr	x8, [x21]
LBB0_9:
Lloh7:
	adrp	x9, _HARDWARE_TYPE_RTL8822BE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HARDWARE_TYPE_RTL8822BE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.10:
	mov	x0, x20
	bl	_rtl_get_hdr
	mov	x20, x0
	ldr	w0, [x0]
	bl	_is_multicast_ether_addr
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	w0, [x20]
	bl	_is_broadcast_ether_addr
	cbz	x0, LBB0_13
LBB0_12:
Lloh10:
	adrp	x8, _HIGH_QUEUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HIGH_QUEUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_13:
Lloh12:
	adrp	x8, _ac_to_hwq@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ac_to_hwq@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	add	x8, x8, x19, lsl #3
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BEACON_QUEUE,8,3               ; @BEACON_QUEUE
	.comm	_MGNT_QUEUE,8,3                 ; @MGNT_QUEUE
	.comm	_HARDWARE_TYPE_RTL8192SE,8,3    ; @HARDWARE_TYPE_RTL8192SE
	.comm	_HIGH_QUEUE,8,3                 ; @HIGH_QUEUE
	.comm	_HARDWARE_TYPE_RTL8822BE,8,3    ; @HARDWARE_TYPE_RTL8822BE
	.comm	_ac_to_hwq,8,3                  ; @ac_to_hwq
	.no_dead_strip	__rtl_mac_to_hwqueue
.subsections_via_symbols
