	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decodeGeneric
_decodeGeneric:                         ## @decodeGeneric
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movq	%r8, %r12
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, (%rdi)
	movq	%rsi, %rdi
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%r8, %rcx
	movq	%r9, %r8
	callq	_lodepng_inspect
	movl	%eax, (%r14)
	testl	%eax, %eax
	jne	LBB0_56
## %bb.1:
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	leaq	-80(%rbp), %rdi
	callq	_ucvector_init
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	leaq	33(%r12), %r15
	leaq	8(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_lodepng_chunk_ancillary
	movl	$1, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	je	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_lodepng_chunk_next_const
	movq	%rax, %r15
LBB0_42:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	%bl, %bl
	jne	LBB0_43
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
	cmpl	$0, (%r14)
	jne	LBB0_55
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rbx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	subq	%rax, %rbx
	addq	$12, %rbx
	cmpq	%r13, %rbx
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rax, %r15
	jae	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	movl	$30, %esi
	callq	_CERROR_BREAK
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_lodepng_chunk_length
	movl	%eax, %r13d
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	movl	$63, %esi
	callq	_CERROR_BREAK
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r15d
	addq	%r15, %rbx
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addq	%r15, %rax
	addq	$12, %rax
	cmpq	-112(%rbp), %rax                ## 8-byte Folded Reload
	jae	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	movl	$64, %esi
	callq	_CERROR_BREAK
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_lodepng_chunk_data_const
	movq	%rax, %r12
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_lodepng_chunk_type_equals
	testq	%rax, %rax
	je	LBB0_29
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %r14
	leal	(%r14,%r13), %esi
	leaq	-80(%rbp), %rdi
	callq	_ucvector_resize
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	$83, %esi
	callq	_CERROR_BREAK
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	$1, %r8b
	testl	%r13d, %r13d
	je	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%r15), %rcx
	movl	%r15d, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_lodepng_chunk_type_equals
	testq	%rax, %rax
	movq	%rbx, %r15
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$1, %bl
	xorl	%r8d, %r8d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	3(%r12), %rdx
	andl	$-4, %r15d
	negq	%r15
	xorl	%ecx, %ecx
	movq	%r14, %rsi
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-3(%rdx), %ebx
	movq	-72(%rbp), %rdi
	movb	%bl, (%rdi,%rsi)
	movzbl	-2(%rdx), %ebx
	movq	-72(%rbp), %rdi
	movb	%bl, 1(%rdi,%rsi)
	movzbl	-1(%rdx), %ebx
	movq	-72(%rbp), %rdi
	movb	%bl, 2(%rdi,%rsi)
	movzbl	(%rdx), %ebx
	movq	-72(%rbp), %rdi
	movb	%bl, 3(%rdi,%rsi)
	addq	$4, %rdx
	addq	$4, %rsi
	addq	$-4, %rcx
	cmpq	%rcx, %r15
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	negq	%rcx
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	testq	%rax, %rax
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%rcx, %r14
	addq	%rcx, %r12
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r12,%rcx), %edx
	movq	-72(%rbp), %rsi
	addq	%r14, %rsi
	movb	%dl, (%rcx,%rsi)
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_lodepng_chunk_type_equals
	testq	%rax, %rax
	je	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_readChunk_PLTE
	jmp	LBB0_33
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_lodepng_chunk_type_equals
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_readChunk_tRNS
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%r14)
	testl	%eax, %eax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_55
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	$1, %r8b
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	36(%r14), %eax
	orl	-88(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %r12d
	movq	%r15, %rdi
	callq	_lodepng_chunk_check_crc
	testq	%rax, %rax
	je	LBB0_18
## %bb.40:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	movl	$57, %esi
	callq	_CERROR_BREAK
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testb	%r12b, %r12b
	jne	LBB0_41
	jmp	LBB0_42
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r8d
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	%r8b, %r8b
	jne	LBB0_41
	jmp	LBB0_42
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %edi
	movl	$69, %esi
	callq	_CERROR_BREAK
	jmp	LBB0_38
LBB0_43:
	cmpl	$0, (%r14)
	jne	LBB0_55
## %bb.44:
	leaq	-128(%rbp), %r14
	movq	%r14, %rdi
	callq	_ucvector_init
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movl	(%r15), %edi
	movq	-144(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_lodepng_get_raw_size
	addl	(%r12), %eax
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ucvector_resize
	testl	%eax, %eax
	je	LBB0_45
## %bb.46:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$0, (%rbx)
	jne	LBB0_54
## %bb.47:
	leaq	-120(%rbp), %rdi
	movq	-80(%rbp), %rcx
	movq	-72(%rbp), %rdx
	leaq	32(%rbx), %r8
	leaq	-128(%rbp), %rsi
	callq	_zlib_decompress
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jne	LBB0_54
## %bb.48:
	leaq	-160(%rbp), %r14
	movq	%r14, %rdi
	callq	_ucvector_init
	movl	(%r15), %edi
	movl	(%r12), %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_lodepng_get_raw_size
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_ucvector_resizev
	testl	%eax, %eax
	je	LBB0_49
## %bb.50:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	$0, (%rbx)
	movq	-104(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_53
## %bb.51:
	movq	-152(%rbp), %rdi
	movq	-120(%rbp), %rsi
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_postProcessScanlines
	jmp	LBB0_52
LBB0_45:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$83, (%rax)
LBB0_54:
	leaq	-128(%rbp), %rdi
	callq	_ucvector_cleanup
LBB0_55:
	leaq	-80(%rbp), %rdi
	callq	_ucvector_cleanup
LBB0_56:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_49:
	movl	$83, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
LBB0_52:
	movl	%eax, (%rbx)
LBB0_53:
	movq	-152(%rbp), %rax
	movq	%rax, (%r14)
	jmp	LBB0_54
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IDAT"

L_.str.1:                               ## @.str.1
	.asciz	"IEND"

L_.str.2:                               ## @.str.2
	.asciz	"PLTE"

L_.str.3:                               ## @.str.3
	.asciz	"tRNS"

	.no_dead_strip	_decodeGeneric
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decodeGeneric
_decodeGeneric:                         ; @decodeGeneric
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x23, x5
	mov	x24, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	str	xzr, [x0]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	mov	x4, x5
	bl	_lodepng_inspect
	str	w0, [x19]
	cbnz	w0, LBB0_44
; %bb.1:
	stp	x22, x21, [sp, #8]              ; 16-byte Folded Spill
	str	x20, [sp]                       ; 8-byte Folded Spill
	add	x0, sp, #64
	bl	_ucvector_init
	mov	w20, #0
	add	x26, x24, #33
	add	x8, x19, #8
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x27, l_.str@PAGE
Lloh1:
	add	x27, x27, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_lodepng_chunk_ancillary
	cbz	w0, LBB0_33
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w25, #0
	mov	w20, #1
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_lodepng_chunk_next_const
	mov	x26, x0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w25, LBB0_34
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	w8, [x19]
	cbnz	w8, LBB0_43
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x8, x26, x24
	add	x21, x8, #12
	cmp	x21, x23
	ccmp	x26, x24, #0, ls
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #0
	mov	w1, #30
	bl	_CERROR_BREAK
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_lodepng_chunk_length
	mov	x25, x0
	tbz	w0, #31, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19]
	mov	w1, #63
	bl	_CERROR_BREAK
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w22, w25
	add	x8, x21, x22
	cmp	x8, x23
	b.hi	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x26, x22
	add	x8, x8, #12
	cmp	x8, x24
	b.hs	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19]
	mov	w1, #64
	bl	_CERROR_BREAK
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_lodepng_chunk_data_const
	mov	x28, x0
	mov	x0, x26
	mov	x1, x27
	bl	_lodepng_chunk_type_equals
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [sp, #64]
	add	w1, w25, w21
	add	x0, sp, #64
	bl	_ucvector_resize
	cbz	w0, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w25, LBB0_20
	b	LBB0_27
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_lodepng_chunk_type_equals
	cbz	x0, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w22, #0
	mov	w25, #1
	b	LBB0_28
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19]
	mov	w1, #83
	bl	_CERROR_BREAK
	cbz	w25, LBB0_27
LBB0_20:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x28], #1
	ldr	x9, [sp, #72]
	strb	w8, [x9, x21]
	add	x21, x21, #1
	subs	x22, x22, #1
	b.ne	LBB0_20
	b	LBB0_26
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_lodepng_chunk_type_equals
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x28
	mov	x2, x25
	bl	_readChunk_PLTE
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_lodepng_chunk_type_equals
	cbz	x0, LBB0_2
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x28
	mov	x2, x25
	bl	_readChunk_tRNS
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w0, [x19]
	cbnz	w0, LBB0_43
LBB0_26:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w25, #0
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w22, #1
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #36]
	orr	w8, w8, w20
	cbnz	w8, LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_lodepng_chunk_check_crc
	cbz	x0, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19]
	mov	w1, #57
	bl	_CERROR_BREAK
	mov	w20, #0
	tbnz	w22, #0, LBB0_4
	b	LBB0_5
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w20, #0
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w22, LBB0_4
	b	LBB0_5
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19]
	mov	w1, #69
	bl	_CERROR_BREAK
	b	LBB0_3
LBB0_34:
	ldr	w8, [x19]
	cbnz	w8, LBB0_43
; %bb.35:
	add	x0, sp, #48
	bl	_ucvector_init
	ldp	x22, x21, [sp, #8]              ; 16-byte Folded Reload
	ldr	w0, [x22]
	ldr	w1, [x21]
	add	x23, x19, #8
	mov	x2, x23
	bl	_lodepng_get_raw_size
	ldr	w8, [x21]
	add	w1, w8, w0
	add	x0, sp, #48
	bl	_ucvector_resize
	cbz	w0, LBB0_41
; %bb.36:
	ldr	w8, [x19]
	cbnz	w8, LBB0_42
; %bb.37:
	add	x8, sp, #48
	add	x0, x8, #8
	ldp	x3, x2, [sp, #64]
	add	x4, x19, #32
	add	x1, sp, #48
	bl	_zlib_decompress
	str	w0, [x19]
	cbnz	w0, LBB0_42
; %bb.38:
	add	x0, sp, #32
	bl	_ucvector_init
	ldr	w0, [x22]
	ldr	w1, [x21]
	mov	x2, x23
	bl	_lodepng_get_raw_size
	mov	x1, x0
	add	x0, sp, #32
	mov	w2, #0
	bl	_ucvector_resizev
	cbz	w0, LBB0_45
; %bb.39:
	ldr	w8, [x19]
	ldr	x20, [sp]                       ; 8-byte Folded Reload
	cbnz	w8, LBB0_47
; %bb.40:
	ldr	x0, [sp, #40]
	ldr	x1, [sp, #56]
	ldr	w2, [x22]
	ldr	w3, [x21]
	mov	x4, x23
	bl	_postProcessScanlines
	b	LBB0_46
LBB0_41:
	mov	w8, #83
	str	w8, [x19]
LBB0_42:
	add	x0, sp, #48
	bl	_ucvector_cleanup
LBB0_43:
	add	x0, sp, #64
	bl	_ucvector_cleanup
LBB0_44:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_45:
	mov	w0, #83
	ldr	x20, [sp]                       ; 8-byte Folded Reload
LBB0_46:
	str	w0, [x19]
LBB0_47:
	ldr	x8, [sp, #40]
	str	x8, [x20]
	b	LBB0_42
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IDAT"

l_.str.1:                               ; @.str.1
	.asciz	"IEND"

l_.str.2:                               ; @.str.2
	.asciz	"PLTE"

l_.str.3:                               ; @.str.3
	.asciz	"tRNS"

	.no_dead_strip	_decodeGeneric
.subsections_via_symbols
