	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_get_hal_edca_param         ## -- Begin function rtl_get_hal_edca_param
	.p2align	4, 0x90
_rtl_get_hal_edca_param:                ## @rtl_get_hal_edca_param
	.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	%rcx, %r12
	movl	$10, %r14d
	addl	$-128, %edx
	cmpl	$5, %edx
	ja	LBB0_1
## %bb.2:
	cmpl	$2, %edx
	je	LBB0_4
## %bb.3:
	movl	$9, %r15d
	movl	$16, %r14d
LBB0_5:
	movl	(%r12), %ebx
	movl	12(%r12), %edi
	shll	$16, %ebx
	andl	$134152192, %ebx                ## imm = 0x7FF0000
	callq	_fls
	shll	$12, %eax
	movzwl	%ax, %r13d
	orl	%ebx, %r13d
	movl	8(%r12), %edi
	callq	_fls
	andl	$15, %eax
	shll	$8, %eax
	orl	%r13d, %eax
	movl	4(%r12), %ecx
	andl	$15, %ecx
	imull	%r15d, %ecx
	addl	%r14d, %ecx
	orl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$20, %r15d
	jmp	LBB0_5
LBB0_4:
	cmpl	$0, (%rsi)
	movl	$20, %eax
	movl	$9, %r15d
	cmovel	%eax, %r15d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_get_hal_edca_param         ; -- Begin function rtl_get_hal_edca_param
	.p2align	2
_rtl_get_hal_edca_param:                ; @rtl_get_hal_edca_param
	.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, x3
	sub	w8, w2, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
	cmp	w8, #2
	b.eq	LBB0_4
; %bb.2:
	mov	w20, #9
	mov	w21, #16
	b	LBB0_6
LBB0_3:
	mov	w20, #20
	b	LBB0_5
LBB0_4:
	ldr	w8, [x1]
	mov	w9, #9
	mov	w10, #20
	cmp	w8, #0
	csel	w20, w10, w9, eq
LBB0_5:
	mov	w21, #10
LBB0_6:
	ldr	w8, [x19]
	ubfiz	w22, w8, #16, #11
	ldr	w0, [x19, #12]
	bl	_fls
	bfi	w22, w0, #12, #4
	ldr	w0, [x19, #8]
	bl	_fls
	bfi	w22, w0, #8, #4
	ldr	w8, [x19, #4]
	and	w8, w8, #0xf
	madd	w8, w8, w20, w21
	orr	w0, w22, w8
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
