	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __lseek
___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
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.1:
	movq	%rsi, %rbx
	cmpl	$0, (%rsi)
	je	LBB0_11
## %bb.2:
	movl	%ecx, %r12d
	movq	%rbx, %rdi
	callq	__io_malloc_sz
	movq	%rax, %r15
	cmpl	$130, %r12d
	je	LBB0_7
## %bb.3:
	cmpl	$129, %r12d
	je	LBB0_9
## %bb.4:
	cmpl	$128, %r12d
	jne	LBB0_5
## %bb.6:
	cmpq	%r14, %r15
	cmovgeq	%r14, %r15
	jmp	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	__io_malloc_sz
	movq	%rax, %r15
	jmp	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	callq	__io_malloc_off
	addq	%r14, %rax
	cmpq	%r15, %rax
	jg	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	__io_malloc_off
	movq	%rax, %r15
	addq	%r14, %r15
	jmp	LBB0_10
LBB0_5:
	movq	%r14, %r15
LBB0_10:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	__io_malloc_set_off
	movq	%r15, %r14
LBB0_11:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___lseek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __lseek
___lseek:                               ; @__lseek
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	cbz	x1, LBB0_9
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x22, x3
	mov	x0, x19
	bl	__io_malloc_sz
	mov	x21, x0
	cmp	w22, #130
	b.eq	LBB0_6
; %bb.3:
	cmp	w22, #129
	b.eq	LBB0_5
; %bb.4:
	cmp	x21, x20
	csel	x8, x21, x20, lt
	cmp	w22, #128
	csel	x21, x20, x8, ne
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	__io_malloc_sz
	mov	x21, x0
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	__io_malloc_off
	add	x8, x0, x20
	cmp	x8, x21
	b.gt	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	__io_malloc_off
	add	x21, x0, x20
LBB0_8:
	mov	x0, x19
	mov	x1, x21
	bl	__io_malloc_set_off
	mov	x20, x21
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___lseek
.subsections_via_symbols
