	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_seek
_file_seek:                             ## @file_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	16(%rsi), %edi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_lseek
	testq	%rax, %rax
	jns	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	movq	_FNT_STDIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
	jmp	LBB0_7
LBB0_3:
	movq	_FNT_MBS@GOTPCREL(%rip), %rcx
	movq	_errno@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	12(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_6
LBB0_5:
	movl	8(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdx
LBB0_6:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_7:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FNT_STDIN,8,3                  ## @FNT_STDIN
	.comm	_errno,4,2                      ## @errno
	.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'"

	.comm	_ARCHIVE_FATAL,8,3              ## @ARCHIVE_FATAL
	.no_dead_strip	_file_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_seek
_file_seek:                             ; @file_seek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #16]
	mov	x1, x2
	mov	x2, x3
	bl	_lseek
	tbz	x0, #63, LBB0_7
; %bb.1:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _FNT_STDIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FNT_STDIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x9, _FNT_MBS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FNT_MBS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _errno@GOTPAGE
Lloh12:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x10]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x20, #12]
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	w8, [x20, #8]
	str	x8, [sp]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_archive_set_error
Lloh18:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FNT_STDIN,8,3                  ; @FNT_STDIN
	.comm	_errno,4,2                      ; @errno
	.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'"

	.comm	_ARCHIVE_FATAL,8,3              ; @ARCHIVE_FATAL
	.no_dead_strip	_file_seek
.subsections_via_symbols
