	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8187se_conf_ac_parm
_rtl8187se_conf_ac_parm:                ## @rtl8187se_conf_ac_parm
	.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
	movq	(%rdi), %r14
	movq	16(%r14), %r13
	leaq	(%rsi,%rsi,2), %rbx
	movl	20(%r13,%rbx,8), %edi
	callq	_fls
	movq	%rax, %r15
	movl	16(%r13,%rbx,8), %edi
	callq	_fls
	movslq	(%r13,%rbx,8), %rdi
	movslq	(%r14), %rdx
	movq	8(%r13,%rbx,8), %rsi
	movq	_AC_PARAM_TXOP_LIMIT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rsi
	movq	_AC_PARAM_ECW_MAX_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rax
	imulq	%rdi, %rdx
	addq	$10, %rdx
	movq	_AC_PARAM_ECW_MIN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %r15
	movq	_AC_PARAM_AIFS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rdx
	addq	$-128, %r12
	cmpq	$3, %r12
	ja	LBB0_7
## %bb.1:
	orq	%rsi, %rax
	orq	%r15, %rax
	orq	%rdx, %rax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%r12,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_5:
	movq	8(%r14), %rsi
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%r14), %rsi
	addq	$4, %rsi
	jmp	LBB0_6
LBB0_2:
	movq	8(%r14), %rsi
	addq	$12, %rsi
	jmp	LBB0_6
LBB0_3:
	movq	8(%r14), %rsi
	addq	$8, %rsi
LBB0_6:
	movq	%r14, %rdi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl818x_iowrite32              ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_AC_PARAM_TXOP_LIMIT_SHIFT,8,3  ## @AC_PARAM_TXOP_LIMIT_SHIFT
	.comm	_AC_PARAM_ECW_MAX_SHIFT,8,3     ## @AC_PARAM_ECW_MAX_SHIFT
	.comm	_AC_PARAM_ECW_MIN_SHIFT,8,3     ## @AC_PARAM_ECW_MIN_SHIFT
	.comm	_AC_PARAM_AIFS_SHIFT,8,3        ## @AC_PARAM_AIFS_SHIFT
	.no_dead_strip	_rtl8187se_conf_ac_parm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8187se_conf_ac_parm
_rtl8187se_conf_ac_parm:                ; @rtl8187se_conf_ac_parm
	.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	x21, x1
	ldr	x19, [x0]
	ldr	x8, [x19, #16]
	mov	w9, #24
	madd	x22, x1, x9, x8
	ldr	w0, [x22, #20]
	bl	_fls
	mov	x20, x0
	ldr	w0, [x22, #16]
	bl	_fls
	sub	x8, x21, #128
	cmp	x8, #3
	b.hi	LBB0_3
; %bb.1:
	ldrsw	x9, [x22]
	ldrsw	x10, [x19]
	mul	x9, x10, x9
	add	x9, x9, #10
	ldr	x10, [x22, #8]
Lloh0:
	adrp	x11, _AC_PARAM_TXOP_LIMIT_SHIFT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _AC_PARAM_TXOP_LIMIT_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	lsl	x10, x10, x11
Lloh3:
	adrp	x11, _AC_PARAM_ECW_MAX_SHIFT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _AC_PARAM_ECW_MAX_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	lsl	x11, x0, x11
Lloh6:
	adrp	x12, _AC_PARAM_ECW_MIN_SHIFT@GOTPAGE
Lloh7:
	ldr	x12, [x12, _AC_PARAM_ECW_MIN_SHIFT@GOTPAGEOFF]
	orr	x10, x11, x10
Lloh8:
	ldr	x11, [x12]
	lsl	x11, x20, x11
	orr	x10, x10, x11
Lloh9:
	adrp	x11, _AC_PARAM_AIFS_SHIFT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _AC_PARAM_AIFS_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	lsl	x9, x9, x11
	orr	x2, x10, x9
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x1, [x19, #8]
	b	LBB0_7
LBB0_3:
	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_4:
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19, #8]
	add	x1, x8, #12
	b	LBB0_7
LBB0_6:
	ldr	x8, [x19, #8]
	add	x1, x8, #8
LBB0_7:
	mov	x0, 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	_rtl818x_iowrite32
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_AC_PARAM_TXOP_LIMIT_SHIFT,8,3  ; @AC_PARAM_TXOP_LIMIT_SHIFT
	.comm	_AC_PARAM_ECW_MAX_SHIFT,8,3     ; @AC_PARAM_ECW_MAX_SHIFT
	.comm	_AC_PARAM_ECW_MIN_SHIFT,8,3     ; @AC_PARAM_ECW_MIN_SHIFT
	.comm	_AC_PARAM_AIFS_SHIFT,8,3        ; @AC_PARAM_AIFS_SHIFT
	.no_dead_strip	_rtl8187se_conf_ac_parm
.subsections_via_symbols
