	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_hw_set_lladdr            ## -- Begin function ath5k_hw_set_lladdr
	.p2align	4, 0x90
_ath5k_hw_set_lladdr:                   ## @ath5k_hw_set_lladdr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_ath5k_hw_common
	movl	(%rax), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	_AR5K_STA_ID1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_ath5k_hw_reg_read
	movl	%eax, %r15d
	andl	$-65536, %r15d                  ## imm = 0xFFFF0000
	movq	%rbx, %rdi
	callq	_get_unaligned_le32
	movl	%eax, %r12d
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_get_unaligned_le16
	movl	%eax, %ebx
	movq	_AR5K_STA_ID0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_ath5k_hw_reg_write
	orl	%r15d, %ebx
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ath5k_hw_reg_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_AR5K_STA_ID1,4,2               ## @AR5K_STA_ID1
	.comm	_AR5K_STA_ID0,4,2               ## @AR5K_STA_ID0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath5k_hw_set_lladdr            ; -- Begin function ath5k_hw_set_lladdr
	.p2align	2
_ath5k_hw_set_lladdr:                   ; @ath5k_hw_set_lladdr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_ath5k_hw_common
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_memcpy
Lloh3:
	adrp	x22, _AR5K_STA_ID1@GOTPAGE
Lloh4:
	ldr	x22, [x22, _AR5K_STA_ID1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_ath5k_hw_reg_read
	and	w23, w0, #0xffff0000
	mov	x0, x19
	bl	_get_unaligned_le32
	mov	x21, x0
	add	x0, x19, #16
	bl	_get_unaligned_le16
	mov	x19, x0
Lloh5:
	adrp	x8, _AR5K_STA_ID0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AR5K_STA_ID0@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_ath5k_hw_reg_write
	orr	w1, w19, w23
	ldr	w2, [x22]
	mov	x0, x20
	bl	_ath5k_hw_reg_write
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_AR5K_STA_ID1,4,2               ; @AR5K_STA_ID1
	.comm	_AR5K_STA_ID0,4,2               ; @AR5K_STA_ID0
.subsections_via_symbols
