	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function slic_eeprom_valid
_slic_eeprom_valid:                     ## @slic_eeprom_valid
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	leal	-129(%r15), %eax
	xorl	%ebx, %ebx
	cmpl	$-31, %eax
	jb	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	leaq	-40(%rbp), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	-40(%rbp), %edi
	callq	_le16_to_cpu
	movq	_SLIC_EEPROM_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	addl	$-2, %r15d
	leaq	(%r14,%r15), %rsi
	leaq	-36(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	-36(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, %r12
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_slic_eeprom_csum
	xorl	%ebx, %ebx
	cmpq	%rax, %r12
	sete	%bl
LBB0_3:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIC_EEPROM_MAGIC,8,3          ## @SLIC_EEPROM_MAGIC
	.no_dead_strip	_slic_eeprom_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function slic_eeprom_valid
_slic_eeprom_valid:                     ; @slic_eeprom_valid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	sub	w8, w1, #129
	cmn	w8, #31
	b.lo	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [sp, #12]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _SLIC_EEPROM_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SLIC_EEPROM_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	sub	w20, w20, #2
	add	x1, x19, x20
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [sp, #8]
	bl	_le16_to_cpu
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_slic_eeprom_csum
	cmp	x21, x0
	cset	w0, eq
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIC_EEPROM_MAGIC,8,3          ; @SLIC_EEPROM_MAGIC
	.no_dead_strip	_slic_eeprom_valid
.subsections_via_symbols
