	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function header_ustar
_header_ustar:                          ## @header_ustar
	.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	%rcx, %r15
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	16(%rsi), %rbx
	movq	32(%rcx), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_archive_strncpy
	movq	(%rbx), %r14
	movq	%rbx, %rdi
	callq	_archive_strlen
	cltq
	cmpb	$47, -1(%rax,%r14)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_archive_strappend_char
LBB0_3:
	movq	24(%r15), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_archive_strncat
	jmp	LBB0_5
LBB0_4:
	movq	24(%r15), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_archive_strncpy
LBB0_5:
	movq	16(%r13), %r14
	movq	%rbx, %rdi
	callq	_archive_strlen
	movl	8(%r13), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_archive_entry_copy_pathname_l
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	8(%r13), %esi
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_set_conversion_failed_error
	movl	%eax, %r12d
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	%r12d, %ebx
	cmpl	(%rax), %r12d
	je	LBB0_15
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_header_common
	movl	%eax, %ebx
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	je	LBB0_15
## %bb.8:
	cmpl	%r12d, %ebx
	cmovgel	%r12d, %ebx
	movl	20(%r15), %esi
	movl	8(%r13), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_archive_entry_copy_uname_l
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	8(%r13), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_set_conversion_failed_error
	movl	%eax, %ebx
	cmpl	(%r14), %eax
	je	LBB0_15
LBB0_10:
	movl	16(%r15), %esi
	movl	8(%r13), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_archive_entry_copy_gname_l
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	8(%r13), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_set_conversion_failed_error
	movl	%eax, %ebx
	cmpl	(%r14), %eax
	je	LBB0_15
LBB0_12:
	movq	(%r15), %rax
	movb	(%rax), %al
	addb	$-51, %al
	cmpb	$1, %al
	ja	LBB0_14
## %bb.13:
	movl	12(%r15), %edi
	movl	$4, %esi
	callq	_tar_atol
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_archive_entry_set_rdevmajor
	movl	8(%r15), %edi
	movl	$4, %esi
	callq	_tar_atol
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_archive_entry_set_rdevminor
LBB0_14:
	xorl	%eax, %eax
	subl	4(%r13), %eax
	andl	$511, %eax                      ## imm = 0x1FF
	movl	%eax, (%r13)
LBB0_15:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pathname"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
L_.str.1:                               ## @.str.1
	.asciz	"Uname"

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

	.no_dead_strip	_header_ustar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function header_ustar
_header_ustar:                          ; @header_ustar
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	add	x23, x1, #16
	ldr	x1, [x3, #32]
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x0, x23
	mov	w2, #8
	bl	_archive_strncpy
	ldr	x25, [x23]
	mov	x0, x23
	bl	_archive_strlen
	add	x8, x25, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x23
	mov	w1, #47
	bl	_archive_strappend_char
LBB0_3:
	ldr	x1, [x21, #24]
	mov	x0, x23
	mov	w2, #8
	bl	_archive_strncat
	b	LBB0_5
LBB0_4:
	ldr	x1, [x21, #24]
	mov	x0, x23
	mov	w2, #8
	bl	_archive_strncpy
LBB0_5:
	ldr	x25, [x19, #16]
	mov	x0, x23
	bl	_archive_strlen
	mov	x2, x0
	ldr	w3, [x19, #8]
	mov	x0, x20
	mov	x1, x25
	bl	_archive_entry_copy_pathname_l
Lloh3:
	adrp	x25, _ARCHIVE_FATAL@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ARCHIVE_FATAL@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x19, #8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	bl	_set_conversion_failed_error
	mov	x24, x0
	ldr	w8, [x25]
	mov	x23, x0
	cmp	w0, w8
	b.eq	LBB0_15
LBB0_7:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_header_common
	mov	x23, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_15
; %bb.8:
	cmp	w23, w24
	csel	w23, w23, w24, lt
	ldr	w1, [x21, #20]
	ldr	w3, [x19, #8]
	mov	x0, x20
	mov	w2, #4
	bl	_archive_entry_copy_uname_l
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w1, [x19, #8]
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_set_conversion_failed_error
	mov	x23, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_15
LBB0_10:
	ldr	w1, [x21, #16]
	ldr	w3, [x19, #8]
	mov	x0, x20
	mov	w2, #4
	bl	_archive_entry_copy_gname_l
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w1, [x19, #8]
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_set_conversion_failed_error
	mov	x23, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_15
LBB0_12:
	ldr	x8, [x21]
	ldrb	w8, [x8]
	sub	w8, w8, #51
	cmp	w8, #1
	b.hi	LBB0_14
; %bb.13:
	ldr	w0, [x21, #12]
	mov	w1, #4
	bl	_tar_atol
	mov	x1, x0
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_archive_entry_set_rdevmajor
	ldr	w0, [x21, #8]
	mov	w1, #4
	bl	_tar_atol
	mov	x1, x0
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_archive_entry_set_rdevminor
LBB0_14:
	ldr	w8, [x19, #4]
	neg	w8, w8
	and	w8, w8, #0x1ff
	str	w8, [x19]
LBB0_15:
	mov	x0, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pathname"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
l_.str.1:                               ; @.str.1
	.asciz	"Uname"

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

	.no_dead_strip	_header_ustar
.subsections_via_symbols
