	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function readChunk_iTXt
_readChunk_iTXt:                        ## @readChunk_iTXt
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	leaq	-88(%rbp), %rdi
	callq	_ucvector_init
	movq	%rbx, %rax
	cmpq	$4, %rbx
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	ja	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	movl	$30, %esi
	callq	_CERROR_BREAK
	movq	-104(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_5
LBB0_2:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r12,%r14)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r14d
	cmpq	%rax, %r14
	jb	LBB0_3
LBB0_5:
	movl	%r14d, %ebx
	addl	$3, %r14d
	cmpq	%rax, %r14
	jb	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	movl	$75, %esi
	callq	_CERROR_BREAK
LBB0_7:
	leal	-80(%rbx), %eax
	cmpl	$-80, %eax
	ja	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	movl	$89, %esi
	callq	_CERROR_BREAK
LBB0_9:
	leal	1(%rbx), %r13d
	movl	%r13d, %edi
	callq	_lodepng_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	xorl	%edi, %edi
	movl	$83, %esi
	callq	_CERROR_BREAK
LBB0_11:
	movb	$0, (%r15,%rbx)
	testq	%rbx, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_32
## %bb.12:
	xorl	%eax, %eax
	cmpl	$8, %ebx
	jb	LBB0_28
## %bb.13:
	movq	%r15, %rcx
	subq	%r12, %rcx
	cmpq	$32, %rcx
	jb	LBB0_28
## %bb.14:
	cmpl	$32, %ebx
	jae	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	jmp	LBB0_25
LBB0_16:
	movl	%ebx, %eax
	andl	$-32, %eax
	leaq	-32(%rax), %rsi
	movq	%rsi, %rdx
	shrq	$5, %rdx
	incq	%rdx
	movl	%edx, %ecx
	andl	$3, %ecx
	cmpq	$96, %rsi
	jae	LBB0_18
## %bb.17:
	xorl	%esi, %esi
	jmp	LBB0_20
LBB0_18:
	andq	$-4, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r12,%rsi), %xmm0
	movups	16(%r12,%rsi), %xmm1
	movups	%xmm0, (%r15,%rsi)
	movups	%xmm1, 16(%r15,%rsi)
	movups	32(%r12,%rsi), %xmm0
	movups	48(%r12,%rsi), %xmm1
	movups	%xmm0, 32(%r15,%rsi)
	movups	%xmm1, 48(%r15,%rsi)
	movups	64(%r12,%rsi), %xmm0
	movups	80(%r12,%rsi), %xmm1
	movups	%xmm0, 64(%r15,%rsi)
	movups	%xmm1, 80(%r15,%rsi)
	movups	96(%r12,%rsi), %xmm0
	movups	112(%r12,%rsi), %xmm1
	movups	%xmm0, 96(%r15,%rsi)
	movups	%xmm1, 112(%r15,%rsi)
	subq	$-128, %rsi
	addq	$-4, %rdx
	jne	LBB0_19
LBB0_20:
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.21:
	leaq	(%r15,%rsi), %rdx
	addq	$16, %rdx
	addq	%r12, %rsi
	addq	$16, %rsi
	shlq	$5, %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rdi), %xmm0
	movups	(%rsi,%rdi), %xmm1
	movups	%xmm0, -16(%rdx,%rdi)
	movups	%xmm1, (%rdx,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_22
LBB0_23:
	cmpq	%rbx, %rax
	je	LBB0_32
## %bb.24:
	testb	$24, %bl
	je	LBB0_28
LBB0_25:
	movq	%rax, %rcx
	movl	%ebx, %eax
	andl	$-8, %eax
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rcx), %rdx
	movq	%rdx, (%r15,%rcx)
	addq	$8, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_26
## %bb.27:
	cmpq	%rbx, %rax
	je	LBB0_32
LBB0_28:
	movq	%rax, %rcx
	notq	%rcx
	addq	%rbx, %rcx
	movq	%rbx, %rdx
	andq	$3, %rdx
	je	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rax), %ebx
	movb	%bl, (%r15,%rax)
	incq	%rax
	decq	%rdx
	jne	LBB0_29
