	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvram_llseek
_nvram_llseek:                          ## @nvram_llseek
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_lock_kernel
	cmpl	$2, %r15d
	je	LBB0_3
## %bb.1:
	cmpl	$1, %r15d
	jne	LBB0_4
## %bb.2:
	addq	(%r14), %rbx
	jmp	LBB0_4
LBB0_3:
	movq	_NVRAM_BYTES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %rbx
LBB0_4:
	xorl	%eax, %eax
	callq	_unlock_kernel
	testq	%rbx, %rbx
	js	LBB0_6
## %bb.5:
	movq	%rbx, (%r14)
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVRAM_BYTES,4,2                ## @NVRAM_BYTES
	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_nvram_llseek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvram_llseek
_nvram_llseek:                          ; @nvram_llseek
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_lock_kernel
	cmp	w21, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w21, #1
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x20]
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _NVRAM_BYTES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVRAM_BYTES@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
LBB0_4:
	add	x19, x8, x19
LBB0_5:
	bl	_unlock_kernel
	tbnz	x19, #63, LBB0_7
; %bb.6:
	str	x19, [x20]
	b	LBB0_8
LBB0_7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_8:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NVRAM_BYTES,4,2                ; @NVRAM_BYTES
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_nvram_llseek
.subsections_via_symbols
