	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lseek                          ## -- Begin function lseek
	.p2align	4, 0x90
_lseek:                                 ## @lseek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edx, %ecx
	movl	%edi, %eax
	movl	%esi, -8(%rbp)
	movq	_SYS_lseek@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	leaq	-8(%rbp), %rdx
	leaq	-4(%rbp), %r8
	movl	%eax, %esi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_syscall4
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	-4(%rbp), %eax
	jmp	LBB0_3
LBB0_1:
	negl	%eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_lseek,4,2                  ## @SYS_lseek
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lseek                          ; -- Begin function lseek
	.p2align	2
_lseek:                                 ; @lseek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x3, x2
	mov	x8, x0
	stur	w1, [x29, #-4]
Lloh0:
	adrp	x9, _SYS_lseek@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SYS_lseek@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	sub	x2, x29, #4
	add	x4, sp, #8
	mov	x1, x8
	bl	_syscall4
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	b	LBB0_3
LBB0_2:
	neg	w8, w0
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_lseek,4,2                  ; @SYS_lseek
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
