	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DiskSeek
_DiskSeek:                              ## @DiskSeek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	callq	_FsGetDeviceSpecific
	movq	%rax, %rcx
	movl	(%r14), %eax
	cmpl	$128, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_3
## %bb.2:
	movl	4(%rcx), %esi
	jmp	LBB0_5
LBB0_4:
	movl	4(%rcx), %esi
	movl	(%rcx), %edx
	imull	%esi, %edx
	addl	%edx, %eax
LBB0_5:
	leal	-1(%rsi), %edx
	movq	_EINVAL@GOTPCREL(%rip), %rdi
	testl	%eax, %edx
	jne	LBB0_8
## %bb.6:
	cltd
	idivl	%esi
	cmpl	8(%rcx), %eax
	jge	LBB0_8
## %bb.7:
	movl	%eax, (%rcx)
	movq	_ESUCCESS@GOTPCREL(%rip), %rdi
	jmp	LBB0_8
LBB0_3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ASSERT
	movq	_EINVAL@GOTPCREL(%rip), %rdi
LBB0_8:
	movl	(%rdi), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ESUCCESS,4,2                   ## @ESUCCESS
	.no_dead_strip	_DiskSeek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DiskSeek
_DiskSeek:                              ; @DiskSeek
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_FsGetDeviceSpecific
	ldr	w8, [x20]
	cmp	w19, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w19, #129
	b.ne	LBB0_7
; %bb.2:
	ldr	w9, [x0, #4]
	b	LBB0_4
LBB0_3:
	ldp	w10, w9, [x0]
	madd	w8, w9, w10, w8
LBB0_4:
	sub	w10, w9, #1
	tst	w10, w8
	b.ne	LBB0_8
; %bb.5:
	sdiv	w8, w8, w9
	ldr	w9, [x0, #8]
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.6:
	str	w8, [x0]
Lloh0:
	adrp	x8, _ESUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ESUCCESS@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_ASSERT
LBB0_8:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ESUCCESS,4,2                   ; @ESUCCESS
	.no_dead_strip	_DiskSeek
.subsections_via_symbols
