	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc9420_check_mac_address
_smsc9420_check_mac_address:            ## @smsc9420_check_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %r15
LBB0_5:
	movq	%rbx, %rdi
	callq	_smsc9420_set_mac_address
	jmp	LBB0_6
LBB0_2:
	movq	_ADDRH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_smsc9420_reg_read
	movl	%eax, %r15d
	movq	_ADDRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_smsc9420_reg_read
	cltq
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	movl	%eax, %ecx
	sarl	$8, %ecx
	movslq	%ecx, %rcx
	movq	(%rbx), %rdx
	movq	%rcx, 8(%rdx)
	movl	%eax, %ecx
	sarl	$16, %ecx
	movslq	%ecx, %rcx
	movq	(%rbx), %rdx
	movq	%rcx, 16(%rdx)
	sarl	$24, %eax
	cltq
	movq	(%rbx), %rcx
	movq	%rax, 24(%rcx)
	movslq	%r15d, %rax
	movq	(%rbx), %rcx
	movq	%rax, 32(%rcx)
	sarl	$8, %eax
	cltq
	movq	(%rbx), %rcx
	movq	%rax, 40(%rcx)
	movq	(%rbx), %rdi
	callq	_is_valid_ether_addr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %r15
LBB0_6:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%r14, %rdi
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_dbg                      ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	callq	_eth_hw_addr_random
	leaq	L_.str.2(%rip), %r15
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC Address is specified by configuration\n"

	.comm	_ADDRH,4,2                      ## @ADDRH
	.comm	_ADDRL,4,2                      ## @ADDRL
L_.str.1:                               ## @.str.1
	.asciz	"Mac Address is read from EEPROM\n"

L_.str.2:                               ## @.str.2
	.asciz	"MAC Address is set to random\n"

	.no_dead_strip	_smsc9420_check_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc9420_check_mac_address
_smsc9420_check_mac_address:            ; @smsc9420_check_mac_address
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x0, [x20]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x20
	bl	_smsc9420_set_mac_address
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _ADDRH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ADDRH@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_smsc9420_reg_read
	mov	x21, x0
Lloh5:
	adrp	x8, _ADDRL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADDRL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_smsc9420_reg_read
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldr	x9, [x20]
	str	x8, [x9]
	sbfx	x8, x0, #8, #24
	ldr	x9, [x20]
	str	x8, [x9, #8]
	sbfx	x8, x0, #16, #16
	ldr	x9, [x20]
	str	x8, [x9, #16]
	sbfx	x8, x0, #24, #8
	ldr	x9, [x20]
	str	x8, [x9, #24]
	sxtw	x8, w21
	ldr	x9, [x20]
	str	x8, [x9, #32]
	sbfx	x8, x21, #8, #24
	ldr	x9, [x20]
	str	x8, [x9, #40]
	ldr	x0, [x20]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_6
; %bb.4:
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_5:
Lloh10:
	adrp	x8, _probe@GOTPAGE
Lloh11:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	mov	x3, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netif_dbg
LBB0_6:
	mov	x0, x20
	bl	_eth_hw_addr_random
Lloh13:
	adrp	x21, l_.str.2@PAGE
Lloh14:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC Address is specified by configuration\n"

	.comm	_ADDRH,4,2                      ; @ADDRH
	.comm	_ADDRL,4,2                      ; @ADDRL
l_.str.1:                               ; @.str.1
	.asciz	"Mac Address is read from EEPROM\n"

l_.str.2:                               ; @.str.2
	.asciz	"MAC Address is set to random\n"

	.no_dead_strip	_smsc9420_check_mac_address
.subsections_via_symbols
