	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_get_hwaddr
_emac_get_hwaddr:                       ## @emac_get_hwaddr
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_EMAC_MAC_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EMAC_READ_REG
	movl	%eax, %r15d
	movq	_EMAC_MAC_A1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EMAC_READ_REG
	movl	%eax, %ecx
	orl	%r15d, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$16777215, %ecx                 ## imm = 0xFFFFFF
	jne	LBB0_2
LBB0_3:
	movq	$16, -56(%rbp)
	movq	_AW_SID_FUSE_ROOTKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_aw_sid_get_fuse
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	callq	_arc4random
	movl	%eax, %edx
	movq	%r14, %rdi
	movw	$29538, (%r14)                  ## imm = 0x7362
	movb	$100, 2(%r14)
	jmp	LBB0_6
LBB0_2:
	movl	%r15d, %edx
	movl	%eax, %ecx
	shrl	$16, %ecx
	movq	%r14, %rdi
	movb	%cl, (%r14)
	movb	%ah, 1(%rdi)
	movb	%al, 2(%r14)
	movl	%r15d, %eax
LBB0_6:
	shrl	$16, %eax
	movb	%al, 3(%r14)
	movb	%dh, 4(%rdi)
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	movb	$2, (%r14)
	movb	-45(%rbp), %al
	movb	%al, 1(%r14)
	movb	-36(%rbp), %al
	movb	%al, 2(%r14)
	movb	-35(%rbp), %al
	movb	%al, 3(%r14)
	movb	-34(%rbp), %al
	movb	%al, 4(%r14)
	movb	-33(%rbp), %dl
LBB0_7:
	movb	%dl, 5(%rdi)
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	callq	_ether_sprintf
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_MAC_A0,4,2                ## @EMAC_MAC_A0
	.comm	_EMAC_MAC_A1,4,2                ## @EMAC_MAC_A1
	.comm	_AW_SID_FUSE_ROOTKEY,4,2        ## @AW_SID_FUSE_ROOTKEY
	.comm	_bootverbose,8,3                ## @bootverbose
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC address: %s\n"

	.no_dead_strip	_emac_get_hwaddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_get_hwaddr
_emac_get_hwaddr:                       ; @emac_get_hwaddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _EMAC_MAC_A0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMAC_MAC_A0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_EMAC_READ_REG
	mov	x20, x0
Lloh6:
	adrp	x8, _EMAC_MAC_A1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMAC_MAC_A1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_EMAC_READ_REG
	orr	w8, w0, w20
	cmp	w8, #0
	mov	w9, #16777215
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	w8, #16
	str	x8, [sp]
Lloh9:
	adrp	x8, _AW_SID_FUSE_ROOTKEY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AW_SID_FUSE_ROOTKEY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, sp
	bl	_aw_sid_get_fuse
	cbz	x0, LBB0_5
; %bb.2:
	bl	_arc4random
	mov	x20, x0
	mov	w8, #29538
	strh	w8, [x19]
	mov	w8, #100
	strb	w8, [x19, #2]
	lsr	w8, w0, #16
	strb	w8, [x19, #3]
	lsr	w8, w0, #8
	b	LBB0_4
LBB0_3:
	lsr	w8, w0, #16
	strb	w8, [x19]
	lsr	w8, w0, #8
	strb	w8, [x19, #1]
	strb	w0, [x19, #2]
	lsr	w8, w20, #16
	strb	w8, [x19, #3]
	lsr	w8, w20, #8
LBB0_4:
	strb	w8, [x19, #4]
	b	LBB0_6
LBB0_5:
	mov	w8, #2
	strb	w8, [x19]
	ldrb	w8, [sp, #11]
	strb	w8, [x19, #1]
	ldrb	w8, [sp, #20]
	strb	w8, [x19, #2]
	ldurh	w8, [sp, #21]
	sturh	w8, [x19, #3]
	ldrb	w20, [sp, #23]
LBB0_6:
	strb	w20, [x19, #5]
Lloh12:
	adrp	x8, _bootverbose@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_ether_sprintf
	mov	x1, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_8:
	ldr	x8, [sp, #24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_MAC_A0,4,2                ; @EMAC_MAC_A0
	.comm	_EMAC_MAC_A1,4,2                ; @EMAC_MAC_A1
	.comm	_AW_SID_FUSE_ROOTKEY,4,2        ; @AW_SID_FUSE_ROOTKEY
	.comm	_bootverbose,8,3                ; @bootverbose
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC address: %s\n"

	.no_dead_strip	_emac_get_hwaddr
.subsections_via_symbols
