	.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	(%rsi), %edi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_lseek
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ESPIPE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rbx
	cmoveq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rbx
	movq	%r14, %rdi
	callq	_archive_set_error
	movq	(%rbx), %rax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ESPIPE,8,3                     ## @ESPIPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"A file descriptor(%d) is not seekable(PIPE)"

	.comm	_ARCHIVE_FAILED,8,3             ## @ARCHIVE_FAILED
L_.str.1:                               ## @.str.1
	.asciz	"Error seeking in a file descriptor(%d)"

	.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:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	mov	x1, x2
	mov	x2, x3
	bl	_lseek
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
Lloh3:
	adrp	x8, _ESPIPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ESPIPE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w3, [x20]
Lloh6:
	adrp	x9, l_.str.1@PAGE
Lloh7:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh8:
	adrp	x10, l_.str@PAGE
Lloh9:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x1, x8
	csel	x2, x10, x9, eq
Lloh10:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh12:
	adrp	x9, _ARCHIVE_FATAL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ARCHIVE_FATAL@GOTPAGEOFF]
	csel	x20, x8, x9, eq
	mov	x0, x19
	bl	_archive_set_error
	ldr	x0, [x20]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ESPIPE,8,3                     ; @ESPIPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"A file descriptor(%d) is not seekable(PIPE)"

	.comm	_ARCHIVE_FAILED,8,3             ; @ARCHIVE_FAILED
l_.str.1:                               ; @.str.1
	.asciz	"Error seeking in a file descriptor(%d)"

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