	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dynamic_macro_load_eeprom      ## -- Begin function dynamic_macro_load_eeprom
	.p2align	4, 0x90
_dynamic_macro_load_eeprom:             ## @dynamic_macro_load_eeprom
	.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	_dynamic_macros@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rdi, %rbx
	shlq	$4, %rbx
	leaq	(%r15,%rbx), %r12
	callq	_dynamic_macro_eeprom_macro_addr
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	$16, %edx
	callq	_eeprom_read_block
	movq	%r12, %rdi
	callq	_dynamic_macro_calc_crc
	cmpq	(%r15,%rbx), %rax
	jne	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintf                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_dprintf
	movq	$0, 8(%r15,%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dynamic_macros,8,3             ## @dynamic_macros
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dynamic macro: slot %d not loaded, checksum mismatch\n"

L_.str.1:                               ## @.str.1
	.asciz	"dynamic macro: slot %d loaded from eeprom, checksum okay\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dynamic_macro_load_eeprom      ; -- Begin function dynamic_macro_load_eeprom
	.p2align	2
_dynamic_macro_load_eeprom:             ; @dynamic_macro_load_eeprom
	.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, _dynamic_macros@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dynamic_macros@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x20, x8, x0, lsl #4
	bl	_dynamic_macro_eeprom_macro_addr
	mov	x1, x0
	mov	x0, x20
	mov	w2, #16
	bl	_eeprom_read_block
	mov	x0, x20
	bl	_dynamic_macro_calc_crc
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dprintf
LBB0_2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_dprintf
	str	xzr, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_dynamic_macros,8,3             ; @dynamic_macros
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dynamic macro: slot %d not loaded, checksum mismatch\n"

l_.str.1:                               ; @.str.1
	.asciz	"dynamic macro: slot %d loaded from eeprom, checksum okay\n"

.subsections_via_symbols
