	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_EEPROM_MAC_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	callq	_smsc95xx_read_eeprom
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_random_ether_addr
	movq	%rbx, %rdi
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	leaq	L_.str(%rip), %rsi
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_devdbg                         ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_MAC_OFFSET,4,2          ## @EEPROM_MAC_OFFSET
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC address read from EEPROM"

L_.str.1:                               ## @.str.1
	.asciz	"MAC address set to random_ether_addr"

	.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
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, [x0]
	ldr	w3, [x8]
	bl	_smsc95xx_read_eeprom
	cbz	x0, LBB0_3
LBB0_1:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_random_ether_addr
	mov	x0, x19
	bl	_netif_msg_ifup
	cbz	x0, LBB0_7
; %bb.2:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_3:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_1
; %bb.4:
	mov	x0, x19
	bl	_netif_msg_ifup
	cbz	x0, LBB0_7
; %bb.5:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, 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	_devdbg
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_MAC_OFFSET,4,2          ; @EEPROM_MAC_OFFSET
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC address read from EEPROM"

l_.str.1:                               ; @.str.1
	.asciz	"MAC address set to random_ether_addr"

	.no_dead_strip	_smsc95xx_init_mac_address
.subsections_via_symbols
