	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92cu_init_beacon_parameters
__rtl92cu_init_beacon_parameters:       ## @_rtl92cu_init_beacon_parameters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %r14
	movq	_REG_BCN_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4112, %edx                     ## imm = 0x1010
	callq	_rtl_write_word
	movq	_REG_TBTT_PROHIBIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$25604, %edx                    ## imm = 0x6404
	callq	_rtl_write_word
	movq	_REG_DRVERLYINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRIVER_EARLY_INT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtl_write_byte
	movq	_REG_BCNDMATIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BCN_DMA_ATIME_INT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rtl_write_byte
	movl	(%r14), %edi
	callq	_IS_NORMAL_CHIP
	testq	%rax, %rax
	movq	_REG_BCNTCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$26367, %eax                    ## imm = 0x66FF
	movl	$26127, %edx                    ## imm = 0x660F
	cmovel	%eax, %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtl_write_word                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_BCN_CTRL,4,2               ## @REG_BCN_CTRL
	.comm	_REG_TBTT_PROHIBIT,4,2          ## @REG_TBTT_PROHIBIT
	.comm	_REG_DRVERLYINT,4,2             ## @REG_DRVERLYINT
	.comm	_DRIVER_EARLY_INT_TIME,4,2      ## @DRIVER_EARLY_INT_TIME
	.comm	_REG_BCNDMATIM,4,2              ## @REG_BCNDMATIM
	.comm	_BCN_DMA_ATIME_INT_TIME,4,2     ## @BCN_DMA_ATIME_INT_TIME
	.comm	_REG_BCNTCFG,4,2                ## @REG_BCNTCFG
	.no_dead_strip	__rtl92cu_init_beacon_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92cu_init_beacon_parameters
__rtl92cu_init_beacon_parameters:       ; @_rtl92cu_init_beacon_parameters
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_rtl_priv
	mov	x19, x0
	bl	_rtl_hal
	mov	x20, x0
Lloh0:
	adrp	x8, _REG_BCN_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_BCN_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4112
	bl	_rtl_write_word
Lloh3:
	adrp	x8, _REG_TBTT_PROHIBIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_TBTT_PROHIBIT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #25604
	bl	_rtl_write_word
Lloh6:
	adrp	x8, _REG_DRVERLYINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_DRVERLYINT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _DRIVER_EARLY_INT_TIME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DRIVER_EARLY_INT_TIME@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rtl_write_byte
Lloh12:
	adrp	x8, _REG_BCNDMATIM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_BCNDMATIM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _BCN_DMA_ATIME_INT_TIME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BCN_DMA_ATIME_INT_TIME@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rtl_write_byte
	ldr	w0, [x20]
	bl	_IS_NORMAL_CHIP
Lloh18:
	adrp	x8, _REG_BCNTCFG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REG_BCNTCFG@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	cmp	x0, #0
	mov	w8, #26127
	mov	w9, #26367
	csel	w2, w9, w8, eq
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rtl_write_word
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_BCN_CTRL,4,2               ; @REG_BCN_CTRL
	.comm	_REG_TBTT_PROHIBIT,4,2          ; @REG_TBTT_PROHIBIT
	.comm	_REG_DRVERLYINT,4,2             ; @REG_DRVERLYINT
	.comm	_DRIVER_EARLY_INT_TIME,4,2      ; @DRIVER_EARLY_INT_TIME
	.comm	_REG_BCNDMATIM,4,2              ; @REG_BCNDMATIM
	.comm	_BCN_DMA_ATIME_INT_TIME,4,2     ; @BCN_DMA_ATIME_INT_TIME
	.comm	_REG_BCNTCFG,4,2                ; @REG_BCNTCFG
	.no_dead_strip	__rtl92cu_init_beacon_parameters
.subsections_via_symbols