LBB0_30:
	cmpq	$3, %rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jb	LBB0_32
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rax), %ecx
	movb	%cl, (%r15,%rax)
	movzbl	1(%r12,%rax), %ecx
	movb	%cl, 1(%r15,%rax)
	movzbl	2(%r12,%rax), %ecx
	movb	%cl, 2(%r15,%rax)
	movzbl	3(%r12,%rax), %ecx
	movb	%cl, 3(%r15,%rax)
	addq	$4, %rax
	cmpq	%rax, %rbx
	jne	LBB0_31
LBB0_32:
	movl	%r13d, %eax
	movb	(%r12,%rax), %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	leal	2(%rbx), %eax
	cmpb	$0, (%r12,%rax)
	je	LBB0_34
## %bb.33:
	xorl	%edi, %edi
	movl	$72, %esi
	callq	_CERROR_BREAK
LBB0_34:
	xorl	%r13d, %r13d
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %r14
	jae	LBB0_38
## %bb.35:
	xorl	%r13d, %r13d
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r12,%rax)
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	incl	%r13d
	incl	%eax
	cmpq	%rcx, %rax
	jb	LBB0_36
LBB0_38:
	leal	1(%r13), %edi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_lodepng_malloc
	movq	%rax, %r10
	testq	%rax, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jne	LBB0_40
## %bb.39:
	xorl	%edi, %edi
	movl	$83, %esi
	callq	_CERROR_BREAK
	movq	-96(%rbp), %r10                 ## 8-byte Reload
LBB0_40:
	movl	%r13d, %r8d
	movb	$0, (%r10,%r8)
	testl	%r13d, %r13d
	je	LBB0_66
## %bb.41:
	cmpl	$8, %r13d
	jae	LBB0_43
LBB0_42:
	xorl	%r9d, %r9d
LBB0_61:
	movq	%r9, %rax
	notq	%rax
	addq	%r8, %rax
	movq	%r8, %rdx
	andq	$3, %rdx
	je	LBB0_63
	.p2align	4, 0x90
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%r9), %esi
	movzbl	(%r12,%rsi), %ebx
	movb	%bl, (%r10,%r9)
	incq	%r9
	decq	%rdx
	jne	LBB0_62
LBB0_63:
	cmpq	$3, %rax
	jb	LBB0_66
## %bb.64:
	addq	$3, %r10
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	6(%rax), %esi
	leal	5(%rax), %edi
	leal	4(%rax), %ebx
	movq	%r14, %rax
	.p2align	4, 0x90
LBB0_65:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r9,%rax), %ecx
	movzbl	(%r12,%rcx), %ecx
	movb	%cl, -3(%r10,%r9)
	leal	(%rbx,%r9), %ecx
	movzbl	(%r12,%rcx), %ecx
	movb	%cl, -2(%r10,%r9)
	leal	(%rdi,%r9), %ecx
	movzbl	(%r12,%rcx), %ecx
	movb	%cl, -1(%r10,%r9)
	leal	(%rsi,%r9), %ecx
	movzbl	(%r12,%rcx), %ecx
	movb	%cl, (%r10,%r9)
	addq	$-4, %r8
	addq	$4, %r10
	addq	$4, %rsi
	addq	$4, %rdi
	addq	$4, %rax
	addq	$4, %rbx
	cmpq	%r8, %r9
	jne	LBB0_65
LBB0_66:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	addl	%r14d, %edx
	xorl	%r14d, %r14d
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %rdx
	jae	LBB0_70
## %bb.67:
	xorl	%r14d, %r14d
	movq	%rdx, %rax
	.p2align	4, 0x90
LBB0_68:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%r12,%rax)
	je	LBB0_70
## %bb.69:                              ##   in Loop: Header=BB0_68 Depth=1
	incl	%r14d
	incl	%eax
	cmpq	%rcx, %rax
	jb	LBB0_68
LBB0_70:
	movq	%rdx, %rbx
	leal	1(%r14), %edi
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_lodepng_malloc
	movq	%rax, %r11
	testq	%rax, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_72
## %bb.71:
	xorl	%edi, %edi
	movl	$83, %esi
	callq	_CERROR_BREAK
	movq	-64(%rbp), %r11                 ## 8-byte Reload
LBB0_72:
	movl	%r14d, %r8d
	movb	$0, (%r11,%r8)
	testl	%r14d, %r14d
	movq	%rbx, %r10
	je	LBB0_98
## %bb.73:
	cmpl	$8, %r14d
	jae	LBB0_75
