	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sevenzip_parse_file_init
_sevenzip_parse_file_init:              ## @sevenzip_parse_file_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_sevenzip_stream_new
	movq	%rax, %r15
	movq	_SEVENZIP_MAGIC_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, (%rbx)
	jl	LBB0_4
## %bb.1:
	movl	16(%rbx), %edi
	movq	_SEVENZIP_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_string_is_not_equal_fast
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%r15, 8(%rbx)
	leaq	32(%r15), %rdi
	movq	%r14, %rsi
	callq	_InFile_Open
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	28(%r15), %rbx
	movq	%rbx, %rdi
	callq	_FileInStream_CreateVTable
	leaq	8(%r15), %r12
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_LookToRead_CreateVTable
	movq	%rbx, 16(%r15)
	movq	%r12, %rdi
	callq	_LookToRead_Init
	xorl	%eax, %eax
	callq	_CrcGenerateTable
	leaq	24(%r15), %rbx
	movq	%rbx, %rdi
	callq	_SzArEx_Init
	leaq	4(%r15), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	callq	_SzArEx_Open
	movq	_SZ_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
LBB0_4:
	movl	$-1, %r14d
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_sevenzip_stream_free
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEVENZIP_MAGIC_LEN,8,3         ## @SEVENZIP_MAGIC_LEN
	.comm	_SEVENZIP_MAGIC,4,2             ## @SEVENZIP_MAGIC
	.comm	_SZ_OK,8,3                      ## @SZ_OK
	.no_dead_strip	_sevenzip_parse_file_init
.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_init
_sevenzip_parse_file_init:              ; @sevenzip_parse_file_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_sevenzip_stream_new
	mov	x19, x0
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _SEVENZIP_MAGIC_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEVENZIP_MAGIC_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x9]
	cmp	x8, x2
	b.lt	LBB0_4
; %bb.1:
	ldr	w0, [x21, #16]
Lloh3:
	adrp	x8, _SEVENZIP_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEVENZIP_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_string_is_not_equal_fast
	cbnz	x0, LBB0_4
; %bb.2:
	str	x19, [x21, #8]
	add	x0, x19, #32
	mov	x1, x20
	bl	_InFile_Open
	cbnz	x0, LBB0_4
; %bb.3:
	add	x20, x19, #28
	mov	x0, x20
	bl	_FileInStream_CreateVTable
	add	x21, x19, #8
	mov	x0, x21
	mov	w1, #0
	bl	_LookToRead_CreateVTable
	str	x20, [x19, #16]
	mov	x0, x21
	bl	_LookToRead_Init
	bl	_CrcGenerateTable
	add	x20, x19, #24
	mov	x0, x20
	bl	_SzArEx_Init
	add	x2, x19, #4
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_SzArEx_Open
	mov	x8, x0
	mov	w0, #0
Lloh6:
	adrp	x9, _SZ_OK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SZ_OK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_sevenzip_stream_free
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SEVENZIP_MAGIC_LEN,8,3         ; @SEVENZIP_MAGIC_LEN
	.comm	_SEVENZIP_MAGIC,4,2             ; @SEVENZIP_MAGIC
	.comm	_SZ_OK,8,3                      ; @SZ_OK
	.no_dead_strip	_sevenzip_parse_file_init
.subsections_via_symbols
