	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_read_format_raw_read_data
_archive_read_format_raw_read_data:     ## @archive_read_format_raw_read_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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	___archive_read_consume
	movq	$0, (%rbx)
LBB0_2:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %r14
	cmpl	$0, 8(%rbx)
	jne	LBB0_6
## %bb.3:
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	___archive_read_ahead
	movq	%rax, (%r12)
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, (%r15)
	movq	16(%rbx), %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, (%rdx)
	movq	(%r15), %rcx
	addq	%rcx, 16(%rbx)
	movq	%rax, (%rbx)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r14
	jmp	LBB0_6
LBB0_5:
	movl	$1, 8(%rbx)
	movq	$0, (%r15)
	movq	16(%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_6:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_archive_read_format_raw_read_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_read_format_raw_read_data
_archive_read_format_raw_read_data:     ; @archive_read_format_raw_read_data
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0]
	ldr	x23, [x8]
	ldr	x1, [x23]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	___archive_read_consume
	str	xzr, [x23]
LBB0_2:
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	w24, #1
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #1
	bl	___archive_read_ahead
	str	x0, [x21]
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.5:
	str	x8, [x20]
	ldr	x9, [x23, #16]
	str	x9, [x19]
	ldr	x9, [x20]
	ldr	x10, [x23, #16]
	add	x9, x10, x9
	str	x9, [x23, #16]
	str	x8, [x23]
Lloh2:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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
LBB0_7:
	str	w24, [x23, #8]
	str	xzr, [x20]
	ldr	x8, [x23, #16]
	str	x8, [x19]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_archive_read_format_raw_read_data
.subsections_via_symbols
