	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc95xx_init_mac_address
_smsc95xx_init_mac_address:             ## @smsc95xx_init_mac_address
	.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
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_of_get_mac_address
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	_EEPROM_MAC_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_smsc95xx_read_eeprom
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movq	(%rbx), %rdi
	callq	_eth_hw_addr_random
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_4
LBB0_6:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ether_addr_copy                ## TAILCALL
LBB0_2:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rcx
LBB0_4:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_dbg                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_MAC_OFFSET,4,2          ## @EEPROM_MAC_OFFSET
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_ifup,4,2                       ## @ifup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC address read from EEPROM\n"

L_.str.1:                               ## @.str.1
	.asciz	"MAC address set to eth_random_addr\n"

	.no_dead_strip	_smsc95xx_init_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc95xx_init_mac_address
_smsc95xx_init_mac_address:             ; @smsc95xx_init_mac_address
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_of_get_mac_address
	mov	x20, x0
	bl	_IS_ERR
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EEPROM_MAC_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEPROM_MAC_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	x8, [x19]
	ldr	w3, [x8]
	mov	x0, x19
	bl	_smsc95xx_read_eeprom
	cbz	x0, LBB0_4
LBB0_2:
	ldr	x0, [x19]
	bl	_eth_hw_addr_random
Lloh6:
	adrp	x8, _ifup@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x2, [x19]
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ether_addr_copy
LBB0_4:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_2
; %bb.5:
Lloh11:
	adrp	x8, _ifup@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	x2, [x19]
Lloh14:
	adrp	x3, l_.str@PAGE
Lloh15:
	add	x3, x3, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_dbg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_MAC_OFFSET,4,2          ; @EEPROM_MAC_OFFSET
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_ifup,4,2                       ; @ifup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC address read from EEPROM\n"

l_.str.1:                               ; @.str.1
	.asciz	"MAC address set to eth_random_addr\n"

	.no_dead_strip	_smsc95xx_init_mac_address
.subsections_via_symbols
