	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_skip_lseek
_file_skip_lseek:                       ## @file_skip_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	%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	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	24(%rsi), %edi
	movq	_SEEK_CUR@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_lseek
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	movl	24(%r13), %edi
	movl	(%r14), %edx
	movl	%r12d, %esi
	callq	_lseek
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	subl	%ebx, %eax
	movl	%eax, %r15d
	jmp	LBB0_11
LBB0_3:
	movq	$0, 16(%r13)
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ESPIPE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_11
## %bb.4:
	movq	(%r13), %rax
	movq	_FNT_STDIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_archive_set_error
	jmp	LBB0_10
LBB0_6:
	movq	_FNT_MBS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movl	12(%r13), %ecx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_9
LBB0_8:
	movl	8(%r13), %ecx
	leaq	L_.str.2(%rip), %rdx
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_10:
	movl	$-1, %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_errno,8,3                      ## @errno
	.comm	_ESPIPE,8,3                     ## @ESPIPE
	.comm	_FNT_STDIN,8,3                  ## @FNT_STDIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error seeking in stdin"

	.comm	_FNT_MBS,8,3                    ## @FNT_MBS
L_.str.1:                               ## @.str.1
	.asciz	"Error seeking in '%s'"

L_.str.2:                               ## @.str.2
	.asciz	"Error seeking in '%S'"

	.no_dead_strip	_file_skip_lseek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_skip_lseek
_file_skip_lseek:                       ; @file_skip_lseek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #24]
Lloh0:
	adrp	x23, _SEEK_CUR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SEEK_CUR@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #0
	bl	_lseek
	tbnz	w0, #31, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	w0, [x20, #24]
	ldr	w2, [x23]
	mov	x1, x21
	bl	_lseek
	tbnz	w0, #31, LBB0_3
; %bb.2:
	sub	w0, w0, w22
	b	LBB0_11
LBB0_3:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	str	xzr, [x20, #16]
Lloh4:
	ldr	x1, [x8]
Lloh5:
	adrp	x8, _ESPIPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ESPIPE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_11
LBB0_5:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _FNT_STDIN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FNT_STDIN@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_10
LBB0_7:
Lloh13:
	adrp	x9, _FNT_MBS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _FNT_MBS@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	ldr	w8, [x20, #12]
	str	x8, [sp]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
	ldr	w8, [x20, #8]
	str	x8, [sp]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_archive_set_error
	mov	w0, #-1
LBB0_11:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_errno,8,3                      ; @errno
	.comm	_ESPIPE,8,3                     ; @ESPIPE
	.comm	_FNT_STDIN,8,3                  ; @FNT_STDIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error seeking in stdin"

	.comm	_FNT_MBS,8,3                    ; @FNT_MBS
l_.str.1:                               ; @.str.1
	.asciz	"Error seeking in '%s'"

l_.str.2:                               ; @.str.2
	.asciz	"Error seeking in '%S'"

	.no_dead_strip	_file_skip_lseek
.subsections_via_symbols