LBB0_74:
	xorl	%r9d, %r9d
LBB0_93:
	movq	%r9, %rax
	notq	%rax
	addq	%r8, %rax
	movq	%r8, %rdx
	andq	$3, %rdx
	je	LBB0_95
	.p2align	4, 0x90
LBB0_94:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r10,%r9), %esi
	movzbl	(%r12,%rsi), %ebx
	movb	%bl, (%r11,%r9)
	incq	%r9
	decq	%rdx
	jne	LBB0_94
LBB0_95:
	cmpq	$3, %rax
	jb	LBB0_98
## %bb.96:
	addq	$3, %r11
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r13), %esi
	addl	$7, %esi
	leal	(%rax,%r13), %edi
	addl	$6, %edi
	leal	(%rax,%r13), %ebx
	addl	$5, %ebx
	movq	%r10, %rax
	.p2align	4, 0x90
LBB0_97:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r9,%rax), %ecx
	movzbl	(%r12,%rcx), %ecx
	movb	%cl, -3(%r11,%r9)
	leal	(%rbx,%r9), %ecx
	movzbl	(%r12,%rcx), %ecx
	movb	%cl, -2(%r11,%r9)
	leal	(%rdi,%r9), %ecx
	movzbl	(%r12,%rcx), %ecx
	movb	%cl, -1(%r11,%r9)
	leal	(%rsi,%r9), %ecx
	movzbl	(%r12,%rcx), %ecx
	movb	%cl, (%r11,%r9)
	addq	$-4, %r8
	addq	$4, %r11
	addq	$4, %rsi
	addq	$4, %rdi
	addq	$4, %rax
	addq	$4, %rbx
	cmpq	%r8, %r9
	jne	LBB0_97
LBB0_98:
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	addl	%r10d, %ecx
	xorl	%r15d, %r15d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	subq	%rcx, %rax
	cmovaeq	%rax, %r15
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_103
## %bb.99:
	leaq	-80(%rbp), %rsi
	addq	%rcx, %r12
	leaq	-88(%rbp), %rdi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	callq	_zlib_decompress
	movl	%eax, %r14d
	testl	%eax, %eax
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_114
## %bb.100:
	movq	-80(%rbp), %rax
	cmpq	%rax, -72(%rbp)
	jge	LBB0_102
## %bb.101:
	movq	%rax, -72(%rbp)
LBB0_102:
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	callq	_ucvector_push_back
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_113
LBB0_103:
	leal	1(%r15), %esi
	leaq	-88(%rbp), %rdi
	callq	_ucvector_resize
	testl	%eax, %eax
	jne	LBB0_105
## %bb.104:
	xorl	%edi, %edi
	movl	$83, %esi
	callq	_CERROR_BREAK
LBB0_105:
	movq	-88(%rbp), %rax
	movl	%r15d, %r8d
	movb	$0, (%rax,%r8)
	testl	%r15d, %r15d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_113
## %bb.106:
	leaq	-1(%r8), %rax
	andl	$3, %r15d
	cmpq	$3, %rax
	jae	LBB0_108
## %bb.107:
	xorl	%eax, %eax
	jmp	LBB0_110
LBB0_43:
	leaq	-1(%r8), %rax
	movl	$-4, %edx
	subl	-56(%rbp), %edx                 ## 4-byte Folded Reload
	xorl	%r9d, %r9d
	cmpl	%eax, %edx
	jb	LBB0_61
## %bb.44:
	shrq	$32, %rax
	jne	LBB0_61
## %bb.45:
	movq	%r10, %rcx
	subq	%r12, %rcx
	subq	%r14, %rcx
	cmpq	$32, %rcx
	jb	LBB0_42
## %bb.47:
	cmpl	$32, %r13d
	jae	LBB0_49
## %bb.48:
	xorl	%r9d, %r9d
	jmp	LBB0_58
LBB0_75:
	leaq	-1(%r8), %rax
	xorl	%r9d, %r9d
	movl	%eax, %edx
	addl	%r10d, %edx
	jb	LBB0_93
## %bb.76:
	shrq	$32, %rax
	jne	LBB0_93
## %bb.77:
	movq	%r11, %rcx
	subq	%r12, %rcx
	subq	%r10, %rcx
	cmpq	$32, %rcx
	jb	LBB0_74
## %bb.79:
	cmpl	$32, %r14d
	jae	LBB0_81
