	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl88ee_set_beacon_related_registers ## -- Begin function rtl88ee_set_beacon_related_registers
	.p2align	4, 0x90
_rtl88ee_set_beacon_related_registers:  ## @rtl88ee_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	%rax, %r14
	movl	(%r12), %r12d
	movq	%rbx, %rdi
	callq	_rtl88ee_disable_interrupt
	movq	_REG_ATIMWND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_rtl_write_word
	movq	_REG_BCN_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_rtl_write_word
	movq	_REG_BCNTCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$26127, %edx                    ## imm = 0x660F
	callq	_rtl_write_word
	movq	_REG_RXTSF_OFFSET_CCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$24, %edx
	callq	_rtl_write_byte
	movq	_REG_RXTSF_OFFSET_OFDM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$24, %edx
	callq	_rtl_write_byte
	movq	%r15, %rdi
	movl	$1542, %esi                     ## imm = 0x606
	movl	$48, %edx
	callq	_rtl_write_byte
	movl	$3, %edi
	callq	_BIT
	orq	(%r14), %rax
	movq	%rax, (%r14)
	movq	_REG_BCN_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_ATIMWND,4,2                ## @REG_ATIMWND
	.comm	_REG_BCN_INTERVAL,4,2           ## @REG_BCN_INTERVAL
	.comm	_REG_BCNTCFG,4,2                ## @REG_BCNTCFG
	.comm	_REG_RXTSF_OFFSET_CCK,4,2       ## @REG_RXTSF_OFFSET_CCK
	.comm	_REG_RXTSF_OFFSET_OFDM,4,2      ## @REG_RXTSF_OFFSET_OFDM
	.comm	_REG_BCN_CTRL,4,2               ## @REG_BCN_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl88ee_set_beacon_related_registers ; -- Begin function rtl88ee_set_beacon_related_registers
	.p2align	2
_rtl88ee_set_beacon_related_registers:  ; @rtl88ee_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	x21, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x21
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x22, x0
	mov	x0, x21
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x20, x0
	ldr	w22, [x22]
	mov	x0, x21
	bl	_rtl88ee_disable_interrupt
Lloh0:
	adrp	x8, _REG_ATIMWND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_ATIMWND@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_rtl_write_word
Lloh3:
	adrp	x8, _REG_BCN_INTERVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_BCN_INTERVAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_rtl_write_word
Lloh6:
	adrp	x8, _REG_BCNTCFG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_BCNTCFG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #26127
	bl	_rtl_write_word
Lloh9:
	adrp	x8, _REG_RXTSF_OFFSET_CCK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_RXTSF_OFFSET_CCK@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #24
	bl	_rtl_write_byte
Lloh12:
	adrp	x8, _REG_RXTSF_OFFSET_OFDM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_RXTSF_OFFSET_OFDM@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #24
	bl	_rtl_write_byte
	mov	x0, x19
	mov	w1, #1542
	mov	w2, #48
	bl	_rtl_write_byte
	mov	w0, #3
	bl	_BIT
	ldr	x8, [x20]
	orr	x2, x8, x0
	str	x2, [x20]
Lloh15:
	adrp	x8, _REG_BCN_CTRL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_BCN_CTRL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	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	_rtl_write_byte
	.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_ATIMWND,4,2                ; @REG_ATIMWND
	.comm	_REG_BCN_INTERVAL,4,2           ; @REG_BCN_INTERVAL
	.comm	_REG_BCNTCFG,4,2                ; @REG_BCNTCFG
	.comm	_REG_RXTSF_OFFSET_CCK,4,2       ; @REG_RXTSF_OFFSET_CCK
	.comm	_REG_RXTSF_OFFSET_OFDM,4,2      ; @REG_RXTSF_OFFSET_OFDM
	.comm	_REG_BCN_CTRL,4,2               ; @REG_BCN_CTRL
.subsections_via_symbols
