	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92se_set_beacon_related_registers ## -- Begin function rtl92se_set_beacon_related_registers
	.p2align	4, 0x90
_rtl92se_set_beacon_related_registers:  ## @rtl92se_set_beacon_related_registers
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %r15
	movq	_ATIMWND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_rtl_write_word
	movq	_BCN_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_rtl_write_word
	movq	_BCN_DRV_EARLY_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$160, %edx
	callq	_rtl_write_word
	movq	_BCN_DMATIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$256, %edx                      ## imm = 0x100
	callq	_rtl_write_word
	movq	_BCN_ERR_THRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$100, %edx
	callq	_rtl_write_byte
	movl	(%r15), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl92s_phy_set_beacon_hwreg    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATIMWND,4,2                    ## @ATIMWND
	.comm	_BCN_INTERVAL,4,2               ## @BCN_INTERVAL
	.comm	_BCN_DRV_EARLY_INT,4,2          ## @BCN_DRV_EARLY_INT
	.comm	_BCN_DMATIME,4,2                ## @BCN_DMATIME
	.comm	_BCN_ERR_THRESH,4,2             ## @BCN_ERR_THRESH
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_BCN_TCFG_CW_SHIFT,4,2          ## @BCN_TCFG_CW_SHIFT
	.comm	_BCN_TCFG_IFS,4,2               ## @BCN_TCFG_IFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92se_set_beacon_related_registers ; -- Begin function rtl92se_set_beacon_related_registers
	.p2align	2
_rtl92se_set_beacon_related_registers:  ; @rtl92se_set_beacon_related_registers
	.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, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x21, x0
Lloh0:
	adrp	x8, _ATIMWND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATIMWND@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #2
	bl	_rtl_write_word
Lloh3:
	adrp	x8, _BCN_INTERVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BCN_INTERVAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_rtl_write_word
Lloh6:
	adrp	x8, _BCN_DRV_EARLY_INT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BCN_DRV_EARLY_INT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #160
	bl	_rtl_write_word
Lloh9:
	adrp	x8, _BCN_DMATIME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BCN_DMATIME@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #256
	bl	_rtl_write_word
Lloh12:
	adrp	x8, _BCN_ERR_THRESH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BCN_ERR_THRESH@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #100
	bl	_rtl_write_byte
	ldr	w1, [x21]
	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	_rtl92s_phy_set_beacon_hwreg
	.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	_ATIMWND,4,2                    ; @ATIMWND
	.comm	_BCN_INTERVAL,4,2               ; @BCN_INTERVAL
	.comm	_BCN_DRV_EARLY_INT,4,2          ; @BCN_DRV_EARLY_INT
	.comm	_BCN_DMATIME,4,2                ; @BCN_DMATIME
	.comm	_BCN_ERR_THRESH,4,2             ; @BCN_ERR_THRESH
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_BCN_TCFG_CW_SHIFT,4,2          ; @BCN_TCFG_CW_SHIFT
	.comm	_BCN_TCFG_IFS,4,2               ; @BCN_TCFG_IFS
.subsections_via_symbols