## %bb.80:
	xorl	%r9d, %r9d
	jmp	LBB0_90
LBB0_108:
	subq	%r15, %r8
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r14), %edi
	addl	%r13d, %edi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_109:                               ## =>This Inner Loop Header: Depth=1
	leal	(%rdi,%rax), %esi
	addl	$5, %esi
	movzbl	(%r12,%rsi), %ebx
	movq	-88(%rbp), %rsi
	movb	%bl, (%rsi,%rax)
	leal	6(%rdi,%rax), %esi
	movzbl	(%r12,%rsi), %ebx
	movq	-88(%rbp), %rsi
	movb	%bl, 1(%rsi,%rax)
	leal	7(%rdi,%rax), %esi
	movzbl	(%r12,%rsi), %ebx
	movq	-88(%rbp), %rsi
	movb	%bl, 2(%rsi,%rax)
	leal	8(%rdi,%rax), %esi
	movzbl	(%r12,%rsi), %ebx
	movq	-88(%rbp), %rsi
	movb	%bl, 3(%rsi,%rax)
	addq	$4, %rax
	cmpq	%rax, %r8
	jne	LBB0_109
LBB0_110:
	testq	%r15, %r15
	je	LBB0_113
## %bb.111:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addl	%r13d, %esi
	addl	%r14d, %esi
	leal	(%rax,%rsi), %edi
	addl	$5, %edi
	.p2align	4, 0x90
LBB0_112:                               ## =>This Inner Loop Header: Depth=1
	movl	%edi, %esi
	movzbl	(%r12,%rsi), %ebx
	movq	-88(%rbp), %rsi
	movb	%bl, (%rsi,%rax)
	incq	%rax
	incl	%edi
	decq	%r15
	jne	LBB0_112
LBB0_113:
	movq	-88(%rbp), %r8
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_lodepng_add_itext
	movl	%eax, %r14d
LBB0_114:
	movq	%rbx, %rdi
	callq	_lodepng_free
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_lodepng_free
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_lodepng_free
	leaq	-88(%rbp), %rdi
	callq	_ucvector_cleanup
	movl	%r14d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_49:
	movl	%r8d, %r9d
	andl	$-32, %r9d
	leaq	-32(%r9), %rax
	movq	%rax, %rsi
	shrq	$5, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$96, %rax
	jae	LBB0_51
## %bb.50:
	xorl	%edi, %edi
	jmp	LBB0_53
LBB0_81:
	movl	%r8d, %r9d
	andl	$-32, %r9d
	leaq	-32(%r9), %rax
	movq	%rax, %rsi
	shrq	$5, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$96, %rax
	jae	LBB0_83
## %bb.82:
	xorl	%edi, %edi
	jmp	LBB0_85
LBB0_51:
	andq	$-4, %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	$67, %eax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	leal	-64(%rax), %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, (%r10,%rdi)
	movups	%xmm1, 16(%r10,%rdi)
	leal	-32(%rax), %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, 32(%r10,%rdi)
	movups	%xmm1, 48(%r10,%rdi)
	movl	%eax, %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, 64(%r10,%rdi)
	movups	%xmm1, 80(%r10,%rdi)
	leal	32(%rax), %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, 96(%r10,%rdi)
	movups	%xmm1, 112(%r10,%rdi)
	subq	$-128, %rdi
	subl	$-128, %eax
	addq	$-4, %rsi
	jne	LBB0_52
LBB0_53:
	testq	%rdx, %rdx
	je	LBB0_56
## %bb.54:
	leaq	(%rdi,%r10), %rax
	addq	$16, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rdi), %esi
	addl	$3, %esi
	shlq	$5, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rsi,%rdi), %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, -16(%rax,%rdi)
	movups	%xmm1, (%rax,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_55
LBB0_56:
	cmpq	%r8, %r9
	je	LBB0_66
## %bb.57:
	testb	$24, %r8b
	je	LBB0_61
LBB0_58:
	movq	%r9, %rax
	movl	%r8d, %r9d
	andl	$-8, %r9d
	.p2align	4, 0x90
LBB0_59:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%rax), %edx
	movq	(%r12,%rdx), %rdx
	movq	%rdx, (%r10,%rax)
	addq	$8, %rax
	cmpq	%rax, %r9
	jne	LBB0_59
