	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mszip_decompress               ## -- Begin function mszip_decompress
	.p2align	4, 0x90
_mszip_decompress:                      ## @mszip_decompress
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movl	%esi, %r15d
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_TRACE
	movq	_CAB_INPUTMAX@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jb	LBB0_2
## %bb.1:
	movq	_CAB_BLOCKMAX@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jb	LBB0_2
## %bb.3:
	movq	_fdi_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_fdi_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	leaq	-64(%rbp), %rdx
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_ZIPfdi_decomp
	movl	%eax, %ebx
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_memcpy
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_FIXME
	movq	_DECR_DATAFORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%u, %u, %p, %p)\n"

	.comm	_CAB_INPUTMAX,4,2               ## @CAB_INPUTMAX
	.comm	_CAB_BLOCKMAX,4,2               ## @CAB_BLOCKMAX
L_.str.1:                               ## @.str.1
	.asciz	"Big file not supported yet (inlen = %u, outlen = %u)\n"

	.comm	_DECR_DATAFORMAT,4,2            ## @DECR_DATAFORMAT
	.comm	_fdi_alloc,4,2                  ## @fdi_alloc
	.comm	_fdi_free,4,2                   ## @fdi_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mszip_decompress               ; -- Begin function mszip_decompress
	.p2align	2
_mszip_decompress:                      ; @mszip_decompress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	mov	x4, x20
	bl	_TRACE
Lloh2:
	adrp	x8, _CAB_INPUTMAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CAB_INPUTMAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _CAB_BLOCKMAX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CAB_BLOCKMAX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w21
	ccmp	w9, w19, #0, hs
	b.hs	LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	bl	_FIXME
Lloh10:
	adrp	x8, _DECR_DATAFORMAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DECR_DATAFORMAT@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x8, _fdi_alloc@GOTPAGE
Lloh14:
	ldr	x8, [x8, _fdi_alloc@GOTPAGEOFF]
Lloh15:
	adrp	x9, _fdi_free@GOTPAGE
Lloh16:
	ldr	x9, [x9, _fdi_free@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	ldr	w9, [x9]
	stp	w9, w8, [sp]
	mov	x8, sp
	str	x8, [sp, #24]
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x19
	bl	_ZIPfdi_decomp
	mov	x21, x0
	ldr	x1, [sp, #16]
	mov	x0, x20
	mov	x2, x19
	bl	_memcpy
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%u, %u, %p, %p)\n"

	.comm	_CAB_INPUTMAX,4,2               ; @CAB_INPUTMAX
	.comm	_CAB_BLOCKMAX,4,2               ; @CAB_BLOCKMAX
l_.str.1:                               ; @.str.1
	.asciz	"Big file not supported yet (inlen = %u, outlen = %u)\n"

	.comm	_DECR_DATAFORMAT,4,2            ; @DECR_DATAFORMAT
	.comm	_fdi_alloc,4,2                  ; @fdi_alloc
	.comm	_fdi_free,4,2                   ; @fdi_free
.subsections_via_symbols
