	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_hw_init_macaddr
_ath9k_hw_init_macaddr:                 ## @ath9k_hw_init_macaddr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_ath9k_hw_common
	movq	%rax, %r14
	movq	(%rax), %rdi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movl	$130, %esi
	callq	*(%rax)
	movzbl	%al, %ecx
	sarl	$8, %eax
	movq	(%r14), %rdx
	movl	%eax, (%rdx)
	movl	%ecx, 4(%rdx)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movl	$129, %esi
	callq	*(%rax)
	movzbl	%al, %ecx
	sarl	$8, %eax
	movq	(%r14), %rdx
	movl	%eax, 8(%rdx)
	movl	%ecx, 12(%rdx)
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movl	$128, %esi
	callq	*(%rax)
	movzbl	%al, %ecx
	sarl	$8, %eax
	movq	(%r14), %rdi
	movl	%eax, 16(%rdi)
	movl	%ecx, 20(%rdi)
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ath_err
	movq	(%r14), %rdi
	callq	_eth_random_addr
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ath_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"eeprom contains invalid mac address: %pM\n"

L_.str.1:                               ## @.str.1
	.asciz	"random mac address will be used: %pM\n"

	.no_dead_strip	_ath9k_hw_init_macaddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_hw_init_macaddr
_ath9k_hw_init_macaddr:                 ; @ath9k_hw_init_macaddr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_ath9k_hw_common
	mov	x19, x0
	ldr	x0, [x0]
	bl	_is_valid_ether_addr
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	mov	w1, #130
	blr	x8
	asr	w8, w0, #8
	ldr	x9, [x19]
	and	w10, w0, #0xff
	stp	w8, w10, [x9]
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	mov	w1, #129
	blr	x8
	asr	w8, w0, #8
	ldr	x9, [x19]
	and	w10, w0, #0xff
	stp	w8, w10, [x9, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	mov	w1, #128
	blr	x8
	asr	w9, w0, #8
	ldr	x8, [x19]
	and	w10, w0, #0xff
	stp	w9, w10, [x8, #16]
	mov	x0, x8
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x2, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath_err
	ldr	x0, [x19]
	bl	_eth_random_addr
	ldr	x2, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ath_err
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"eeprom contains invalid mac address: %pM\n"

l_.str.1:                               ; @.str.1
	.asciz	"random mac address will be used: %pM\n"

	.no_dead_strip	_ath9k_hw_init_macaddr
.subsections_via_symbols
