	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _tarReadRaw
__tarReadRaw:                           ## @_tarReadRaw
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r8
	movq	%rdx, %rbx
	movq	%rsi, %rdx
	movq	24(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	movq	8(%rdi), %rsi
	subq	%rsi, %r14
	jne	LBB0_6
## %bb.1:
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_2:
	testq	%r12, %r12
	je	LBB0_10
## %bb.3:
	addq	%r14, %rdx
	movq	%rdx, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_fread
	cmpq	%rbx, %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_9
## %bb.4:
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_feof
	testl	%eax, %eax
	je	LBB0_16
## %bb.5:
	movq	%r15, %rbx
	jmp	LBB0_9
LBB0_6:
	movq	%rdi, %r15
	cmpq	%rbx, %r14
	cmovaeq	%rbx, %r14
	addq	16(%rdi), %rsi
	movq	%rdx, %rdi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	movq	%r12, %r13
	movq	%r8, %r12
	callq	_memcpy
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%r13, %r12
	addq	%r14, 8(%r15)
	subq	%r14, %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_9:
	addq	%r14, %rbx
	addq	%rbx, (%r13)
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	testq	%r8, %r8
	je	LBB0_15
## %bb.11:
	movl	8(%r8), %ecx
	addq	%r14, %rdx
	testl	%ecx, %ecx
	je	LBB0_17
## %bb.12:
	movq	%r8, %r15
	movq	%rdx, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	callq	_GZREAD
	cmpq	%rbx, %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_9
## %bb.13:
	movq	%rax, %r12
	movl	8(%r15), %edi
	callq	_GZEOF
	testl	%eax, %eax
	jne	LBB0_14
## %bb.20:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fatal
	movq	%r12, %rbx
	jmp	LBB0_9
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_8
LBB0_16:
	movq	%r12, %rdi
	callq	_READ_ERROR_EXIT
	movq	%r15, %rbx
	jmp	LBB0_9
LBB0_17:
	movq	%r8, %r15
	movq	(%r8), %rcx
	movq	%rdx, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	callq	_fread
	cmpq	%rbx, %rax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_9
## %bb.18:
	movq	%rax, %r12
	movq	(%r15), %rdi
	callq	_feof
	testl	%eax, %eax
	je	LBB0_21
LBB0_14:
	movq	%r12, %rbx
	jmp	LBB0_9
LBB0_21:
	movq	(%r15), %rdi
	callq	_READ_ERROR_EXIT
	movq	%r12, %rbx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not read from input file: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"internal error -- neither th nor fh specified in _tarReadRaw()"

	.comm	_Z_ERRNO,4,2                    ## @Z_ERRNO
	.no_dead_strip	__tarReadRaw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _tarReadRaw
__tarReadRaw:                           ; @_tarReadRaw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	ldr	x25, [x0, #24]
	ldp	x9, x8, [x0]
	subs	x9, x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x19, #0
	cbnz	x20, LBB0_3
	b	LBB0_18
LBB0_2:
	mov	x24, x0
	cmp	x9, x20
	csel	x19, x9, x20, lo
	ldr	x9, [x0, #16]
	add	x1, x9, x8
	mov	x0, x23
	mov	x2, x19
	bl	_memcpy
	ldr	x8, [x24, #8]
	add	x8, x8, x19
	str	x8, [x24, #8]
	sub	x20, x20, x19
	cbz	x20, LBB0_18
LBB0_3:
	cbz	x22, LBB0_7
; %bb.4:
	add	x0, x23, x19
	mov	w1, #1
	mov	x2, x20
	mov	x3, x22
	bl	_fread
	cmp	x0, x20
	b.eq	LBB0_18
; %bb.5:
	mov	x21, x0
	mov	x0, x22
	bl	_feof
	cbz	w0, LBB0_13
; %bb.6:
	mov	x20, x21
	b	LBB0_18
LBB0_7:
	cbz	x21, LBB0_12
; %bb.8:
	ldr	w3, [x21, #8]
	add	x0, x23, x19
	cbz	w3, LBB0_14
; %bb.9:
	mov	w1, #1
	mov	x2, x20
	bl	_GZREAD
	cmp	x0, x20
	b.eq	LBB0_18
; %bb.10:
	mov	x22, x0
	ldr	w0, [x21, #8]
	bl	_GZEOF
	cbnz	w0, LBB0_17
; %bb.11:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
	b	LBB0_17
LBB0_12:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
	mov	x20, #0
	b	LBB0_18
LBB0_13:
	mov	x0, x22
	bl	_READ_ERROR_EXIT
	mov	x20, x21
	b	LBB0_18
LBB0_14:
	ldr	x3, [x21]
	mov	w1, #1
	mov	x2, x20
	bl	_fread
	cmp	x0, x20
	b.eq	LBB0_18
; %bb.15:
	mov	x22, x0
	ldr	x0, [x21]
	bl	_feof
	cbnz	w0, LBB0_17
; %bb.16:
	ldr	x0, [x21]
	bl	_READ_ERROR_EXIT
LBB0_17:
	mov	x20, x22
LBB0_18:
	ldr	x8, [x25]
	add	x0, x20, x19
	add	x8, x8, x0
	str	x8, [x25]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not read from input file: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"internal error -- neither th nor fh specified in _tarReadRaw()"

	.comm	_Z_ERRNO,4,2                    ; @Z_ERRNO
	.no_dead_strip	__tarReadRaw
.subsections_via_symbols
