	.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
	movq	_sourcedesc@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.3:
	testl	%esi, %esi
	js	LBB0_5
## %bb.4:
	movq	_sourcesize@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%esi, %eax
	jl	LBB0_5
## %bb.6:
	movq	_sourcebeg@GOTPCREL(%rip), %rcx
	movl	%esi, %edx
	addq	(%rcx), %rdx
	movq	_sourceptr@GOTPCREL(%rip), %rcx
	movq	%rdx, (%rcx)
	movq	_sourceleft@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_1:
	movq	_EBADF@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	%eax, (%rcx)
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sourcedesc,4,2                 ## @sourcedesc
	.comm	_EBADF,4,2                      ## @EBADF
	.comm	_errno,4,2                      ## @errno
	.comm	_sourcesize,4,2                 ## @sourcesize
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_sourcebeg,8,3                  ## @sourcebeg
	.comm	_sourceptr,8,3                  ## @sourceptr
	.comm	_sourceleft,4,2                 ## @sourceleft
.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:
Lloh0:
	adrp	x8, _sourcedesc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sourcedesc@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.1:
	tbnz	w1, #31, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _sourcesize@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sourcesize@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	subs	w8, w8, w1
	b.lt	LBB0_5
; %bb.3:
Lloh6:
	adrp	x9, _sourcebeg@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sourcebeg@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x9, x9, w1, uxtw
Lloh9:
	adrp	x10, _sourceptr@GOTPAGE
Lloh10:
	ldr	x10, [x10, _sourceptr@GOTPAGEOFF]
Lloh11:
	str	x9, [x10]
Lloh12:
	adrp	x9, _sourceleft@GOTPAGE
Lloh13:
	ldr	x9, [x9, _sourceleft@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _EBADF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _errno@GOTPAGE
Lloh19:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
LBB0_7:
	str	w8, [x9]
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_sourcedesc,4,2                 ; @sourcedesc
	.comm	_EBADF,4,2                      ; @EBADF
	.comm	_errno,4,2                      ; @errno
	.comm	_sourcesize,4,2                 ; @sourcesize
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_sourcebeg,8,3                  ; @sourcebeg
	.comm	_sourceptr,8,3                  ; @sourceptr
	.comm	_sourceleft,4,2                 ; @sourceleft
.subsections_via_symbols
