	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vol_cdev_llseek
_vol_cdev_llseek:                       ## @vol_cdev_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dbg_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	jmp	LBB0_13
LBB0_2:
	movl	%edx, %ecx
	movq	%rsi, %rdx
	movq	%rdi, %r14
	movq	%rsi, %rbx
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.3:
	cmpl	$2, %ecx
	je	LBB0_7
## %bb.4:
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rsi
	jmp	LBB0_8
LBB0_7:
	movq	%rax, %rsi
LBB0_8:
	movq	(%rsi), %rbx
	addq	%rdx, %rbx
LBB0_9:
	testq	%rbx, %rbx
	js	LBB0_11
## %bb.10:
	cmpq	(%rax), %rbx
	jle	LBB0_12
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_dbg_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subq	(%rax), %r14
	movq	%r14, %rbx
	jmp	LBB0_13
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subq	(%rax), %rbx
	jmp	LBB0_13
LBB0_12:
	movl	8(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %r8
	callq	_dbg_gen
	movq	%rbx, (%r14)
LBB0_13:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"updating"

	.comm	_EBUSY,8,3                      ## @EBUSY
	.comm	_EINVAL,8,3                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"bad seek %lld"

L_.str.2:                               ## @.str.2
	.asciz	"seek volume %d, offset %lld, origin %d, new offset %lld"

	.no_dead_strip	_vol_cdev_llseek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vol_cdev_llseek
_vol_cdev_llseek:                       ; @vol_cdev_llseek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg_err
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_12
LBB0_2:
	mov	x3, x2
	mov	x2, x1
	mov	x19, x0
	mov	x20, x1
	cbz	w3, LBB0_8
; %bb.3:
	cmp	w3, #2
	b.eq	LBB0_6
; %bb.4:
	cmp	w3, #1
	b.ne	LBB0_11
; %bb.5:
	mov	x9, x19
	b	LBB0_7
LBB0_6:
	mov	x9, x8
LBB0_7:
	ldr	x9, [x9]
	add	x20, x9, x2
LBB0_8:
	tbnz	x20, #63, LBB0_10
; %bb.9:
	ldr	x9, [x8]
	cmp	x20, x9
	b.le	LBB0_14
LBB0_10:
	str	x20, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dbg_err
LBB0_11:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	neg	x20, x8
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_14:
	ldr	w1, [x8, #8]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x4, x20
	bl	_dbg_gen
	str	x20, [x19]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"updating"

	.comm	_EBUSY,8,3                      ; @EBUSY
	.comm	_EINVAL,8,3                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"bad seek %lld"

l_.str.2:                               ; @.str.2
	.asciz	"seek volume %d, offset %lld, origin %d, new offset %lld"

	.no_dead_strip	_vol_cdev_llseek
.subsections_via_symbols
