	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mac_metadata_blob
_read_mac_metadata_blob:                ## @read_mac_metadata_blob
	.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	%r8, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_archive_entry_pathname_w
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rcx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%rcx)
	cmovneq	%rcx, %rax
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addq	$4, %rcx
	movl	-4(%rcx), %edx
	cmpl	$47, %edx
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, %edx
	jne	LBB0_2
## %bb.4:
	cmpl	$46, (%rax)
	jne	LBB0_7
## %bb.5:
	cmpl	$95, 4(%rax)
	jne	LBB0_7
## %bb.6:
	cmpl	$0, 8(%rax)
	jne	LBB0_16
	jmp	LBB0_7
LBB0_9:
	movq	%rbx, %rdi
	callq	_archive_entry_pathname
	testq	%rax, %rax
	je	LBB0_20
## %bb.10:
	movq	%rax, %rcx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$0, (%rcx)
	cmovneq	%rcx, %rax
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	incq	%rcx
	movzbl	-1(%rcx), %edx
	cmpb	$47, %dl
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	testb	%dl, %dl
	jne	LBB0_11
## %bb.13:
	cmpb	$46, (%rax)
	jne	LBB0_7
## %bb.14:
	cmpb	$95, 1(%rax)
	jne	LBB0_7
## %bb.15:
	cmpb	$0, 2(%rax)
	je	LBB0_7
LBB0_16:
	movq	%rbx, %rdi
	callq	_archive_entry_size
	movslq	%eax, %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	___archive_read_ahead
	testq	%rax, %rax
	je	LBB0_17
## %bb.19:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	_archive_entry_copy_mac_metadata
	addl	$511, %r13d                     ## imm = 0x1FF
	andl	$-512, %r13d                    ## imm = 0xFE00
	movslq	%r13d, %rax
	movq	%rax, (%r14)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_tar_flush_unconsumed
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tar_read_header                ## TAILCALL
LBB0_7:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_17:
	movq	$0, (%r14)
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.no_dead_strip	_read_mac_metadata_blob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mac_metadata_blob
_read_mac_metadata_blob:                ; @read_mac_metadata_blob
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x4
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x2
	bl	_archive_entry_pathname_w
	cbz	x0, LBB0_9
; %bb.1:
	add	x8, x0, #4
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x8]
	cmp	w9, #0
	csel	x0, x0, x8, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x8, #-4]
	cmp	w9, #47
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w9, LBB0_3
; %bb.6:
	ldr	w8, [x0]
	cmp	w8, #46
	b.ne	LBB0_20
; %bb.7:
	ldr	w8, [x0, #4]
	cmp	w8, #95
	b.ne	LBB0_20
; %bb.8:
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_18
	b	LBB0_20
LBB0_9:
	mov	x0, x20
	bl	_archive_entry_pathname
	cbz	x0, LBB0_22
; %bb.10:
	add	x8, x0, #1
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #0
	csel	x0, x0, x8, eq
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x8, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldurb	w9, [x8, #-1]
	cmp	w9, #47
	b.eq	LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cbnz	w9, LBB0_12
; %bb.15:
	ldrb	w8, [x0]
	cmp	w8, #46
	b.ne	LBB0_20
; %bb.16:
	ldrb	w8, [x0, #1]
	cmp	w8, #95
	b.ne	LBB0_20
; %bb.17:
	ldrb	w8, [x0, #2]
	cbz	w8, LBB0_20
LBB0_18:
	mov	x0, x20
	bl	_archive_entry_size
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x23, w0
	mov	x0, x22
	mov	x1, x23
	mov	x2, #0
	bl	___archive_read_ahead
	cbz	x0, LBB0_23
; %bb.19:
	mov	x1, x0
	mov	x0, x20
	mov	x2, x23
	bl	_archive_entry_copy_mac_metadata
	add	w8, w23, #511
	and	w8, w8, #0xfffffe00
	sxtw	x8, w8
	str	x8, [x19]
	mov	x0, x22
	mov	x1, x19
	bl	_tar_flush_unconsumed
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_tar_read_header
LBB0_20:
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_22:
Lloh2:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
	b	LBB0_21
LBB0_23:
	str	xzr, [x19]
Lloh4:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.no_dead_strip	_read_mac_metadata_blob
.subsections_via_symbols
