	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_is_valid                ## -- Begin function eeprom_is_valid
	.p2align	4, 0x90
_eeprom_is_valid:                       ## @eeprom_is_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EEPROM_MAGIC_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_eeprom_read_word
	movq	%rax, %rcx
	movq	_EEPROM_MAGIC@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_EEPROM_VERSION_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_eeprom_read_byte
	movq	%rax, %rcx
	movq	_EEPROM_VERSION@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	sete	%al
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_MAGIC_ADDR,8,3          ## @EEPROM_MAGIC_ADDR
	.comm	_EEPROM_MAGIC,8,3               ## @EEPROM_MAGIC
	.comm	_EEPROM_VERSION_ADDR,8,3        ## @EEPROM_VERSION_ADDR
	.comm	_EEPROM_VERSION,8,3             ## @EEPROM_VERSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_is_valid                ; -- Begin function eeprom_is_valid
	.p2align	2
_eeprom_is_valid:                       ; @eeprom_is_valid
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _EEPROM_MAGIC_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEPROM_MAGIC_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_eeprom_read_word
Lloh3:
	adrp	x8, _EEPROM_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EEPROM_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EEPROM_VERSION_ADDR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EEPROM_VERSION_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	bl	_eeprom_read_byte
Lloh9:
	adrp	x8, _EEPROM_VERSION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EEPROM_VERSION@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_MAGIC_ADDR,8,3          ; @EEPROM_MAGIC_ADDR
	.comm	_EEPROM_MAGIC,8,3               ; @EEPROM_MAGIC
	.comm	_EEPROM_VERSION_ADDR,8,3        ; @EEPROM_VERSION_ADDR
	.comm	_EEPROM_VERSION,8,3             ; @EEPROM_VERSION
.subsections_via_symbols
