	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_write_pax_data
_archive_write_pax_data:                ## @archive_write_pax_data
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	(%rdi), %r14
	leaq	8(%r14), %r13
	movq	%r13, %rdi
	callq	_archive_strlen
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%r13), %rbx
	movq	%r13, %rdi
	callq	_archive_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	___archive_write_output
	movl	%eax, %r15d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_15
## %bb.2:
	movl	16(%r14), %esi
	movq	%r12, %rdi
	callq	___archive_write_nulls
	movl	%eax, %r15d
	cmpl	(%rbx), %eax
	jne	LBB0_15
## %bb.3:
	movq	%r13, %rdi
	callq	_archive_string_empty
LBB0_4:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.6:
	movq	(%r14), %rdi
	xorl	%r15d, %r15d
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testq	%rdi, %rdi
	je	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	16(%rdi), %rbx
	callq	_free
	movq	%rbx, (%r14)
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_8
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	subq	%r15, %r13
	cmpq	%rax, %r13
	cmovaeq	%rax, %r13
	cmpq	$0, 8(%rdi)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	subq	%r13, %rax
	movq	%rax, (%rdi)
	jmp	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	___archive_write_output
	movq	(%r14), %rdi
	subq	%r13, (%rdi)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	%r13, %r15
	cmpq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_7
	jmp	LBB0_15
LBB0_5:
	xorl	%r15d, %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	%eax, %r15d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_archive_write_pax_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_write_pax_data
_archive_write_pax_data:                ; @archive_write_pax_data
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x24, [x0]
	add	x23, x24, #8
	mov	x0, x23
	bl	_archive_strlen
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x22, [x23]
	mov	x0, x23
	bl	_archive_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	___archive_write_output
	mov	x22, x0
Lloh0:
	adrp	x25, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.2:
	ldr	w1, [x24, #16]
	mov	x0, x21
	bl	___archive_write_nulls
	mov	x22, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.3:
	mov	x0, x23
	bl	_archive_string_empty
LBB0_4:
	cbz	x19, LBB0_13
; %bb.5:
	mov	x22, #0
	ldr	x0, [x24]
Lloh2:
	adrp	x25, _ARCHIVE_OK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	x0, LBB0_14
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x0]
	cbnz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x23, [x0, #16]
	bl	_free
	str	x23, [x24]
	mov	x0, x23
	cbnz	x23, LBB0_7
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x9, x19, x22
	cmp	x9, x8
	csel	x23, x9, x8, lo
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x8, x23
	str	x8, [x0]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x1, x20, x22
	mov	x0, x21
	mov	x2, x23
	bl	___archive_write_output
	mov	x8, x0
	ldr	x0, [x24]
	ldr	x9, [x0]
	sub	x9, x9, x23
	str	x9, [x0]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x23, x22
	cmp	x22, x19
	b.lo	LBB0_6
	b	LBB0_14
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x0, x22
	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
LBB0_15:
	mov	x22, x8
	b	LBB0_14
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_archive_write_pax_data
.subsections_via_symbols