## %bb.60:
	cmpq	%r8, %r9
	je	LBB0_66
	jmp	LBB0_61
LBB0_83:
	andq	$-4, %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r13d, %eax
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_84:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%rdi), %ebx
	addl	$4, %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, (%r11,%rdi)
	movups	%xmm1, 16(%r11,%rdi)
	leal	36(%rax,%rdi), %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, 32(%r11,%rdi)
	movups	%xmm1, 48(%r11,%rdi)
	leal	68(%rax,%rdi), %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, 64(%r11,%rdi)
	movups	%xmm1, 80(%r11,%rdi)
	leal	100(%rax,%rdi), %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, 96(%r11,%rdi)
	movups	%xmm1, 112(%r11,%rdi)
	subq	$-128, %rdi
	addq	$-4, %rsi
	jne	LBB0_84
LBB0_85:
	testq	%rdx, %rdx
	je	LBB0_88
## %bb.86:
	leaq	(%rdi,%r11), %rax
	addq	$16, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%r13), %esi
	addl	%edi, %esi
	addl	$4, %esi
	shlq	$5, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_87:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rsi,%rdi), %ebx
	movups	(%r12,%rbx), %xmm0
	movups	16(%r12,%rbx), %xmm1
	movups	%xmm0, -16(%rax,%rdi)
	movups	%xmm1, (%rax,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_87
LBB0_88:
	cmpq	%r8, %r9
	je	LBB0_98
## %bb.89:
	testb	$24, %r8b
	je	LBB0_93
LBB0_90:
	movq	%r9, %rax
	movl	%r8d, %r9d
	andl	$-8, %r9d
	.p2align	4, 0x90
LBB0_91:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r10,%rax), %edx
	movq	(%r12,%rdx), %rdx
	movq	%rdx, (%r11,%rax)
	addq	$8, %rax
	cmpq	%rax, %r9
	jne	LBB0_91
## %bb.92:
	cmpq	%r8, %r9
	je	LBB0_98
	jmp	LBB0_93
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_readChunk_iTXt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function readChunk_iTXt
_readChunk_iTXt:                        ; @readChunk_iTXt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	add	x0, sp, #24
	bl	_ucvector_init
	cmp	x23, #4
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	b.hi	LBB0_2
; %bb.1:
	mov	w0, #0
	mov	w1, #30
	bl	_CERROR_BREAK
	cbz	x23, LBB0_5
LBB0_2:
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, x8]
	cbz	w9, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #1
	cmp	x8, x23
	b.lo	LBB0_3
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	mov	w27, w8
	add	w26, w8, #3
	cmp	x26, x23
	b.lo	LBB0_8
; %bb.7:
	mov	w0, #0
	mov	w1, #75
	bl	_CERROR_BREAK
LBB0_8:
	sub	w8, w27, #80
	cmn	w8, #80
	b.hi	LBB0_10
; %bb.9:
	mov	w0, #0
	mov	w1, #89
	bl	_CERROR_BREAK
LBB0_10:
	add	w24, w27, #1
	mov	x0, x24
	bl	_lodepng_malloc
	mov	x21, x0
	cbnz	x0, LBB0_12
; %bb.11:
	mov	w1, #83
	bl	_CERROR_BREAK
LBB0_12:
	strb	wzr, [x21, x27]
	cbz	w27, LBB0_26
; %bb.13:
	mov	x8, #0
	cmp	w27, #8
	b.lo	LBB0_24
; %bb.14:
	sub	x9, x21, x20
	cmp	x9, #64
	b.lo	LBB0_24
; %bb.15:
	cmp	w27, #64
	b.hs	LBB0_17
; %bb.16:
	mov	x8, #0
	b	LBB0_21
LBB0_17:
	and	x8, x27, #0xffffffc0
	add	x9, x21, #32
	add	x10, x20, #32
	mov	x11, x8
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x11, x11, #64
	b.ne	LBB0_18
; %bb.19:
	cmp	x8, x27
	b.eq	LBB0_26
; %bb.20:
	tst	x27, #0x38
	b.eq	LBB0_24
LBB0_21:
	mov	x11, x8
	and	x8, x27, #0xfffffff8
	add	x9, x20, x11
	add	x10, x21, x11
	sub	x11, x11, x8
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x9], #8
	str	d0, [x10], #8
	adds	x11, x11, #8
	b.ne	LBB0_22
