	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tar_unpack                     ## -- Begin function tar_unpack
	.p2align	4, 0x90
_tar_unpack:                            ## @tar_unpack
	.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	$664, %rsp                      ## imm = 0x298
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -624(%rbp)                ## 8-byte Spill
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -576(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -592(%rbp)                ## 8-byte Spill
	callq	_dyn_mark
	leaq	-632(%rbp), %rdi
	callq	_tar_unpack_dir_mtime_init
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	callq	_gzdopen
	movl	%eax, %ebx
	movl	$16777216, %edi                 ## imm = 0x1000000
	callq	_zmalloc
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	leaq	-560(%rbp), %rsi
	movl	%ebx, %edi
	movl	$512, %edx                      ## imm = 0x200
	callq	_gzread
	xorl	%r14d, %r14d
	cmpl	$512, %eax                      ## imm = 0x200
	jne	LBB0_42
## %bb.1:
	leaq	-560(%rbp), %r15
	movq	%r12, -608(%rbp)                ## 8-byte Spill
	movl	%ebx, -568(%rbp)                ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.8(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%edi, %edi
	callq	_assert
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-568(%rbp), %ebx                ## 4-byte Reload
	leaq	-560(%rbp), %r15
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_gzread
	cmpl	$512, %eax                      ## imm = 0x200
	jne	LBB0_35
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	movq	%r15, %rdi
	callq	_tar_unpack_check_header
	testl	%eax, %eax
	je	LBB0_35
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	-404(%rbp), %bl
	movq	%r15, %rdi
	movl	$124, %esi
	movl	$11, %edx
	callq	_get_oct
	movq	%rax, %r15
	leal	-75(%rbx), %eax
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	cmpb	$1, %al
	ja	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r12d, %r12d
	leaq	-560(%rbp), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_11 Depth=2
	xorl	%edi, %edi
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	setle	%dil
	callq	_assert
	movl	-568(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	movq	-592(%rbp), %rsi                ## 8-byte Reload
	movl	%r15d, %edx
	callq	_gzread
	movl	$1, %r12d
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=2
	xorl	%edi, %edi
	cmpl	%eax, %r15d
	sete	%dil
	callq	_assert
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	%ebx, %edi
	leaq	-560(%rbp), %r13
	movq	%r13, %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_gzread
	xorl	%edi, %edi
	cmpl	$512, %eax                      ## imm = 0x200
	sete	%dil
	callq	_assert
	movq	%r13, %rdi
	callq	_tar_unpack_check_header
	movzbl	-404(%rbp), %ebx
	movq	%r13, %rdi
	movl	$124, %esi
	movl	$11, %edx
	callq	_get_oct
	movq	%rax, %r15
	leal	-75(%rbx), %eax
	cmpb	$2, %al
	jae	LBB0_16
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$13, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	addl	$511, %r15d                     ## imm = 0x1FF
	andl	$-512, %r15d                    ## imm = 0xFE00
	cmpb	$76, %bl
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$75, %bl
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	-568(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	movq	-608(%rbp), %rsi                ## 8-byte Reload
	movl	%r15d, %edx
	callq	_gzread
	movl	$1, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	-568(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-560(%rbp), %r13
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r14d, -612(%rbp)               ## 4-byte Spill
	movq	%r13, %rdi
	movl	$100, %esi
	movl	$7, %edx
	callq	_get_oct
	movq	%rax, %r14
	movq	%r13, %rdi
	movl	$108, %esi
	movl	$7, %edx
	callq	_get_oct
	movq	%rax, -648(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$116, %esi
	movl	$7, %edx
	callq	_get_oct
	movq	%rax, -664(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movl	$136, %esi
	movl	$11, %edx
	callq	_get_oct
	movl	%r12d, %ecx
	testl	%r12d, %r12d
	movq	%rax, -656(%rbp)                ## 8-byte Spill
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-592(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	leaq	-215(%rbp), %rsi
	movl	$167, %edx
	callq	_memcpy
	cmpb	$0, (%r12)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcat
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	-460(%rbp), %r13b
	movb	$0, -460(%rbp)
	movq	%r12, %rdi
	leaq	-560(%rbp), %rsi
	callq	_strcat
	movb	%r13b, -460(%rbp)
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%bl, %ecx
	movq	%rcx, -584(%rbp)                ## 8-byte Spill
	movq	_PATH_MAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	-576(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rdx
	movq	-624(%rbp), %rcx                ## 8-byte Reload
	movq	-592(%rbp), %r8                 ## 8-byte Reload
	callq	_snprintf
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	setl	%dil
	callq	_assert
	movslq	%r15d, %rax
	movq	%rax, -640(%rbp)                ## 8-byte Spill
	subq	$8, %rsp
	movl	$2, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	movq	-648(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %r8
	movq	-664(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %r9
	pushq	-584(%rbp)                      ## 8-byte Folded Reload
	movq	-656(%rbp), %rbx                ## 8-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_vkprintf
	addq	$32, %rsp
	movq	%r14, -600(%rbp)                ## 8-byte Spill
	movl	%r14d, -704(%rbp)
	movq	%r13, -672(%rbp)
	movq	%r12, -680(%rbp)
	movq	-640(%rbp), %rax                ## 8-byte Reload
	movl	%eax, -700(%rbp)
	movq	%rbx, -696(%rbp)
	movq	%rbx, -688(%rbp)
	movq	-576(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	callq	_strlen
	movq	-584(%rbp), %rsi                ## 8-byte Reload
	cmpl	$53, %esi
	je	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$50, %esi
	je	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$48, %esi
	movq	-600(%rbp), %rdx                ## 8-byte Reload
	jne	LBB0_2
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_O_EXCL@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r13, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_open
	testl	%eax, %eax
	js	LBB0_36
## %bb.24:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%r15d, %r15d
	movl	$16777216, %ecx                 ## imm = 0x1000000
	movq	-608(%rbp), %r12                ## 8-byte Reload
	movl	%eax, -584(%rbp)                ## 4-byte Spill
	jle	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, %r13d
	subl	%r14d, %r13d
	cmpl	$16777216, %r13d                ## imm = 0x1000000
	cmovgel	%ecx, %r13d
	leal	511(%r13), %ebx
	andl	$-512, %ebx                     ## imm = 0xFE00
	movl	-568(%rbp), %edi                ## 4-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_gzread
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	movl	-584(%rbp), %edi                ## 4-byte Reload
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_write
	xorl	%edi, %edi
	cmpl	%r13d, %eax
	sete	%dil
	callq	_assert
	movl	$16777216, %ecx                 ## imm = 0x1000000
	addl	%ebx, %r14d
	cmpl	%r15d, %r14d
	jl	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-584(%rbp), %edi                ## 4-byte Reload
	callq	_close
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	-576(%rbp), %rdi                ## 8-byte Reload
	leaq	-704(%rbp), %rsi
	callq	_lcopy_attrs
	testl	%eax, %eax
	movl	-568(%rbp), %ebx                ## 4-byte Reload
	leaq	-560(%rbp), %r15
	jns	LBB0_4
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ebx
	movq	-600(%rbp), %r14                ## 8-byte Reload
	movl	%r14d, %edi
	callq	_S_ISDIR
	movl	%eax, %edi
	callq	_assert
	movslq	%ebx, %rax
	leaq	-1(%rax), %rbx
	testl	%eax, %eax
	jle	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %eax
	cmpb	$47, (%r13,%rax)
	sete	%al
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-600(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_S_ISLNK
	movl	%eax, %edi
	callq	_assert
	movb	-303(%rbp), %r15b
	movb	$0, -303(%rbp)
	cmpl	$0, -612(%rbp)                  ## 4-byte Folded Reload
	movq	-608(%rbp), %rbx                ## 8-byte Reload
	leaq	-403(%rbp), %rax
	cmoveq	%rax, %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_symlink
	testl	%eax, %eax
	jne	LBB0_37
## %bb.31:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	%r15b, -303(%rbp)
	jmp	LBB0_3
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-560(%rbp), %r15
	movzbl	%al, %edi
	callq	_assert
	movb	$0, (%r13,%rbx)
	movq	-592(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%rbx)
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_mkdir
	testl	%eax, %eax
	jne	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	-632(%rbp), %rdi
	movq	%rbx, %rsi
	leaq	-704(%rbp), %rdx
	callq	_tar_unpack_dir_mtime_add
	movl	-568(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_4
LBB0_35:
	xorl	%r14d, %r14d
	jmp	LBB0_42
LBB0_36:
	leaq	L_.str.5(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_kprintf
	movq	_TAR_UNPACK_ERR_OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_37:
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	movq	-576(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_kprintf
	movq	_TAR_UNPACK_ERR_SYMLINK@GOTPCREL(%rip), %rax
	jmp	LBB0_39
LBB0_38:
	leaq	L_.str.7(%rip), %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_kprintf
	movq	_TAR_UNPACK_ERR_MKDIR@GOTPCREL(%rip), %rax
LBB0_39:
	movl	-568(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_41
LBB0_40:
	movq	_TAR_UNPACK_ERR_COPY_ATTRS@GOTPCREL(%rip), %rax
LBB0_41:
	movl	(%rax), %r14d
LBB0_42:
	movl	%ebx, %edi
	callq	_gzclose
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	testl	%r14d, %r14d
	movl	%r14d, %ebx
	jne	LBB0_50
## %bb.43:
	movq	_MAX_DIR_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	jle	LBB0_50
## %bb.44:
	leaq	L_.str.3(%rip), %r12
	movq	-576(%rbp), %r15                ## 8-byte Reload
LBB0_46:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_47 Depth 2
	movq	%r14, -568(%rbp)                ## 8-byte Spill
	decq	%r14
	movq	-632(%rbp), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_45
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_46 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_PATH_MAX@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	(%rbx), %r8
	movq	%r15, %rdi
	movq	%r12, %rdx
	movq	-624(%rbp), %rcx                ## 8-byte Reload
	callq	_snprintf
	xorl	%edi, %edi
	cmpl	(%r13), %eax
	setl	%dil
	callq	_assert
	leaq	8(%rbx), %rsi
	movq	%r15, %rdi
	callq	_lcopy_attrs
	testl	%eax, %eax
	js	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	48(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_47
LBB0_45:                                ##   in Loop: Header=BB0_46 Depth=1
	cmpq	$2, -568(%rbp)                  ## 8-byte Folded Reload
	jge	LBB0_46
## %bb.52:
	xorl	%ebx, %ebx
	jmp	LBB0_50
LBB0_49:
	leaq	L_.str.9(%rip), %rdi
	movq	-576(%rbp), %rsi                ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_kprintf
	movl	$-2, %ebx
LBB0_50:
	callq	_dyn_release
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_53
## %bb.51:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

L_.str.1:                               ## @.str.1
	.asciz	"././@LongLink"

L_.str.2:                               ## @.str.2
	.asciz	"/"

L_.str.3:                               ## @.str.3
	.asciz	"%s/%s"

L_.str.4:                               ## @.str.4
	.asciz	"%s %07o %d %d %lld %u %c\n"

	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_EXCL,4,2                     ## @O_EXCL
L_.str.5:                               ## @.str.5
	.asciz	"open (%s) failed. %m\n"

	.comm	_TAR_UNPACK_ERR_OPEN,4,2        ## @TAR_UNPACK_ERR_OPEN
	.comm	_TAR_UNPACK_ERR_COPY_ATTRS,4,2  ## @TAR_UNPACK_ERR_COPY_ATTRS
L_.str.6:                               ## @.str.6
	.asciz	"symlink (%s, %s) fail. %m\n"

	.comm	_TAR_UNPACK_ERR_SYMLINK,4,2     ## @TAR_UNPACK_ERR_SYMLINK
L_.str.7:                               ## @.str.7
	.asciz	"mkdir (%s, %07o) fail. %m\n"

	.comm	_TAR_UNPACK_ERR_MKDIR,4,2       ## @TAR_UNPACK_ERR_MKDIR
L_.str.8:                               ## @.str.8
	.asciz	"unimplemented file type %c\n"

	.comm	_Z_OK,8,3                       ## @Z_OK
	.comm	_MAX_DIR_DEPTH,4,2              ## @MAX_DIR_DEPTH
L_.str.9:                               ## @.str.9
	.asciz	"lcopy_attrs (%s) returns error code %d. %m\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tar_unpack                     ; -- Begin function tar_unpack
	.p2align	2
_tar_unpack:                            ; @tar_unpack
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #640
	mov	x19, sp
	mov	x25, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x27, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x27, [x27, _PATH_MAX@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x1fffffff0
	sub	x28, x9, x12
	mov	sp, x28
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	bl	_dyn_mark
	add	x0, x19, #104
	bl	_tar_unpack_dir_mtime_init
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_gzdopen
	mov	x22, x0
	mov	w0, #16777216
	bl	_zmalloc
	mov	x24, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	add	x20, x19, #112
	add	x1, x19, #112
	mov	x0, x22
	mov	w2, #512
	bl	_gzread
	cmp	w0, #512
	b.ne	LBB0_33
; %bb.1:
	add	x9, x20, #345
	add	x8, x20, #157
	stp	x8, x9, [x19, #8]               ; 16-byte Folded Spill
Lloh11:
	adrp	x21, l_.str.1@PAGE
Lloh12:
	add	x21, x21, l_.str.1@PAGEOFF
	stp	x23, x25, [x19, #40]            ; 16-byte Folded Spill
	stp	x24, x28, [x19, #24]            ; 16-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x26, [sp, #-16]!
Lloh13:
	adrp	x0, l_.str.8@PAGE
Lloh14:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_kprintf
	add	sp, sp, #16
	mov	w0, #0
	bl	_assert
	ldr	x25, [x19, #48]                 ; 8-byte Folded Reload
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x19, #112
	mov	x0, x22
	mov	w2, #512
	bl	_gzread
	cmp	w0, #512
Lloh15:
	adrp	x21, l_.str.1@PAGE
Lloh16:
	add	x21, x21, l_.str.1@PAGEOFF
	b.ne	LBB0_33
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
	add	x0, x19, #112
	bl	_tar_unpack_check_header
	cbz	w0, LBB0_33
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w28, [x19, #268]
	add	x0, x19, #112
	mov	w1, #124
	mov	w2, #11
	bl	_get_oct
	mov	x25, x0
	sub	w8, w28, #75
	cmp	w8, #1
	b.hi	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x19, #60]                 ; 4-byte Folded Spill
	mov	w26, #0
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x27]
	cmp	w20, w8
	cset	w0, le
	bl	_assert
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_gzread
	mov	w26, #1
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	cmp	w20, w0
	cset	w0, eq
	bl	_assert
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x1, x19, #112
	mov	x0, x22
	mov	w2, #512
	bl	_gzread
	cmp	w0, #512
	cset	w0, eq
	bl	_assert
	add	x0, x19, #112
	bl	_tar_unpack_check_header
	ldrb	w28, [x19, #268]
	add	x0, x19, #112
	mov	w1, #124
	mov	w2, #11
	bl	_get_oct
	mov	x25, x0
	sub	w8, w28, #75
	cmp	w8, #2
	b.hs	LBB0_14
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, x19, #112
	mov	x1, x21
	mov	w2, #13
	bl	_memcmp
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	add	w8, w25, #511
	and	w20, w8, #0xfffffe00
	and	w8, w28, #0xff
	cmp	w8, #76
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w8, #75
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	bl	_gzread
	mov	w8, #1
	str	w8, [x19, #60]                  ; 4-byte Folded Spill
	b	LBB0_8
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	str	wzr, [x19, #60]                 ; 4-byte Folded Spill
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x19, #112
	mov	w1, #100
	mov	w2, #7
	bl	_get_oct
	mov	x27, x0
	add	x0, x19, #112
	mov	w1, #108
	mov	w2, #7
	bl	_get_oct
	mov	x24, x0
	add	x0, x19, #112
	mov	w1, #116
	mov	w2, #7
	bl	_get_oct
	mov	x20, x0
	add	x0, x19, #112
	mov	w1, #136
	mov	w2, #11
	bl	_get_oct
	mov	x21, x0
	cbnz	w26, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	ldr	x1, [x19, #16]                  ; 8-byte Folded Reload
	mov	w2, #167
	bl	_memcpy
	ldrb	w8, [x23]
	cbz	w8, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcat
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w26, [x19, #212]
	strb	wzr, [x19, #212]
	add	x1, x19, #112
	mov	x0, x23
	bl	_strcat
	strb	w26, [x19, #212]
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w26, w28
Lloh19:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
	mov	x4, x23
	mov	x23, x8
	ldr	w1, [x8]
	ldr	x28, [x19, #32]                 ; 8-byte Folded Reload
	mov	x0, x28
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	ldr	x3, [x19, #48]                  ; 8-byte Folded Reload
	bl	_snprintf
	ldr	w8, [x23]
	cmp	w0, w8
	cset	w0, lt
	bl	_assert
	sxtw	x6, w25
	strb	w26, [sp, #-16]!
	mov	w0, #2
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x28
	mov	x3, x27
	mov	x4, x24
	mov	x5, x20
	mov	x7, x21
	bl	_vkprintf
	add	sp, sp, #16
	stp	x20, x24, [x19, #88]
	stp	w27, w25, [x19, #64]
	stp	x21, x21, [x19, #72]
	mov	x0, x28
	bl	_strlen
	cmp	w26, #53
	b.eq	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, #50
	ldr	x24, [x19, #24]                 ; 8-byte Folded Reload
	b.eq	LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x27
	cmp	w26, #48
Lloh25:
	adrp	x27, _PATH_MAX@GOTPAGE
Lloh26:
	ldr	x27, [x27, _PATH_MAX@GOTPAGEOFF]
	ldr	x23, [x19, #40]                 ; 8-byte Folded Reload
	b.ne	LBB0_2
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh27:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh31:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _O_WRONLY@GOTPAGE
Lloh34:
	ldr	x9, [x9, _O_WRONLY@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _O_EXCL@GOTPAGE
Lloh37:
	ldr	x9, [x9, _O_EXCL@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x28
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_open
	mov	w26, #16777216
	tbnz	w0, #31, LBB0_45
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x0
	cmp	w25, #1
	b.lt	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
LBB0_24:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w8, w25, w23
	cmp	w8, w26
	csel	w21, w8, w26, lt
	add	w8, w21, #511
	and	w27, w8, #0xfffffe00
	mov	x0, x22
	mov	x1, x24
	mov	x2, x27
	bl	_gzread
	cmp	w27, w0
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	mov	x1, x24
	mov	x2, x21
	bl	_write
	cmp	w0, w21
	cset	w0, eq
	bl	_assert
	add	w23, w27, w23
	cmp	w23, w25
	b.lt	LBB0_24
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_close
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	add	x1, x19, #64
	mov	x0, x28
	bl	_lcopy_attrs
Lloh39:
	adrp	x27, _PATH_MAX@GOTPAGE
Lloh40:
	ldr	x27, [x27, _PATH_MAX@GOTPAGEOFF]
	ldp	x23, x25, [x19, #40]            ; 16-byte Folded Reload
	tbz	w0, #31, LBB0_3
	b	LBB0_48
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x0
	mov	x26, x27
	mov	x0, x27
	bl	_S_ISDIR
	bl	_assert
	sxtw	x8, w20
	sub	x21, x8, #1
	cmp	w20, #1
	ldr	x24, [x19, #24]                 ; 8-byte Folded Reload
	b.lt	LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x28, w21, uxtw]
	cmp	w8, #47
	cset	w0, eq
	b	LBB0_31
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_S_ISLNK
	bl	_assert
	ldrb	w21, [x19, #369]
	strb	wzr, [x19, #369]
	ldr	w8, [x19, #60]                  ; 4-byte Folded Reload
	cmp	w8, #0
	ldr	x8, [x19, #8]                   ; 8-byte Folded Reload
	csel	x20, x8, x24, eq
	mov	x0, x20
	mov	x1, x28
	bl	_symlink
Lloh41:
	adrp	x27, _PATH_MAX@GOTPAGE
Lloh42:
	ldr	x27, [x27, _PATH_MAX@GOTPAGEOFF]
	ldp	x23, x25, [x19, #40]            ; 16-byte Folded Reload
	cbnz	w0, LBB0_46
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	w21, [x19, #369]
	b	LBB0_3
LBB0_30:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh43:
	adrp	x27, _PATH_MAX@GOTPAGE
Lloh44:
	ldr	x27, [x27, _PATH_MAX@GOTPAGEOFF]
	ldp	x23, x25, [x19, #40]            ; 16-byte Folded Reload
	bl	_assert
	strb	wzr, [x28, x21]
	mov	x0, x23
	bl	_strlen
	add	x8, x23, w0, sxtw
	sturb	wzr, [x8, #-1]
	mov	x0, x28
	mov	x20, x26
	mov	x1, x20
	bl	_mkdir
	cbnz	w0, LBB0_47
; %bb.32:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x19, #104
	add	x2, x19, #64
	mov	x1, x23
	bl	_tar_unpack_dir_mtime_add
	b	LBB0_3
LBB0_33:
	mov	w21, #0
LBB0_34:
	mov	x0, x22
	bl	_gzclose
Lloh45:
	adrp	x8, _Z_OK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	cbnz	w21, LBB0_43
; %bb.35:
Lloh48:
	adrp	x8, _MAX_DIR_DEPTH@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MAX_DIR_DEPTH@GOTPAGEOFF]
Lloh50:
	ldr	w22, [x8]
	cmp	w22, #1
	b.lt	LBB0_42
; %bb.36:
Lloh51:
	adrp	x20, l_.str.3@PAGE
Lloh52:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=1
	mov	w21, #0
	cmp	x22, #2
	mov	x22, x23
	b.lt	LBB0_43
LBB0_38:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_39 Depth 2
	sub	x23, x22, #1
	ldr	x8, [x19, #104]
	ldr	x24, [x8, w23, uxtw #3]
	cbz	x24, LBB0_37
LBB0_39:                                ;   Parent Loop BB0_38 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x27]
	mov	x21, x24
	ldr	x4, [x21], #8
	mov	x0, x28
	mov	x2, x20
	mov	x3, x25
	bl	_snprintf
	ldr	w8, [x27]
	cmp	w0, w8
	cset	w0, lt
	bl	_assert
	mov	x0, x28
	mov	x1, x21
	bl	_lcopy_attrs
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=2
	ldr	x24, [x24, #48]
	cbnz	x24, LBB0_39
	b	LBB0_37
LBB0_41:
	stp	x28, x0, [sp, #-16]!
Lloh53:
	adrp	x0, l_.str.9@PAGE
Lloh54:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_kprintf
	add	sp, sp, #16
	mov	w21, #-2
	b	LBB0_43
LBB0_42:
	mov	w21, #0
LBB0_43:
	bl	_dyn_release
	ldur	x8, [x29, #-96]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_49
; %bb.44:
	mov	x0, x21
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_45:
	str	x28, [sp, #-16]!
Lloh58:
	adrp	x0, l_.str.5@PAGE
Lloh59:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_kprintf
	add	sp, sp, #16
Lloh60:
	adrp	x8, _TAR_UNPACK_ERR_OPEN@GOTPAGE
Lloh61:
	ldr	x8, [x8, _TAR_UNPACK_ERR_OPEN@GOTPAGEOFF]
	ldr	x25, [x19, #48]                 ; 8-byte Folded Reload
Lloh62:
	ldr	w21, [x8]
	b	LBB0_34
LBB0_46:
	stp	x20, x28, [sp, #-16]!
Lloh63:
	adrp	x0, l_.str.6@PAGE
Lloh64:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_kprintf
	add	sp, sp, #16
Lloh65:
	adrp	x8, _TAR_UNPACK_ERR_SYMLINK@GOTPAGE
Lloh66:
	ldr	x8, [x8, _TAR_UNPACK_ERR_SYMLINK@GOTPAGEOFF]
Lloh67:
	ldr	w21, [x8]
	b	LBB0_34
LBB0_47:
	stp	x28, x20, [sp, #-16]!
Lloh68:
	adrp	x0, l_.str.7@PAGE
Lloh69:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_kprintf
	add	sp, sp, #16
Lloh70:
	adrp	x8, _TAR_UNPACK_ERR_MKDIR@GOTPAGE
Lloh71:
	ldr	x8, [x8, _TAR_UNPACK_ERR_MKDIR@GOTPAGEOFF]
Lloh72:
	ldr	w21, [x8]
	b	LBB0_34
LBB0_48:
Lloh73:
	adrp	x8, _TAR_UNPACK_ERR_COPY_ATTRS@GOTPAGE
Lloh74:
	ldr	x8, [x8, _TAR_UNPACK_ERR_COPY_ATTRS@GOTPAGEOFF]
Lloh75:
	ldr	w21, [x8]
	b	LBB0_34
LBB0_49:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

l_.str.1:                               ; @.str.1
	.asciz	"././@LongLink"

l_.str.2:                               ; @.str.2
	.asciz	"/"

l_.str.3:                               ; @.str.3
	.asciz	"%s/%s"

l_.str.4:                               ; @.str.4
	.asciz	"%s %07o %d %d %lld %u %c\n"

	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_EXCL,4,2                     ; @O_EXCL
l_.str.5:                               ; @.str.5
	.asciz	"open (%s) failed. %m\n"

	.comm	_TAR_UNPACK_ERR_OPEN,4,2        ; @TAR_UNPACK_ERR_OPEN
	.comm	_TAR_UNPACK_ERR_COPY_ATTRS,4,2  ; @TAR_UNPACK_ERR_COPY_ATTRS
l_.str.6:                               ; @.str.6
	.asciz	"symlink (%s, %s) fail. %m\n"

	.comm	_TAR_UNPACK_ERR_SYMLINK,4,2     ; @TAR_UNPACK_ERR_SYMLINK
l_.str.7:                               ; @.str.7
	.asciz	"mkdir (%s, %07o) fail. %m\n"

	.comm	_TAR_UNPACK_ERR_MKDIR,4,2       ; @TAR_UNPACK_ERR_MKDIR
l_.str.8:                               ; @.str.8
	.asciz	"unimplemented file type %c\n"

	.comm	_Z_OK,8,3                       ; @Z_OK
	.comm	_MAX_DIR_DEPTH,4,2              ; @MAX_DIR_DEPTH
l_.str.9:                               ; @.str.9
	.asciz	"lcopy_attrs (%s) returns error code %d. %m\n"

.subsections_via_symbols
