	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys__llseek                    ## -- Begin function sys__llseek
	.p2align	4, 0x90
_sys__llseek:                           ## @sys__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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edi, %r12d
	callq	_f_get
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	8(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_lock
	leaq	L_.str(%rip), %rdi
	xorl	%r13d, %r13d
	movl	%r12d, %esi
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_STRACE
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	*(%rax)
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_STRACE
	movq	%rbx, %rdi
	callq	_unlock
	testl	%r15d, %r15d
	js	LBB0_9
## %bb.3:
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_user_put
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_5:
	movl	%r13d, %r15d
	jmp	LBB0_9
LBB0_6:
	movq	__EBADF@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	__ESPIPE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__EBADF,4,2                     ## @_EBADF
	.comm	__ESPIPE,4,2                    ## @_ESPIPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"llseek(%d, %lu, %#x, %d)"

L_.str.1:                               ## @.str.1
	.asciz	" -> %lu"

	.comm	__EFAULT,4,2                    ## @_EFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys__llseek                    ; -- Begin function sys__llseek
	.p2align	2
_sys__llseek:                           ; @sys__llseek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x19, x3
	mov	x22, x0
	bl	_f_get
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_lock
	stp	x19, x21, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_STRACE
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x2, x21
	blr	x8
	mov	x21, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_STRACE
	mov	x0, x20
	bl	_unlock
	tbnz	w21, #31, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	bl	_user_put
Lloh4:
	adrp	x8, __EFAULT@GOTPAGE
Lloh5:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w21, wzr, w8, eq
	b	LBB0_7
LBB0_4:
Lloh7:
	adrp	x8, __EBADF@GOTPAGE
Lloh8:
	ldr	x8, [x8, __EBADF@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, __ESPIPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, __ESPIPE@GOTPAGEOFF]
LBB0_6:
	ldr	w21, [x8]
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	__EBADF,4,2                     ; @_EBADF
	.comm	__ESPIPE,4,2                    ; @_ESPIPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"llseek(%d, %lu, %#x, %d)"

l_.str.1:                               ; @.str.1
	.asciz	" -> %lu"

	.comm	__EFAULT,4,2                    ; @_EFAULT
.subsections_via_symbols