; %bb.23:
	cmp	x8, x27
	b.eq	LBB0_26
LBB0_24:
	add	x9, x20, x8
	add	x10, x21, x8
	sub	x8, x27, x8
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9], #1
	strb	w11, [x10], #1
	subs	x8, x8, #1
	b.ne	LBB0_25
LBB0_26:
	ldrb	w19, [x20, w24, uxtw]
	add	w8, w27, #2
	ldrb	w8, [x20, w8, uxtw]
	cbz	w8, LBB0_28
; %bb.27:
	mov	w0, #0
	mov	w1, #72
	bl	_CERROR_BREAK
LBB0_28:
	cmp	x26, x23
	str	w19, [sp, #20]                  ; 4-byte Folded Spill
	mov	w28, #0
	b.hs	LBB0_32
; %bb.29:
	mov	x8, x26
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, x8]
	cbz	w9, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	add	w28, w28, #1
	add	w8, w8, #1
	cmp	x8, x23
	b.lo	LBB0_30
LBB0_32:
	add	w25, w28, #1
	mov	x0, x25
	bl	_lodepng_malloc
	mov	x24, x0
	cbnz	x0, LBB0_34
; %bb.33:
	mov	w1, #83
	bl	_CERROR_BREAK
LBB0_34:
	mov	w8, w28
	strb	wzr, [x24, x8]
	cbz	w28, LBB0_39
; %bb.35:
	cmp	w28, #8
	b.hs	LBB0_62
LBB0_36:
	mov	x9, #0
LBB0_37:
	add	x10, x24, x9
	add	w11, w27, w9
	add	w11, w11, #3
	sub	x8, x8, x9
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, w11, uxtw]
	strb	w9, [x10], #1
	add	w11, w11, #1
	subs	x8, x8, #1
	b.ne	LBB0_38
LBB0_39:
	add	w19, w25, w26
	cmp	x19, x23
	str	x22, [sp]                       ; 8-byte Folded Spill
	mov	w22, #0
	b.hs	LBB0_43
; %bb.40:
	mov	x8, x19
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, x8]
	cbz	w9, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	add	w22, w22, #1
	add	w8, w8, #1
	cmp	x8, x23
	b.lo	LBB0_41
LBB0_43:
	add	w26, w22, #1
	mov	x0, x26
	bl	_lodepng_malloc
	mov	x25, x0
	cbnz	x0, LBB0_45
; %bb.44:
	mov	w1, #83
	bl	_CERROR_BREAK
LBB0_45:
	mov	w8, w22
	strb	wzr, [x25, x8]
	cbz	w22, LBB0_50
; %bb.46:
	cmp	w22, #8
	b.hs	LBB0_67
LBB0_47:
	mov	x9, #0
LBB0_48:
	add	x10, x25, x9
	add	w11, w27, w28
	add	w11, w11, w9
	add	w11, w11, #4
	sub	x8, x8, x9
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x20, w11, uxtw]
	strb	w9, [x10], #1
	add	w11, w11, #1
	subs	x8, x8, #1
	b.ne	LBB0_49
