	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _7z_finish_entry
__7z_finish_entry:                      ## @_7z_finish_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %r14
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdx
	cmpq	%rdx, %rax
	cmovbq	%rax, %rdx
	movl	8(%rbx), %esi
	movq	%rbx, %rdi
	callq	__7z_write_data
	testq	%rax, %rax
	jns	LBB0_2
	jmp	LBB0_6
LBB0_4:
	movl	32(%r14), %eax
	addl	%eax, 44(%r14)
	movl	24(%r14), %eax
	addl	%eax, 40(%r14)
	movl	16(%r14), %eax
	movq	8(%r14), %rcx
	movl	%eax, (%rcx)
	movq	$0, 8(%r14)
LBB0_5:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	__7z_finish_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _7z_finish_entry
__7z_finish_entry:                      ; @_7z_finish_entry
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0, #16]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x19]
	cmp	x8, x9
	csel	x2, x8, x9, lo
	ldr	w1, [x19, #8]
	mov	x0, x19
	bl	__7z_write_data
	tbz	x0, #63, LBB0_2
	b	LBB0_6
LBB0_4:
	ldur	q0, [x20, #24]
	ldr	d1, [x20, #40]
	xtn.2s	v0, v0
	add.2s	v0, v1, v0
	str	d0, [x20, #40]
	ldr	w8, [x20, #16]
	ldr	x9, [x20, #8]
	str	w8, [x9]
	str	xzr, [x20, #8]
LBB0_5:
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	__7z_finish_entry
.subsections_via_symbols
