	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92se_hw_configure
__rtl92se_hw_configure:                 ## @_rtl92se_hw_configure
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_BW_OPMODE_20MHZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_RATE_ALL_CCK@GOTPCREL(%rip), %rax
	movq	_RATE_ALL_OFDM_AG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movq	_INIRTSMCS_SEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_rtl_read_byte
	shll	$8, %r14d
	andl	$268435200, %r14d               ## imm = 0xFFFFF00
	orl	%eax, %r14d
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_rtl_write_dword
	movq	_BW_OPMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_rtl_write_byte
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_RETRY_LIMIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*(%rax)
	movq	_MLT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$143, %edx
	callq	_rtl_write_byte
	movl	8(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_4
## %bb.1:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	$-130, %eax
	cmpl	$2, %eax
	jae	LBB0_2
## %bb.3:
	movq	_MAX_MSS_DENSITY_1T@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$3, %edx
	movl	%edx, (%rcx)
	jmp	LBB0_5
LBB0_4:
	movq	_MAX_MSS_DENSITY_2T@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$3, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, (%rax)
	jmp	LBB0_5
LBB0_2:
	movl	(%rcx), %edx
LBB0_5:
	movq	_AMPDU_MIN_SPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BW_OPMODE_20MHZ,4,2            ## @BW_OPMODE_20MHZ
	.comm	_RATE_ALL_CCK,4,2               ## @RATE_ALL_CCK
	.comm	_RATE_ALL_OFDM_AG,4,2           ## @RATE_ALL_OFDM_AG
	.comm	_INIRTSMCS_SEL,4,2              ## @INIRTSMCS_SEL
	.comm	_BW_OPMODE,4,2                  ## @BW_OPMODE
	.comm	_HW_VAR_RETRY_LIMIT,4,2         ## @HW_VAR_RETRY_LIMIT
	.comm	_MLT,4,2                        ## @MLT
	.comm	_MAX_MSS_DENSITY_1T,4,2         ## @MAX_MSS_DENSITY_1T
	.comm	_MAX_MSS_DENSITY_2T,4,2         ## @MAX_MSS_DENSITY_2T
	.comm	_AMPDU_MIN_SPACE,4,2            ## @AMPDU_MIN_SPACE
	.no_dead_strip	__rtl92se_hw_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92se_hw_configure
__rtl92se_hw_configure:                 ; @_rtl92se_hw_configure
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x21
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x22, x0
	mov	x0, x21
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x20, x0
Lloh0:
	adrp	x8, _BW_OPMODE_20MHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BW_OPMODE_20MHZ@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _RATE_ALL_CCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RATE_ALL_CCK@GOTPAGEOFF]
Lloh5:
	adrp	x9, _RATE_ALL_OFDM_AG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RATE_ALL_OFDM_AG@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	orr	w24, w9, w8
Lloh9:
	adrp	x25, _INIRTSMCS_SEL@GOTPAGE
Lloh10:
	ldr	x25, [x25, _INIRTSMCS_SEL@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_rtl_read_byte
	ubfiz	w8, w24, #8, #20
	orr	w2, w8, w0
	ldr	w1, [x25]
	mov	x0, x19
	bl	_rtl_write_dword
Lloh11:
	adrp	x8, _BW_OPMODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BW_OPMODE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x23
	bl	_rtl_write_byte
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _HW_VAR_RETRY_LIMIT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _HW_VAR_RETRY_LIMIT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x9]
	mov	x0, x21
	mov	x2, x22
	blr	x8
Lloh17:
	adrp	x8, _MLT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MLT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #143
	bl	_rtl_write_byte
	ldr	w8, [x19, #8]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_3
; %bb.1:
	sub	w8, w8, #130
	cmp	w8, #2
	b.hs	LBB0_5
; %bb.2:
Lloh20:
	adrp	x8, _MAX_MSS_DENSITY_1T@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAX_MSS_DENSITY_1T@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh22:
	adrp	x8, _MAX_MSS_DENSITY_2T@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MAX_MSS_DENSITY_2T@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	lsl	w2, w8, #3
	str	w2, [x20]
	b	LBB0_6
LBB0_5:
	ldr	w2, [x20]
LBB0_6:
Lloh24:
	adrp	x8, _AMPDU_MIN_SPACE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AMPDU_MIN_SPACE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_rtl_write_byte
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_BW_OPMODE_20MHZ,4,2            ; @BW_OPMODE_20MHZ
	.comm	_RATE_ALL_CCK,4,2               ; @RATE_ALL_CCK
	.comm	_RATE_ALL_OFDM_AG,4,2           ; @RATE_ALL_OFDM_AG
	.comm	_INIRTSMCS_SEL,4,2              ; @INIRTSMCS_SEL
	.comm	_BW_OPMODE,4,2                  ; @BW_OPMODE
	.comm	_HW_VAR_RETRY_LIMIT,4,2         ; @HW_VAR_RETRY_LIMIT
	.comm	_MLT,4,2                        ; @MLT
	.comm	_MAX_MSS_DENSITY_1T,4,2         ; @MAX_MSS_DENSITY_1T
	.comm	_MAX_MSS_DENSITY_2T,4,2         ; @MAX_MSS_DENSITY_2T
	.comm	_AMPDU_MIN_SPACE,4,2            ; @AMPDU_MIN_SPACE
	.no_dead_strip	__rtl92se_hw_configure
.subsections_via_symbols
