	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gnu_sparse_old_read
_gnu_sparse_old_read:                   ## @gnu_sparse_old_read
	.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
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	8(%rdx), %rdx
	movl	$4, %ecx
	callq	_gnu_sparse_old_parse
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_10
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_tar_flush_unconsumed
	movq	%r13, %rdi
	movl	$512, %esi                      ## imm = 0x200
	leaq	-44(%rbp), %rdx
	callq	___archive_read_ahead
	movq	%rax, %rbx
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_1
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$511, %eax                      ## imm = 0x1FF
	jbe	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$512, (%r15)                    ## imm = 0x200
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	$21, %ecx
	callq	_gnu_sparse_old_parse
	cmpq	(%r12), %rax
	jne	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, 84(%rbx)
	jne	LBB0_3
## %bb.8:
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	jmp	LBB0_10
LBB0_5:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_archive_set_error
LBB0_1:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Truncated tar archive detected while reading sparse file data"

	.no_dead_strip	_gnu_sparse_old_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gnu_sparse_old_read
_gnu_sparse_old_read:                   ; @gnu_sparse_old_read
	.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, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x2, [x2, #8]
	mov	w3, #4
	bl	_gnu_sparse_old_parse
Lloh0:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.1:
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.2:
	mov	w24, #512
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_tar_flush_unconsumed
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #512
	bl	___archive_read_ahead
	ldr	w8, [sp, #12]
	tbnz	w8, #31, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #511
	b.ls	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	str	x24, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	w3, #21
	bl	_gnu_sparse_old_parse
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x22, #84]
	cbnz	w8, LBB0_3
; %bb.7:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_12
LBB0_9:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_12
LBB0_10:
Lloh2:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_archive_set_error
LBB0_11:
Lloh7:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_12:
                                        ; kill: def $w0 killed $w0 killed $x0
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Truncated tar archive detected while reading sparse file data"

	.no_dead_strip	_gnu_sparse_old_read
.subsections_via_symbols
