	.file	"extr_hw.c_ath_hw_setbssidmask.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ath_hw_setbssidmask
	.type	ath_hw_setbssidmask, @function
ath_hw_setbssidmask:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	r12, QWORD PTR 16[rdi]
	mov	rdi, QWORD PTR 8[rdi]
	call	get_unaligned_le32@PLT
	mov	esi, DWORD PTR AR_STA_ID0[rip]
	mov	rdi, r12
	mov	edx, eax
	call	REG_WRITE@PLT
	mov	esi, DWORD PTR AR_STA_ID1[rip]
	mov	rdi, r12
	call	REG_READ@PLT
	mov	ebp, DWORD PTR AR_STA_ID1_SADH_MASK[rip]
	not	ebp
	and	ebp, eax
	mov	rax, QWORD PTR 8[rbx]
	lea	rdi, 4[rax]
	call	get_unaligned_le16@PLT
	mov	esi, DWORD PTR AR_STA_ID1[rip]
	mov	edx, ebp
	mov	rdi, r12
	or	edx, eax
	call	REG_WRITE@PLT
	mov	rdi, QWORD PTR [rbx]
	call	get_unaligned_le32@PLT
	mov	esi, DWORD PTR AR_BSSMSKL[rip]
	mov	rdi, r12
	mov	edx, eax
	call	REG_WRITE@PLT
	mov	rdi, QWORD PTR [rbx]
	add	rdi, 4
	call	get_unaligned_le16@PLT
	mov	esi, DWORD PTR AR_BSSMSKU[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	edx, eax
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	REG_WRITE@PLT
	.cfi_endproc
.LFE0:
	.size	ath_hw_setbssidmask, .-ath_hw_setbssidmask
	.comm	AR_STA_ID1_SADH_MASK,4,4
	.comm	AR_STA_ID1,4,4
	.comm	AR_STA_ID0,4,4
	.comm	AR_BSSMSKU,4,4
	.comm	AR_BSSMSKL,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_hw.c_ath_hw_setbssidmask.c"
	.text
	.align	2
	.global	ath_hw_setbssidmask
	.syntax unified
	.arm
	.fpu softvfp
	.type	ath_hw_setbssidmask, %function
ath_hw_setbssidmask:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldmib	r0, {r0, r5}
	ldr	r6, [r3]
	bl	get_unaligned_le32
	ldr	r7, .L4+4
	mov	r2, r0
	mov	r1, r6
	mov	r0, r5
	bl	REG_WRITE
	ldr	r1, [r7]
	mov	r0, r5
	bl	REG_READ
	mov	r6, r0
	ldr	r3, .L4+8
	ldr	r0, [r4, #4]
	ldr	r2, [r3]
	add	r0, r0, #4
	bic	r6, r6, r2
	bl	get_unaligned_le16
	ldr	r1, [r7]
	orr	r2, r6, r0
	mov	r0, r5
	bl	REG_WRITE
	ldr	r3, .L4+12
	ldr	r0, [r4]
	ldr	r6, [r3]
	bl	get_unaligned_le32
	mov	r1, r6
	mov	r2, r0
	mov	r0, r5
	bl	REG_WRITE
	ldr	r0, [r4]
	ldr	r3, .L4+16
	add	r0, r0, #4
	ldr	r4, [r3]
	bl	get_unaligned_le16
	mov	r1, r4
	mov	r2, r0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	REG_WRITE
.L5:
	.align	2
.L4:
	.word	AR_STA_ID0
	.word	AR_STA_ID1
	.word	AR_STA_ID1_SADH_MASK
	.word	AR_BSSMSKL
	.word	AR_BSSMSKU
	.size	ath_hw_setbssidmask, .-ath_hw_setbssidmask
	.comm	AR_STA_ID1_SADH_MASK,4,4
	.comm	AR_STA_ID1,4,4
	.comm	AR_STA_ID0,4,4
	.comm	AR_BSSMSKU,4,4
	.comm	AR_BSSMSKL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
