	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8821ae_dm_edca_choose_traffic_idx
_rtl8821ae_dm_edca_choose_traffic_idx:  ## @rtl8821ae_dm_edca_choose_traffic_idx
	.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	%r8, %r14
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, %r15d
	callq	_rtl_priv
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	shll	$2, %ebx
	cmpl	%r15d, %ebx
	setge	%dl
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	shll	$2, %r15d
	cmpl	%ebx, %r15d
	setl	%dl
	leaq	L_.str.2(%rip), %rsi
LBB0_3:
	leaq	L_.str.1(%rip), %rcx
	cmovlq	%rsi, %rcx
	movzbl	%dl, %edx
	movl	%edx, (%r14)
	movq	_COMP_TURBO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	%rax, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_TURBO,4,2                 ## @COMP_TURBO
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Uplink Traffic\n"

L_.str.1:                               ## @.str.1
	.asciz	"Balance Traffic\n"

L_.str.2:                               ## @.str.2
	.asciz	"Downlink\tTraffic\n"

	.no_dead_strip	_rtl8821ae_dm_edca_choose_traffic_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8821ae_dm_edca_choose_traffic_idx
_rtl8821ae_dm_edca_choose_traffic_idx:  ; @rtl8821ae_dm_edca_choose_traffic_idx
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	bl	_rtl_priv
	lsl	w8, w22, #2
	cmp	w8, w21
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	cset	w9, lt
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	csel	x10, x10, x8, lt
	lsl	w11, w21, #2
	cmp	w11, w22
	cset	w11, ge
Lloh4:
	adrp	x12, l_.str@PAGE
Lloh5:
	add	x12, x12, l_.str@PAGEOFF
	csel	x8, x12, x8, lt
	cmp	w20, #0
	csel	w9, w9, w11, eq
	csel	x3, x10, x8, eq
	str	w9, [x19]
Lloh6:
	adrp	x8, _COMP_TURBO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COMP_TURBO@GOTPAGEOFF]
Lloh8:
	adrp	x9, _DBG_LOUD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DBG_LOUD@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w2, [x9]
	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	_RT_TRACE
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_TURBO,4,2                 ; @COMP_TURBO
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Uplink Traffic\n"

l_.str.1:                               ; @.str.1
	.asciz	"Balance Traffic\n"

l_.str.2:                               ; @.str.2
	.asciz	"Downlink\tTraffic\n"

	.no_dead_strip	_rtl8821ae_dm_edca_choose_traffic_idx
.subsections_via_symbols
