	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_set_hw_address_family_8000
_iwl_set_hw_address_family_8000:        ## @iwl_set_hw_address_family_8000
	.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	%r8, %r15
	movq	%rdx, %r14
	movq	%rdi, %r12
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movq	_MAC_ADDRESS_OVERRIDE_EXT_NVM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rcx,%rax,4), %rbx
	movl	(%r14), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rsi
	callq	_memcpy
	movl	(%r14), %edi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r13), %edx
	leaq	_iwl_set_hw_address_family_8000.reserved_mac(%rip), %rdi
	movq	%rbx, %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_IWL_ERR
LBB0_4:
	testq	%r15, %r15
	je	LBB0_5
## %bb.7:
	movq	_WFMP_MAC_ADDR_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_iwl_trans_read_prph
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, %ebx
	movq	_WFMP_MAC_ADDR_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_iwl_trans_read_prph
	movl	%eax, %edi
	callq	_cpu_to_le32
	movl	(%r14), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iwl_flip_hw_address            ## TAILCALL
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_ERR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @iwl_set_hw_address_family_8000.reserved_mac
_iwl_set_hw_address_family_8000.reserved_mac:
	.long	2                               ## 0x2
	.long	204                             ## 0xcc
	.long	170                             ## 0xaa
	.long	255                             ## 0xff
	.long	238                             ## 0xee
	.long	0                               ## 0x0

	.comm	_MAC_ADDRESS_OVERRIDE_EXT_NVM,4,2 ## @MAC_ADDRESS_OVERRIDE_EXT_NVM
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mac address from nvm override section is not valid\n"

	.comm	_WFMP_MAC_ADDR_0,4,2            ## @WFMP_MAC_ADDR_0
	.comm	_WFMP_MAC_ADDR_1,4,2            ## @WFMP_MAC_ADDR_1
L_.str.1:                               ## @.str.1
	.asciz	"mac address is not found\n"

	.no_dead_strip	_iwl_set_hw_address_family_8000
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_set_hw_address_family_8000
_iwl_set_hw_address_family_8000:        ; @iwl_set_hw_address_family_8000
	.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	x21, x4
	mov	x19, x2
	mov	x20, x0
	cbz	x3, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _MAC_ADDRESS_OVERRIDE_EXT_NVM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC_ADDRESS_OVERRIDE_EXT_NVM@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x22, x3, x8, lsl #2
	ldr	w0, [x19]
Lloh3:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x1, x22
	bl	_memcpy
	ldr	w0, [x19]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w2, [x23]
Lloh5:
	adrp	x0, _iwl_set_hw_address_family_8000.reserved_mac@PAGE
Lloh6:
	add	x0, x0, _iwl_set_hw_address_family_8000.reserved_mac@PAGEOFF
	mov	x1, x22
	bl	_memcmp
	cbz	x0, LBB0_4
; %bb.3:
	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
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_IWL_ERR
LBB0_5:
	cbz	x21, LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _WFMP_MAC_ADDR_0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WFMP_MAC_ADDR_0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_iwl_trans_read_prph
	bl	_cpu_to_le32
	mov	x21, x0
Lloh12:
	adrp	x8, _WFMP_MAC_ADDR_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WFMP_MAC_ADDR_1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_iwl_trans_read_prph
	bl	_cpu_to_le32
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x21
	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
	b	_iwl_flip_hw_address
LBB0_7:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	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
	b	_IWL_ERR
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @iwl_set_hw_address_family_8000.reserved_mac
_iwl_set_hw_address_family_8000.reserved_mac:
	.long	2                               ; 0x2
	.long	204                             ; 0xcc
	.long	170                             ; 0xaa
	.long	255                             ; 0xff
	.long	238                             ; 0xee
	.long	0                               ; 0x0

	.comm	_MAC_ADDRESS_OVERRIDE_EXT_NVM,4,2 ; @MAC_ADDRESS_OVERRIDE_EXT_NVM
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mac address from nvm override section is not valid\n"

	.comm	_WFMP_MAC_ADDR_0,4,2            ; @WFMP_MAC_ADDR_0
	.comm	_WFMP_MAC_ADDR_1,4,2            ; @WFMP_MAC_ADDR_1
l_.str.1:                               ; @.str.1
	.asciz	"mac address is not found\n"

	.no_dead_strip	_iwl_set_hw_address_family_8000
.subsections_via_symbols
