	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sevenzip_parse_file_iterate_step_internal
_sevenzip_parse_file_iterate_step_internal: ## @sevenzip_parse_file_iterate_step_internal
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	movslq	(%r13), %r12
	xorl	%eax, %eax
	cmpq	%r12, 16(%r13)
	jle	LBB0_11
## %bb.1:
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%r9, -112(%rbp)                 ## 8-byte Spill
	leaq	16(%r13), %rdi
	movq	40(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_SzArEx_GetFileNameUtf16
	movq	%rax, %r15
	movq	8(%r13), %rax
	cmpq	24(%r13), %rax
	jae	LBB0_3
## %bb.2:
	movq	32(%r13), %rcx
	movq	(%rcx,%rax,8), %rbx
	incq	%rax
	movq	%rax, 8(%r13)
LBB0_3:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpq	%r14, %r15
	jae	LBB0_10
## %bb.4:
	leaq	(%r12,%r12,2), %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 16(%rax,%r12,8)
	je	LBB0_5
LBB0_10:
	movq	24(%rbp), %rax
	movl	$1, (%rax)
	movl	$1, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_14
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rsp, %rbx
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %r15
	movq	%r15, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%rax, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movb	$0, (%rbx)
	movslq	(%r13), %rsi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%rax, %rdx
	callq	_SzArEx_GetFileNameUtf16
	movq	%r15, %rdi
	movq	%rbx, %r13
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_utf16_to_char_string
	movq	_SZ_OK@GOTPCREL(%rip), %r14
	movq	%r14, %rcx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	_SZ_ERROR_FAIL@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	(%rcx), %rbx
	movq	%r15, %rdi
	callq	_free
	cmpq	(%r14), %rbx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_13
## %bb.9:
	movq	%r13, %rsi
	movq	16(%rbp), %r14
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlcpy
	movq	_ARCHIVE_MODE_COMPRESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx,%r12,8), %rax
	movq	%rax, (%r14)
	movq	(%rcx,%r12,8), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	%rbx, %rsp
	jmp	LBB0_10
LBB0_13:
	movq	%rbx, %rsp
	movl	$-1, %eax
	jmp	LBB0_11
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,8,3            ## @PATH_MAX_LENGTH
	.comm	_SZ_ERROR_FAIL,8,3              ## @SZ_ERROR_FAIL
	.comm	_SZ_OK,8,3                      ## @SZ_OK
	.comm	_ARCHIVE_MODE_COMPRESSED,4,2    ## @ARCHIVE_MODE_COMPRESSED
	.no_dead_strip	_sevenzip_parse_file_iterate_step_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sevenzip_parse_file_iterate_step_internal
_sevenzip_parse_file_iterate_step_internal: ; @sevenzip_parse_file_iterate_step_internal
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x26, [x0]
	mov	x28, x26
	ldr	x8, [x28, #16]!
	ldrsw	x24, [x26]
	cmp	x8, x24
	b.le	LBB0_6
; %bb.1:
	mov	x19, x7
	mov	x22, x6
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x25, x1
	ldr	x8, [x26, #40]
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x0, x28
	mov	x1, x24
	mov	x2, #0
	bl	_SzArEx_GetFileNameUtf16
	mov	x10, #0
	ldr	x8, [x26, #8]
	ldr	x9, [x26, #24]
	cmp	x8, x9
	b.hs	LBB0_3
; %bb.2:
	ldr	x9, [x26, #32]
	ldr	x10, [x9, x8, lsl #3]
	add	x8, x8, #1
	str	x8, [x26, #8]
LBB0_3:
Lloh3:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	x27, [x8]
	cmp	x0, x27
	b.hs	LBB0_5
; %bb.4:
	mov	w8, #24
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	madd	x8, x24, x8, x9
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_9
LBB0_5:
	mov	w0, #1
	str	w0, [x19]
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldur	x8, [x29, #-88]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.8:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x8, sp
	stp	x10, x8, [x29, #-120]           ; 16-byte Folded Spill
	mov	x9, x27
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0xfffffffffffffff0
	sub	x8, x8, x9
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	mov	sp, x8
	lsl	x0, x0, #2
	bl	_malloc
	cbz	x0, LBB0_12
; %bb.10:
	mov	x8, x0
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	strb	wzr, [x9]
	ldrsw	x1, [x26]
	mov	x0, x28
	mov	x28, x8
	mov	x2, x8
	bl	_SzArEx_GetFileNameUtf16
	mov	x0, x28
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	mov	x2, x27
	bl	_utf16_to_char_string
Lloh11:
	adrp	x26, _SZ_OK@GOTPAGE
Lloh12:
	ldr	x26, [x26, _SZ_OK@GOTPAGEOFF]
Lloh13:
	adrp	x8, _SZ_ERROR_FAIL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SZ_ERROR_FAIL@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x26, eq
	ldr	x27, [x8]
	mov	x0, x28
	bl	_free
	ldr	x8, [x26]
	cmp	x27, x8
	b.ne	LBB0_12
; %bb.11:
Lloh15:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh17:
	ldr	x2, [x8]
	mov	x0, x25
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	bl	_strlcpy
Lloh18:
	adrp	x8, _ARCHIVE_MODE_COMPRESSED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ARCHIVE_MODE_COMPRESSED@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x23]
	mov	w8, #24
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	madd	x8, x24, x8, x9
	ldr	x9, [x8, #8]
	str	x9, [x22]
	ldr	x8, [x8]
	str	x8, [x21]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	str	x8, [x20]
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	mov	sp, x8
	b	LBB0_5
LBB0_12:
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	mov	sp, x8
	mov	w0, #-1
	b	LBB0_7
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,8,3            ; @PATH_MAX_LENGTH
	.comm	_SZ_ERROR_FAIL,8,3              ; @SZ_ERROR_FAIL
	.comm	_SZ_OK,8,3                      ; @SZ_OK
	.comm	_ARCHIVE_MODE_COMPRESSED,4,2    ; @ARCHIVE_MODE_COMPRESSED
	.no_dead_strip	_sevenzip_parse_file_iterate_step_internal
.subsections_via_symbols
