	.file	"extr_7zIn.c_SzArEx_GetFolderFullPackSize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SzArEx_GetFolderFullPackSize
	.type	SzArEx_GetFolderFullPackSize, @function
SzArEx_GetFolderFullPackSize:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	rcx, QWORD PTR [rax+rsi*8]
	mov	rax, QWORD PTR 16[rdi]
	mov	r8, QWORD PTR [rax+rsi*8]
	test	r8, r8
	je	.L7
	mov	rax, QWORD PTR 8[rdi]
	lea	rdi, [rax+rcx*8]
	mov	rcx, QWORD PTR [rdi]
	test	rcx, rcx
	js	.L3
	xor	eax, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, QWORD PTR [rdi+rax*8]
	add	rsi, rcx
	cmp	rsi, rcx
	jl	.L3
	mov	rcx, rsi
.L4:
	add	rax, 1
	cmp	rax, r8
	jne	.L6
.L2:
	mov	QWORD PTR [rdx], rcx
	mov	eax, DWORD PTR SZ_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR SZ_ERROR_FAIL[rip]
	ret
.L7:
	xor	ecx, ecx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	SzArEx_GetFolderFullPackSize, .-SzArEx_GetFolderFullPackSize
	.comm	SZ_OK,4,4
	.comm	SZ_ERROR_FAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_7zIn.c_SzArEx_GetFolderFullPackSize.c"
	.text
	.align	2
	.global	SzArEx_GetFolderFullPackSize
	.syntax unified
	.arm
	.fpu softvfp
	.type	SzArEx_GetFolderFullPackSize, %function
SzArEx_GetFolderFullPackSize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0, #8]
	str	lr, [sp, #-4]!
	ldr	lr, [ip, r1, lsl #2]
	ldr	r3, [r0]
	cmp	lr, #0
	ldr	r3, [r3, r1, lsl #2]
	beq	.L8
	ldr	ip, [r0, #4]
	ldr	r0, [ip, r3, lsl #2]
	cmp	r0, #0
	movge	r1, #0
	addge	ip, ip, r3, lsl #2
	bge	.L5
	b	.L3
.L7:
	ldr	r3, [ip, #4]!
	add	r3, r0, r3
	cmp	r3, r0
	blt	.L3
	mov	r0, r3
.L5:
	add	r1, r1, #1
	cmp	r1, lr
	bne	.L7
.L2:
	ldr	r3, .L13
	str	r0, [r2]
	ldr	r0, [r3]
	ldr	pc, [sp], #4
.L3:
	ldr	r3, .L13+4
	ldr	r0, [r3]
	ldr	pc, [sp], #4
.L8:
	mov	r0, lr
	b	.L2
.L14:
	.align	2
.L13:
	.word	SZ_OK
	.word	SZ_ERROR_FAIL
	.size	SzArEx_GetFolderFullPackSize, .-SzArEx_GetFolderFullPackSize
	.comm	SZ_OK,4,4
	.comm	SZ_ERROR_FAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
