	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_extract2          ## -- Begin function archive_read_extract2
	.p2align	4, 0x90
_archive_read_extract2:                 ## @archive_read_extract2
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %edx
	movl	8(%r14), %esi
	movq	%r15, %rdi
	callq	_archive_write_disk_set_skip_file
LBB0_2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_archive_write_header
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r13d
	cmpl	%r13d, %eax
	cmovgl	%eax, %r13d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	_archive_entry_size_is_set
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_archive_entry_size
	testq	%rax, %rax
	jle	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_copy_data
	movl	%eax, %r13d
	jmp	LBB0_7
LBB0_3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_copy_error
LBB0_7:
	movq	%r15, %rdi
	callq	_archive_write_finish_entry
	movl	(%rbx), %ebx
	cmpl	%ebx, %eax
	cmovgl	%eax, %ebx
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ebx
	je	LBB0_10
## %bb.8:
	cmpl	%eax, %r13d
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_copy_error
LBB0_10:
	cmpl	%r13d, %ebx
	cmovll	%ebx, %r13d
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_extract2          ; -- Begin function archive_read_extract2
	.p2align	2
_archive_read_extract2:                 ; @archive_read_extract2
	.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, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w2, w1, [x20, #4]
	mov	x0, x19
	bl	_archive_write_disk_set_skip_file
LBB0_2:
	mov	x0, x19
	mov	x1, x22
	bl	_archive_write_header
Lloh0:
	adrp	x23, _ARCHIVE_WARN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ARCHIVE_WARN@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	csel	w21, w0, w8, gt
Lloh2:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w21, w8
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_archive_entry_size_is_set
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_archive_entry_size
	cmp	x0, #1
	b.lt	LBB0_7
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_copy_data
	mov	x21, x0
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_archive_copy_error
LBB0_7:
	mov	x0, x19
	bl	_archive_write_finish_entry
	ldr	w8, [x23]
	cmp	w0, w8
	csel	w22, w0, w8, gt
	ldr	w8, [x24]
	cmp	w22, w8
	ccmp	w21, w8, #0, ne
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	bl	_archive_copy_error
LBB0_9:
	cmp	w22, w21
	csel	w0, w22, w21, lt
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
.subsections_via_symbols
