	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_hw_setbssidmask            ## -- Begin function ath_hw_setbssidmask
	.p2align	4, 0x90
_ath_hw_setbssidmask:                   ## @ath_hw_setbssidmask
	.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, %r12
	movq	8(%rdi), %rdi
	movq	16(%r12), %r14
	movq	_AR_STA_ID0@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_get_unaligned_le32
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_REG_WRITE
	movq	_AR_STA_ID1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_REG_READ
	movq	_AR_STA_ID1_SADH_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	8(%r12), %rdi
	addq	$4, %rdi
	callq	_get_unaligned_le16
	orl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_REG_WRITE
	movq	_AR_BSSMSKL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r12), %rdi
	callq	_get_unaligned_le32
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_REG_WRITE
	movq	_AR_BSSMSKU@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r12), %rdi
	addq	$4, %rdi
	callq	_get_unaligned_le16
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_WRITE                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AR_STA_ID0,4,2                 ## @AR_STA_ID0
	.comm	_AR_STA_ID1,4,2                 ## @AR_STA_ID1
	.comm	_AR_STA_ID1_SADH_MASK,4,2       ## @AR_STA_ID1_SADH_MASK
	.comm	_AR_BSSMSKL,4,2                 ## @AR_BSSMSKL
	.comm	_AR_BSSMSKU,4,2                 ## @AR_BSSMSKU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_hw_setbssidmask            ; -- Begin function ath_hw_setbssidmask
	.p2align	2
_ath_hw_setbssidmask:                   ; @ath_hw_setbssidmask
	.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	x20, x0
Lloh0:
	adrp	x8, _AR_STA_ID0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AR_STA_ID0@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldp	x0, x19, [x0, #8]
	bl	_get_unaligned_le32
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_REG_WRITE
Lloh3:
	adrp	x21, _AR_STA_ID1@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AR_STA_ID1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_REG_READ
Lloh5:
	adrp	x8, _AR_STA_ID1_SADH_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR_STA_ID1_SADH_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	bic	w22, w0, w8
	ldr	x8, [x20, #8]
	add	x0, x8, #4
	bl	_get_unaligned_le16
	orr	w2, w0, w22
	ldr	w1, [x21]
	mov	x0, x19
	bl	_REG_WRITE
Lloh8:
	adrp	x8, _AR_BSSMSKL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AR_BSSMSKL@GOTPAGEOFF]
Lloh10:
	ldr	w21, [x8]
	ldr	x0, [x20]
	bl	_get_unaligned_le32
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_REG_WRITE
Lloh11:
	adrp	x8, _AR_BSSMSKU@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AR_BSSMSKU@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_get_unaligned_le16
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	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	_REG_WRITE
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AR_STA_ID0,4,2                 ; @AR_STA_ID0
	.comm	_AR_STA_ID1,4,2                 ; @AR_STA_ID1
	.comm	_AR_STA_ID1_SADH_MASK,4,2       ; @AR_STA_ID1_SADH_MASK
	.comm	_AR_BSSMSKL,4,2                 ; @AR_BSSMSKL
	.comm	_AR_BSSMSKU,4,2                 ; @AR_BSSMSKU
.subsections_via_symbols
