	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_update_dword            ## -- Begin function eeprom_update_dword
	.p2align	4, 0x90
_eeprom_update_dword:                   ## @eeprom_update_dword
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_EEPROM_ReadDataByte
	movl	%eax, %r12d
	leal	1(%rbx), %edi
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	callq	_EEPROM_ReadDataByte
	movl	%eax, %r15d
	shll	$8, %r15d
	orl	%r12d, %r15d
	leal	2(%rbx), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_EEPROM_ReadDataByte
	movl	%eax, %r12d
	shll	$16, %r12d
	leal	3(%rbx), %r13d
	movl	%r13d, %edi
	callq	_EEPROM_ReadDataByte
	shll	$24, %eax
	orl	%r12d, %eax
	orl	%r15d, %eax
	cmpl	%r14d, %eax
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_EEPROM_WriteDataByte
	movl	%r14d, %esi
	sarl	$8, %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_EEPROM_WriteDataByte
	movl	%r14d, %esi
	sarl	$16, %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_EEPROM_WriteDataByte
	sarl	$24, %r14d
	movl	%r13d, %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EEPROM_WriteDataByte           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_update_dword            ; -- Begin function eeprom_update_dword
	.p2align	2
_eeprom_update_dword:                   ; @eeprom_update_dword
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_EEPROM_ReadDataByte
	mov	x22, x0
	add	w21, w20, #1
	mov	x0, x21
	bl	_EEPROM_ReadDataByte
	orr	w23, w22, w0, lsl #8
	add	w22, w20, #2
	mov	x0, x22
	bl	_EEPROM_ReadDataByte
	orr	w24, w23, w0, lsl #16
	add	w23, w20, #3
	mov	x0, x23
	bl	_EEPROM_ReadDataByte
	orr	w8, w24, w0, lsl #24
	cmp	w8, w19
	b.ne	LBB0_2
; %bb.1:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_EEPROM_WriteDataByte
	asr	w1, w19, #8
	mov	x0, x21
	bl	_EEPROM_WriteDataByte
	asr	w1, w19, #16
	mov	x0, x22
	bl	_EEPROM_WriteDataByte
	asr	w1, w19, #24
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_EEPROM_WriteDataByte
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
