	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addChunk_zTXt
_addChunk_zTXt:                         ## @addChunk_zTXt
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_strlen
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	-72(%rbp), %rdi
	callq	_ucvector_init
	leaq	-56(%rbp), %rdi
	callq	_ucvector_init
	movb	(%r14), %al
	movl	$89, %r13d
	testb	%al, %al
	je	LBB0_10
## %bb.1:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	$-1, %r12
	leaq	-72(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %esi
	movq	%r15, %rdi
	callq	_ucvector_push_back
	movzbl	2(%r14,%r12), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_2
## %bb.3:
	cmpq	$78, %r12
	ja	LBB0_10
## %bb.4:
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ucvector_push_back
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ucvector_push_back
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	callq	_zlib_compress
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	cmpq	$0, -48(%rbp)
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	leaq	-72(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movzbl	(%rax,%rbx), %esi
	movq	%r14, %rdi
	callq	_ucvector_push_back
	incq	%rbx
	cmpq	-48(%rbp), %rbx
	jb	LBB0_7
LBB0_8:
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_addChunk
	movl	%eax, %r13d
LBB0_9:
	leaq	-56(%rbp), %rdi
	callq	_ucvector_cleanup
	leaq	-72(%rbp), %rdi
	callq	_ucvector_cleanup
LBB0_10:
	movl	%r13d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"zTXt"

	.no_dead_strip	_addChunk_zTXt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addChunk_zTXt
_addChunk_zTXt:                         ; @addChunk_zTXt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x2
	bl	_strlen
	mov	x22, x0
	add	x0, sp, #16
	bl	_ucvector_init
	mov	x0, sp
	bl	_ucvector_init
	ldrb	w8, [x23]
	cbz	w8, LBB0_4
; %bb.1:
	mov	w24, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	w1, w8, #0xff
	add	x0, sp, #16
	bl	_ucvector_push_back
	ldrb	w8, [x23, x24]
	add	x24, x24, #1
	cbnz	w8, LBB0_2
; %bb.3:
	sub	x8, x24, #2
	cmp	x8, #78
	b.ls	LBB0_5
LBB0_4:
	mov	w20, #89
	b	LBB0_11
LBB0_5:
	add	x0, sp, #16
	mov	w1, #0
	bl	_ucvector_push_back
	add	x0, sp, #16
	mov	w1, #0
	bl	_ucvector_push_back
	mov	x8, sp
	add	x1, x8, #8
	mov	x0, sp
	mov	x2, x21
	mov	x3, x22
	mov	x4, x20
	bl	_zlib_compress
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.6:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_9
; %bb.7:
	mov	x20, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	ldrb	w1, [x8, x20]
	add	x0, sp, #16
	bl	_ucvector_push_back
	add	x20, x20, #1
	ldr	x8, [sp, #8]
	cmp	x20, x8
	b.lo	LBB0_8
LBB0_9:
	ldp	x2, x3, [sp, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_addChunk
	mov	x20, x0
LBB0_10:
	mov	x0, sp
	bl	_ucvector_cleanup
	add	x0, sp, #16
	bl	_ucvector_cleanup
LBB0_11:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"zTXt"

	.no_dead_strip	_addChunk_zTXt
.subsections_via_symbols
