	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_eeprom_verify_signature
_il_eeprom_verify_signature:            ## @il_eeprom_verify_signature
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_CSR_EEPROM_GP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	__il_rd
	movl	%eax, %ebx
	movq	_CSR_EEPROM_GP_VALID_MSK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_D_EEPROM
	movl	%ebx, %ecx
	andl	$-2, %ecx
	xorl	%eax, %eax
	cmpl	$128, %ecx
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_IL_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR_EEPROM_GP,4,2              ## @CSR_EEPROM_GP
	.comm	_CSR_EEPROM_GP_VALID_MSK,4,2    ## @CSR_EEPROM_GP_VALID_MSK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EEPROM signature=0x%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"bad EEPROM signature,EEPROM_GP=0x%08x\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_il_eeprom_verify_signature
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il_eeprom_verify_signature
_il_eeprom_verify_signature:            ; @il_eeprom_verify_signature
	.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
Lloh0:
	adrp	x8, _CSR_EEPROM_GP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CSR_EEPROM_GP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	__il_rd
Lloh3:
	adrp	x8, _CSR_EEPROM_GP_VALID_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSR_EEPROM_GP_VALID_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w19, w8, w0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_D_EEPROM
	and	w8, w19, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_IL_ERR
Lloh10:
	adrp	x8, _ENOENT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR_EEPROM_GP,4,2              ; @CSR_EEPROM_GP
	.comm	_CSR_EEPROM_GP_VALID_MSK,4,2    ; @CSR_EEPROM_GP_VALID_MSK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EEPROM signature=0x%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"bad EEPROM signature,EEPROM_GP=0x%08x\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_il_eeprom_verify_signature
.subsections_via_symbols