LBB0_50:
	add	w8, w26, w19
	subs	x9, x23, x8
	csel	x23, xzr, x9, lo
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_55
; %bb.51:
	add	x9, sp, #24
	add	x1, x9, #8
	add	x2, x20, x8
	add	x0, sp, #24
	mov	x3, x23
	ldr	x4, [sp, #8]                    ; 8-byte Folded Reload
	bl	_zlib_decompress
	mov	x20, x0
	cbnz	w0, LBB0_61
; %bb.52:
	ldp	x8, x9, [sp, #32]
	cmp	x9, x8
	b.ge	LBB0_54
; %bb.53:
	str	x8, [sp, #40]
LBB0_54:
	add	x0, sp, #24
	mov	w1, #0
	bl	_ucvector_push_back
	b	LBB0_60
LBB0_55:
	add	w1, w23, #1
	add	x0, sp, #24
	bl	_ucvector_resize
	cbnz	w0, LBB0_57
; %bb.56:
	mov	w1, #83
	bl	_CERROR_BREAK
LBB0_57:
	ldr	x9, [sp, #24]
	and	x8, x23, #0xffffffff
	strb	wzr, [x9, x8]
	cbz	w23, LBB0_60
; %bb.58:
	mov	x9, #0
	add	w10, w27, w22
	add	w10, w10, w28
	add	w10, w10, #5
LBB0_59:                                ; =>This Inner Loop Header: Depth=1
	add	w11, w10, w9
	ldrb	w11, [x20, w11, uxtw]
	ldr	x12, [sp, #24]
	strb	w11, [x12, x9]
	add	x9, x9, #1
	cmp	x9, x8
	b.lo	LBB0_59
LBB0_60:
	ldr	x4, [sp, #24]
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x21
	mov	x2, x24
	mov	x3, x25
	bl	_lodepng_add_itext
	mov	x20, x0
LBB0_61:
	mov	x0, x21
	bl	_lodepng_free
	mov	x0, x24
	bl	_lodepng_free
	mov	x0, x25
	bl	_lodepng_free
	add	x0, sp, #24
	bl	_ucvector_cleanup
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_62:
	mov	x9, #0
	sub	x10, x8, #1
	mov	w11, #-4
	sub	w11, w11, w27
	cmp	w11, w10
	b.lo	LBB0_37
; %bb.63:
	lsr	x10, x10, #32
	cbnz	x10, LBB0_37
; %bb.64:
	add	x9, x20, x26
	sub	x9, x24, x9
	cmp	x9, #64
	b.lo	LBB0_36
; %bb.65:
	cmp	w28, #64
	b.hs	LBB0_72
; %bb.66:
	mov	x9, #0
	b	LBB0_76
LBB0_67:
	mov	x9, #0
	sub	x10, x8, #1
	cmn	w19, w10
	b.hs	LBB0_48
; %bb.68:
	lsr	x10, x10, #32
	cbnz	x10, LBB0_48
; %bb.69:
	add	x9, x20, x19
	sub	x9, x25, x9
	cmp	x9, #64
	b.lo	LBB0_47
; %bb.70:
	cmp	w22, #64
	b.hs	LBB0_79
; %bb.71:
	mov	x9, #0
	b	LBB0_83
LBB0_72:
	and	x9, x8, #0xffffffc0
	add	x10, x24, #32
	mov	x11, x26
	mov	x12, x9
LBB0_73:                                ; =>This Inner Loop Header: Depth=1
	add	x13, x20, w11, uxtw
	ldp	q0, q1, [x13]
	ldp	q2, q3, [x13, #32]
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	add	w11, w11, #64
	subs	x12, x12, #64
	b.ne	LBB0_73
; %bb.74:
	cmp	x9, x8
	b.eq	LBB0_39
; %bb.75:
	tst	x8, #0x38
	b.eq	LBB0_37
LBB0_76:
	mov	x12, x9
	and	x9, x8, #0xfffffff8
	add	x10, x24, x12
	sub	x11, x12, x9
	add	w12, w27, w12
	add	w12, w12, #3
LBB0_77:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x20, w12, uxtw]
	str	d0, [x10], #8
	add	w12, w12, #8
	adds	x11, x11, #8
	b.ne	LBB0_77
; %bb.78:
	cmp	x9, x8
	b.eq	LBB0_39
	b	LBB0_37
LBB0_79:
	and	x9, x8, #0xffffffc0
	add	x10, x25, #32
	mov	x11, x19
	mov	x12, x9
LBB0_80:                                ; =>This Inner Loop Header: Depth=1
	add	x13, x20, w11, uxtw
	ldp	q0, q1, [x13]
	ldp	q2, q3, [x13, #32]
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	add	w11, w11, #64
	subs	x12, x12, #64
	b.ne	LBB0_80
; %bb.81:
	cmp	x9, x8
	b.eq	LBB0_50
; %bb.82:
	tst	x8, #0x38
	b.eq	LBB0_48
LBB0_83:
	mov	x12, x9
	and	x9, x8, #0xfffffff8
	add	x10, x25, x12
	sub	x11, x12, x9
	add	w13, w27, w28
	add	w12, w13, w12
	add	w12, w12, #4
LBB0_84:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x20, w12, uxtw]
	str	d0, [x10], #8
	add	w12, w12, #8
	adds	x11, x11, #8
	b.ne	LBB0_84
; %bb.85:
	cmp	x9, x8
	b.eq	LBB0_50
	b	LBB0_48
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_readChunk_iTXt
.subsections_via_symbols
