	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_set_valid               ## -- Begin function eeprom_set_valid
	.p2align	4, 0x90
_eeprom_set_valid:                      ## @eeprom_set_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	movq	_EEPROM_MAGIC_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	$65535, %esi                    ## imm = 0xFFFF
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_EEPROM_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_2:
	popq	%rbp
	jmp	_eeprom_update_word             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EEPROM_MAGIC_ADDR,4,2          ## @EEPROM_MAGIC_ADDR
	.comm	_EEPROM_MAGIC,4,2               ## @EEPROM_MAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_set_valid               ; -- Begin function eeprom_set_valid
	.p2align	2
_eeprom_set_valid:                      ; @eeprom_set_valid
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EEPROM_MAGIC_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEPROM_MAGIC_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EEPROM_MAGIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EEPROM_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #65535
	cmp	w0, #0
	csel	w1, w10, w9, eq
	mov	x0, x8
	b	_eeprom_update_word
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EEPROM_MAGIC_ADDR,4,2          ; @EEPROM_MAGIC_ADDR
	.comm	_EEPROM_MAGIC,4,2               ; @EEPROM_MAGIC
.subsections_via_symbols
