	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de21040_get_mac_address
_de21040_get_mac_address:               ## @de21040_get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ROMCmd@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_dw32
	movl	$5, %edi
	callq	_udelay
	movl	$100001, %ebx                   ## imm = 0x186A1
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_dr32
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_rmb
	decl	%ebx
	testl	%r12d, %r12d
	jns	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1, %ebx
	ja	LBB0_1
## %bb.3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	%r12d, (%rax)
	movl	$1, %edi
	callq	_udelay
	testl	%ebx, %ebx
	jg	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_pr_warn
LBB0_6:
	movl	$100000, %r12d                  ## imm = 0x186A0
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_dr32
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rmb
	testl	%ebx, %ebx
	jns	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leal	-1(%r12), %eax
	cmpl	$1, %r12d
	movl	%eax, %r12d
	ja	LBB0_7
## %bb.9:
	xorl	%r12d, %r12d
LBB0_10:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	%ebx, 4(%rax)
	movl	$1, %edi
	callq	_udelay
	testl	%r12d, %r12d
	jg	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rdi
	movl	$1, %esi
	callq	_pr_warn
LBB0_12:
	movl	$100000, %r12d                  ## imm = 0x186A0
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_dr32
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rmb
	testl	%ebx, %ebx
	jns	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	leal	-1(%r12), %eax
	cmpl	$1, %r12d
	movl	%eax, %r12d
	ja	LBB0_13
## %bb.15:
	xorl	%r12d, %r12d
LBB0_16:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	%ebx, 8(%rax)
	movl	$1, %edi
	callq	_udelay
	testl	%r12d, %r12d
	jg	LBB0_18
## %bb.17:
	leaq	L_.str(%rip), %rdi
	movl	$2, %esi
	callq	_pr_warn
LBB0_18:
	movl	$100000, %r12d                  ## imm = 0x186A0
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_dr32
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rmb
	testl	%ebx, %ebx
	jns	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	leal	-1(%r12), %eax
	cmpl	$1, %r12d
	movl	%eax, %r12d
	ja	LBB0_19
## %bb.21:
	xorl	%r12d, %r12d
LBB0_22:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	%ebx, 12(%rax)
	movl	$1, %edi
	callq	_udelay
	testl	%r12d, %r12d
	jg	LBB0_24
## %bb.23:
	leaq	L_.str(%rip), %rdi
	movl	$3, %esi
	callq	_pr_warn
LBB0_24:
	movl	$100000, %r12d                  ## imm = 0x186A0
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_dr32
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rmb
	testl	%ebx, %ebx
	jns	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	leal	-1(%r12), %eax
	cmpl	$1, %r12d
	movl	%eax, %r12d
	ja	LBB0_25
## %bb.27:
	xorl	%r12d, %r12d
LBB0_28:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	%ebx, 16(%rax)
	movl	$1, %edi
	callq	_udelay
	testl	%r12d, %r12d
	jg	LBB0_30
## %bb.29:
	leaq	L_.str(%rip), %rdi
	movl	$4, %esi
	callq	_pr_warn
LBB0_30:
	movl	$100000, %r12d                  ## imm = 0x186A0
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_dr32
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_rmb
	testl	%ebx, %ebx
	jns	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	leal	-1(%r12), %eax
	cmpl	$1, %r12d
	movl	%eax, %r12d
	ja	LBB0_31
## %bb.33:
	xorl	%r12d, %r12d
LBB0_34:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	%ebx, 20(%rax)
	movl	$1, %edi
	callq	_udelay
	testl	%r12d, %r12d
	jle	LBB0_36
## %bb.35:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	leaq	L_.str(%rip), %rdi
	movl	$5, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ROMCmd,4,2                     ## @ROMCmd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timeout reading 21040 MAC address byte %u\n"

	.no_dead_strip	_de21040_get_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de21040_get_mac_address
_de21040_get_mac_address:               ; @de21040_get_mac_address
	.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	x19, x0
	mov	w21, #34464
	movk	w21, #1, lsl #16
Lloh0:
	adrp	x22, _ROMCmd@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ROMCmd@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w1, #0
	bl	_dw32
	mov	w0, #5
	bl	_udelay
	orr	w23, w21, #0x1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_dr32
	mov	x20, x0
	bl	_rmb
	sub	w23, w23, #1
	tbz	w20, #31, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w23, #1
	b.hi	LBB0_1
; %bb.3:
	mov	w23, #0
LBB0_4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	w20, [x8]
	mov	w0, #1
	bl	_udelay
	cmp	w23, #0
	b.gt	LBB0_6
; %bb.5:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_pr_warn
LBB0_6:
	mov	w23, #34464
	movk	w23, #1, lsl #16
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_dr32
	mov	x20, x0
	bl	_rmb
	tbz	w20, #31, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	subs	w23, w23, #1
	b.hi	LBB0_7
; %bb.9:
	mov	w23, #0
LBB0_10:
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	w20, [x8, #4]
	mov	w0, #1
	bl	_udelay
	cmp	w23, #0
	b.gt	LBB0_12
; %bb.11:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #1
	bl	_pr_warn
LBB0_12:
	mov	w23, #34464
	movk	w23, #1, lsl #16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_dr32
	mov	x20, x0
	bl	_rmb
	tbz	w20, #31, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	subs	w23, w23, #1
	b.hi	LBB0_13
; %bb.15:
	mov	w23, #0
LBB0_16:
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	w20, [x8, #8]
	mov	w0, #1
	bl	_udelay
	cmp	w23, #0
	b.gt	LBB0_18
; %bb.17:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #2
	bl	_pr_warn
LBB0_18:
	mov	w23, #34464
	movk	w23, #1, lsl #16
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_dr32
	mov	x20, x0
	bl	_rmb
	tbz	w20, #31, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	subs	w23, w23, #1
	b.hi	LBB0_19
; %bb.21:
	mov	w23, #0
LBB0_22:
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	w20, [x8, #12]
	mov	w0, #1
	bl	_udelay
	cmp	w23, #0
	b.gt	LBB0_24
; %bb.23:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #3
	bl	_pr_warn
LBB0_24:
	mov	w23, #34464
	movk	w23, #1, lsl #16
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_dr32
	mov	x20, x0
	bl	_rmb
	tbz	w20, #31, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	subs	w23, w23, #1
	b.hi	LBB0_25
; %bb.27:
	mov	w23, #0
LBB0_28:
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	w20, [x8, #16]
	mov	w0, #1
	bl	_udelay
	cmp	w23, #0
	b.gt	LBB0_30
; %bb.29:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #4
	bl	_pr_warn
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_dr32
	mov	x20, x0
	bl	_rmb
	tbz	w20, #31, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	subs	w21, w21, #1
	b.hi	LBB0_30
; %bb.32:
	mov	w21, #0
LBB0_33:
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	w20, [x8, #20]
	mov	w0, #1
	bl	_udelay
	cmp	w21, #0
	b.le	LBB0_35
; %bb.34:
	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_35:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #5
	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	_pr_warn
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ROMCmd,4,2                     ; @ROMCmd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timeout reading 21040 MAC address byte %u\n"

	.no_dead_strip	_de21040_get_mac_address
.subsections_via_symbols
