	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RamDiskSeek
_RamDiskSeek:                           ## @RamDiskSeek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	cmpl	$129, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_5
## %bb.2:
	movq	_RamDiskOffset@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
LBB0_3:
	movq	_RamDiskImageLength@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.4:
	movq	_RamDiskOffset@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ESUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ASSERT
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RamDiskOffset,8,3              ## @RamDiskOffset
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RamDiskImageLength,8,3         ## @RamDiskImageLength
	.comm	_ESUCCESS,4,2                   ## @ESUCCESS
	.no_dead_strip	_RamDiskSeek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RamDiskSeek
_RamDiskSeek:                           ; @RamDiskSeek
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
	cmp	w2, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, _RamDiskOffset@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RamDiskOffset@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x8, x9, x8
LBB0_3:
Lloh3:
	adrp	x9, _RamDiskImageLength@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RamDiskImageLength@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.4:
Lloh6:
	adrp	x9, _RamDiskOffset@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RamDiskOffset@GOTPAGEOFF]
Lloh8:
	str	x8, [x9]
Lloh9:
	adrp	x8, _ESUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ESUCCESS@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_ASSERT
LBB0_6:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_RamDiskOffset,8,3              ; @RamDiskOffset
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RamDiskImageLength,8,3         ; @RamDiskImageLength
	.comm	_ESUCCESS,4,2                   ; @ESUCCESS
	.no_dead_strip	_RamDiskSeek
.subsections_via_symbols
