	.file	"extr_r8180_core.c_rtl8180_start_tx_beacon.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Enabling beacon TX"
	.text
	.p2align 4
	.globl	rtl8180_start_tx_beacon
	.type	rtl8180_start_tx_beacon, @function
rtl8180_start_tx_beacon:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	call	DMESG@PLT
	mov	rdi, rbp
	call	rtl8180_prepare_beacon@PLT
	mov	rdi, rbp
	call	rtl8180_irq_disable@PLT
	mov	rdi, rbp
	call	rtl8180_beacon_tx_enable@PLT
	mov	esi, DWORD PTR AtimWnd[rip]
	mov	rdi, rbp
	call	read_nic_word@PLT
	mov	edx, DWORD PTR AtimWnd_AtimWnd[rip]
	mov	esi, DWORD PTR AtimWnd[rip]
	mov	rdi, rbp
	not	edx
	and	edx, eax
	call	write_nic_word@PLT
	mov	esi, DWORD PTR BintrItv[rip]
	mov	rdi, rbp
	call	read_nic_word@PLT
	mov	esi, DWORD PTR BintrItv[rip]
	mov	rdi, rbp
	mov	r8d, eax
	mov	eax, DWORD PTR BintrItv_BintrItv[rip]
	not	eax
	and	eax, r8d
	or	eax, 1000
	mov	edx, eax
	call	write_nic_word@PLT
	mov	esi, DWORD PTR EPROM_CMD_NORMAL[rip]
	mov	rdi, rbp
	call	rtl8180_set_mode@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	rtl8185b_irq_enable@PLT
	.cfi_endproc
.LFE0:
	.size	rtl8180_start_tx_beacon, .-rtl8180_start_tx_beacon
	.comm	EPROM_CMD_NORMAL,4,4
	.comm	BintrItv_BintrItv,4,4
	.comm	BintrItv,4,4
	.comm	AtimWnd_AtimWnd,4,4
	.comm	AtimWnd,4,4
	.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_r8180_core.c_rtl8180_start_tx_beacon.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Enabling beacon TX\000"
	.text
	.align	2
	.global	rtl8180_start_tx_beacon
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl8180_start_tx_beacon, %function
rtl8180_start_tx_beacon:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, .L4
	bl	DMESG
	mov	r0, r4
	bl	rtl8180_prepare_beacon
	ldr	r6, .L4+4
	mov	r0, r4
	bl	rtl8180_irq_disable
	mov	r0, r4
	bl	rtl8180_beacon_tx_enable
	ldr	r1, [r6]
	mov	r0, r4
	bl	read_nic_word
	ldr	r3, .L4+8
	ldr	r5, .L4+12
	ldr	r2, [r3]
	ldr	r1, [r6]
	bic	r2, r0, r2
	mov	r0, r4
	bl	write_nic_word
	ldr	r1, [r5]
	mov	r0, r4
	bl	read_nic_word
	mov	r2, r0
	ldr	r3, .L4+16
	ldr	r1, [r5]
	ldr	r3, [r3]
	mov	r0, r4
	bic	r2, r2, r3
	orr	r2, r2, #1000
	bl	write_nic_word
	ldr	r3, .L4+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	rtl8180_set_mode
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	rtl8185b_irq_enable
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	AtimWnd
	.word	AtimWnd_AtimWnd
	.word	BintrItv
	.word	BintrItv_BintrItv
	.word	EPROM_CMD_NORMAL
	.size	rtl8180_start_tx_beacon, .-rtl8180_start_tx_beacon
	.comm	EPROM_CMD_NORMAL,4,4
	.comm	BintrItv_BintrItv,4,4
	.comm	BintrItv,4,4
	.comm	AtimWnd_AtimWnd,4,4
	.comm	AtimWnd,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
