	.file	"extr_main.c_b43_mgmtframe_txantenna.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	b43_mgmtframe_txantenna, @function
b43_mgmtframe_txantenna:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	b43_antenna_to_phyctl@PLT
	mov	edx, DWORD PTR B43_SHM_SH_ACKCTSPHYCTL[rip]
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	rdi, rbp
	mov	ebx, eax
	call	b43_shm_read16@PLT
	mov	edx, DWORD PTR B43_SHM_SH_ACKCTSPHYCTL[rip]
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	rdi, rbp
	mov	r8d, eax
	mov	eax, DWORD PTR B43_TXH_PHY_ANT[rip]
	not	eax
	and	eax, r8d
	or	eax, ebx
	mov	ecx, eax
	call	b43_shm_write16@PLT
	mov	edx, DWORD PTR B43_SHM_SH_PRPHYCTL[rip]
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	rdi, rbp
	call	b43_shm_read16@PLT
	mov	edx, DWORD PTR B43_SHM_SH_PRPHYCTL[rip]
	mov	esi, DWORD PTR B43_SHM_SHARED[rip]
	mov	rdi, rbp
	mov	r8d, eax
	mov	eax, DWORD PTR B43_TXH_PHY_ANT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	not	eax
	and	eax, r8d
	or	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	ecx, eax
	jmp	b43_shm_write16@PLT
	.cfi_endproc
.LFE0:
	.size	b43_mgmtframe_txantenna, .-b43_mgmtframe_txantenna
	.comm	B43_TXH_PHY_ANT,4,4
	.comm	B43_SHM_SH_PRPHYCTL,4,4
	.comm	B43_SHM_SH_ACKCTSPHYCTL,4,4
	.comm	B43_SHM_SHARED,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_main.c_b43_mgmtframe_txantenna.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b43_mgmtframe_txantenna, %function
b43_mgmtframe_txantenna:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r1
	bl	b43_antenna_to_phyctl
	ldr	r5, .L4
	ldr	r7, .L4+4
	mov	r6, r0
	ldr	r2, [r7]
	ldr	r1, [r5]
	mov	r0, r4
	bl	b43_shm_read16
	ldr	r8, .L4+8
	ldr	r2, [r7]
	ldr	r3, [r8]
	ldr	r7, .L4+12
	bic	r3, r0, r3
	orr	r3, r3, r6
	ldr	r1, [r5]
	mov	r0, r4
	bl	b43_shm_write16
	ldr	r1, [r5]
	ldr	r2, [r7]
	mov	r0, r4
	bl	b43_shm_read16
	mov	r3, r0
	ldr	r2, [r8]
	mov	r0, r4
	bic	r3, r3, r2
	ldr	r1, [r5]
	ldr	r2, [r7]
	orr	r3, r3, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	b43_shm_write16
.L5:
	.align	2
.L4:
	.word	B43_SHM_SHARED
	.word	B43_SHM_SH_ACKCTSPHYCTL
	.word	B43_TXH_PHY_ANT
	.word	B43_SHM_SH_PRPHYCTL
	.size	b43_mgmtframe_txantenna, .-b43_mgmtframe_txantenna
	.comm	B43_TXH_PHY_ANT,4,4
	.comm	B43_SHM_SH_PRPHYCTL,4,4
	.comm	B43_SHM_SH_ACKCTSPHYCTL,4,4
	.comm	B43_SHM_SHARED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
