	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pc_set_checksum
_pc_set_checksum:                       ## @pc_set_checksum
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PC_CKS_RANGE_START@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_PC_CKS_RANGE_END@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	jle	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_2:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	___nvram_read_byte
	addl	%eax, %r14d
	leal	1(%rbx), %eax
	cmpl	(%r15), %ebx
	movl	%eax, %ebx
	jl	LBB0_3
LBB0_4:
	movzwl	%r14w, %edi
	shrl	$8, %edi
	movq	_PC_CKS_LOC@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	callq	___nvram_write_byte
	movzbl	%r14b, %edi
	movq	(%rbx), %rsi
	incq	%rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___nvram_write_byte             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PC_CKS_RANGE_START,4,2         ## @PC_CKS_RANGE_START
	.comm	_PC_CKS_RANGE_END,4,2           ## @PC_CKS_RANGE_END
	.comm	_PC_CKS_LOC,8,3                 ## @PC_CKS_LOC
	.no_dead_strip	_pc_set_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pc_set_checksum
_pc_set_checksum:                       ; @pc_set_checksum
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _PC_CKS_RANGE_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PC_CKS_RANGE_START@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x21, _PC_CKS_RANGE_END@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PC_CKS_RANGE_END@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w19, w8
	b.le	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_4
LBB0_2:
	mov	w20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	___nvram_read_byte
	add	w20, w20, w0
	add	w8, w19, #1
	ldr	w9, [x21]
	cmp	w19, w9
	mov	x19, x8
	b.lt	LBB0_3
LBB0_4:
	ubfx	w0, w20, #8, #8
Lloh5:
	adrp	x19, _PC_CKS_LOC@GOTPAGE
Lloh6:
	ldr	x19, [x19, _PC_CKS_LOC@GOTPAGEOFF]
	ldr	x1, [x19]
	bl	___nvram_write_byte
	ldr	x8, [x19]
	add	x1, x8, #1
	and	w0, w20, #0xff
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___nvram_write_byte
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PC_CKS_RANGE_START,4,2         ; @PC_CKS_RANGE_START
	.comm	_PC_CKS_RANGE_END,4,2           ; @PC_CKS_RANGE_END
	.comm	_PC_CKS_LOC,8,3                 ; @PC_CKS_LOC
	.no_dead_strip	_pc_set_checksum
.subsections_via_symbols
