	.file	"extr_hw.c_rtl92de_set_beacon_related_registers.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rtl92de_set_beacon_related_registers
	.type	rtl92de_set_beacon_related_registers, @function
rtl92de_set_beacon_related_registers:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	rtl_priv@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	rtl_priv@PLT
	mov	rdi, rax
	call	rtl_mac@PLT
	mov	esi, DWORD PTR REG_ATIMWND[rip]
	mov	edx, 2
	mov	rdi, rbp
	mov	r12d, DWORD PTR [rax]
	call	rtl_write_word@PLT
	mov	esi, DWORD PTR REG_BCN_INTERVAL[rip]
	mov	rdi, rbp
	mov	edx, r12d
	call	rtl_write_word@PLT
	mov	esi, DWORD PTR REG_BCNTCFG[rip]
	mov	edx, 26127
	mov	rdi, rbp
	call	rtl_write_word@PLT
	mov	esi, DWORD PTR REG_RXTSF_OFFSET_CCK[rip]
	mov	edx, 32
	mov	rdi, rbp
	call	rtl_write_byte@PLT
	mov	rax, QWORD PTR BAND_ON_5G[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L6
	mov	esi, DWORD PTR REG_RXTSF_OFFSET_OFDM[rip]
	mov	edx, 32
	mov	rdi, rbp
	call	rtl_write_byte@PLT
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	edx, 48
	mov	esi, 1542
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	rtl_write_byte@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, DWORD PTR REG_RXTSF_OFFSET_OFDM[rip]
	mov	edx, 48
	mov	rdi, rbp
	call	rtl_write_byte@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	rtl92de_set_beacon_related_registers, .-rtl92de_set_beacon_related_registers
	.comm	REG_RXTSF_OFFSET_OFDM,4,4
	.comm	REG_RXTSF_OFFSET_CCK,4,4
	.comm	REG_BCN_INTERVAL,4,4
	.comm	REG_BCNTCFG,4,4
	.comm	REG_ATIMWND,4,4
	.comm	BAND_ON_5G,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hw.c_rtl92de_set_beacon_related_registers.c"
	.text
	.align	2
	.global	rtl92de_set_beacon_related_registers
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl92de_set_beacon_related_registers, %function
rtl92de_set_beacon_related_registers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	rtl_priv
	mov	r4, r0
	mov	r0, r5
	bl	rtl_priv
	bl	rtl_mac
	mov	r3, r0
	ldr	r2, .L6
	mov	r0, r4
	ldr	r1, [r2]
	mov	r2, #2
	ldr	r5, [r3]
	bl	rtl_write_word
	ldr	r3, .L6+4
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	rtl_write_word
	ldr	r3, .L6+8
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, .L6+12
	bl	rtl_write_word
	ldr	r3, .L6+16
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #32
	bl	rtl_write_byte
	ldr	r3, .L6+20
	ldr	r2, [r4]
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r2, r3
	ldr	r3, .L6+24
	moveq	r2, #48
	movne	r2, #32
	ldr	r1, [r3]
	bl	rtl_write_byte
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r2, #48
	ldr	r1, .L6+28
	b	rtl_write_byte
.L7:
	.align	2
.L6:
	.word	REG_ATIMWND
	.word	REG_BCN_INTERVAL
	.word	REG_BCNTCFG
	.word	26127
	.word	REG_RXTSF_OFFSET_CCK
	.word	BAND_ON_5G
	.word	REG_RXTSF_OFFSET_OFDM
	.word	1542
	.size	rtl92de_set_beacon_related_registers, .-rtl92de_set_beacon_related_registers
	.comm	REG_RXTSF_OFFSET_OFDM,4,4
	.comm	REG_RXTSF_OFFSET_CCK,4,4
	.comm	REG_BCN_INTERVAL,4,4
	.comm	REG_BCNTCFG,4,4
	.comm	REG_ATIMWND,4,4
	.comm	BAND_ON_5G,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
