	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function render_charset
_render_charset:                        ## @render_charset
	.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	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	(%rdi), %r14
	movq	(%r14), %r12
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r15d, %rax
	leaq	_render_charset.index1(%rip), %rcx
	movq	%rax, (%rcx,%rbx,8)
	leal	1(%r15), %edi
	callq	_FFMIN
	leaq	_render_charset.index2(%rip), %r9
	movq	%rax, (%r9,%rbx,8)
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	je	LBB0_6
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movl	8(%r14), %esi
	decl	%esi
	cmpl	%esi, %r15d
	jge	LBB0_17
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r14), %rax
	movslq	%r15d, %rcx
	movl	4(%rax,%rcx,4), %r9d
	cmpq	%r9, %rbx
	jne	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%r15d
	movslq	(%rax,%rcx,4), %r8
	movl	%r9d, %r12d
	subl	%r8d, %r12d
	js	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_DITHERSTEPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-1(%rax), %r10d
	subl	%r8d, %r9d
	incl	%r9d
	cmpl	$1, %r9d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r9d, %r11d
	andl	$-2, %r11d
	leal	(%rax,%rax), %r14d
	addl	$-2, %r14d
	leaq	_render_charset.dither(%rip), %rax
	leaq	(%rax,%r8,8), %rbx
	addq	$8, %rbx
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edi, %eax
	cltd
	idivl	%r12d
	cltq
	movq	%rax, -8(%rbx,%rcx,8)
	leal	(%r10,%rdi), %eax
	cltd
	idivl	%r12d
	cltq
	movq	%rax, (%rbx,%rcx,8)
	addq	$2, %rcx
	addl	%r14d, %edi
	cmpq	%rcx, %r11
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r9b
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	imull	%ecx, %r10d
	movl	%r10d, %eax
	cltd
	idivl	%r12d
	cltq
	addq	%rcx, %r8
	leaq	_render_charset.dither(%rip), %rcx
	movq	%rax, (%rcx,%r8,8)
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%esi, %r15d
	jl	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	_render_charset.dither(%rip), %rax
	movq	$0, (%rax,%rbx,8)
	jmp	LBB0_19
LBB0_6:
	movq	_CHARSET_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_44
## %bb.7:
	xorl	%esi, %esi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setg	%al
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	subq	$-128, %r12
	addq	$64, %r13
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movslq	%esi, %rcx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
LBB0_43:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	%esi
	cmpl	-68(%rbp), %esi                 ## 4-byte Folded Reload
	jge	LBB0_44
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%rbx
	addq	$16, %rsi
	cmpq	$8, %rbx
	je	LBB0_33
LBB0_9:                                 ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
	movq	_INTERLACED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_interlaced_dither_patterns@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%rbx), %r10d
	andl	$6, %r10d
	movl	%r10d, %edx
	orl	$1, %edx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	_multi_dither_patterns@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	andl	$3, %ebx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	xorl	%r11d, %r11d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=3
	movq	(%r9,%r14,8), %rdx
	andl	$3, %edx
	orq	%r11, %rdx
	xorq	$3, %rdx
	movq	%rdx, %r11
LBB0_29:                                ##   in Loop: Header=BB0_10 Depth=3
	andl	$3, %r15d
	orq	%r15, %r12
	xorq	$3, %r12
	incq	%r13
	cmpq	$4, %r13
	je	LBB0_30
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	(%rsi,%r13,4), %r14
	leaq	_render_charset.index1(%rip), %rdx
	movq	(%rdx,%r14,8), %r8
	cmpq	$3, %r8
	jb	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=3
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rbx
	addl	%r14d, %ecx
	subl	12(%rbx), %ecx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_10 Depth=3
	testq	%r8, %r8
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=3
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rbx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	subl	%r14d, %edx
	addl	4(%rbx), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=3
	shlq	$2, %r12
	testq	%rax, %rax
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=3
	shlq	$2, %r11
	leaq	_render_charset.dither(%rip), %rdx
	movq	(%rdx,%r14,8), %rbx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx,%rbx,8), %rbx
	movq	(%rbx,%r10,8), %rdx
	cmpq	$0, (%rdx,%r13,8)
	movq	%r9, %rdx
	leaq	_render_charset.index1(%rip), %rdi
	cmoveq	%rdi, %rdx
	movq	(%rdx,%r14,8), %r15
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movq	(%rbx,%rdx,8), %rdx
	cmpq	$0, (%rdx,%r13,8)
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=3
	andl	$3, %r8d
	orq	%r11, %r8
	xorq	$3, %r8
	movq	%r8, %r11
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_10 Depth=3
	leaq	_render_charset.dither(%rip), %rdx
	movq	(%rdx,%r14,8), %rdx
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx,%rdx,8), %rdx
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	(%rdx,%rbx,8), %rdx
	cmpq	$0, (%rdx,%r13,8)
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_10 Depth=3
	movq	(%r9,%r14,8), %r15
	jmp	LBB0_29
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=3
	movq	%r8, %r15
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%r12, (%r13,%rbx,8)
	movq	_INTERLACED@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r11, 16384(%r13,%rbx,8)
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_8 Depth=1
	testl	%ecx, %ecx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jle	LBB0_42
## %bb.34:                              ##   in Loop: Header=BB0_8 Depth=1
	testl	%eax, %eax
	jle	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 24(%r14)
	je	LBB0_42
## %bb.36:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	%ecx, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jbe	LBB0_37
## %bb.39:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rax
	movl	12(%rax), %edi
	movl	(%r12,%rbx,4), %esi
	callq	_FFMIN
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	$32, %rbx
	jne	LBB0_40
	jmp	LBB0_41
LBB0_37:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rax
	movl	4(%rax), %edi
	movl	(%r12,%rbx,4), %esi
	callq	_FFMAX
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	$32, %rbx
	jne	LBB0_38
LBB0_41:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	decl	%esi
	movq	_CHARSET_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leaq	_render_charset.index2(%rip), %r9
	jmp	LBB0_43
LBB0_44:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_render_charset.index1,2048,4 ## @render_charset.index1
.zerofill __DATA,__bss,_render_charset.index2,2048,4 ## @render_charset.index2
.zerofill __DATA,__bss,_render_charset.dither,2048,4 ## @render_charset.dither
	.comm	_DITHERSTEPS,4,2                ## @DITHERSTEPS
	.comm	_CHARSET_CHARS,4,2              ## @CHARSET_CHARS
	.comm	_INTERLACED,8,3                 ## @INTERLACED
	.comm	_interlaced_dither_patterns,8,3 ## @interlaced_dither_patterns
	.comm	_multi_dither_patterns,8,3      ## @multi_dither_patterns
	.no_dead_strip	_render_charset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function render_charset
_render_charset:                        ; @render_charset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x2, [sp]                        ; 8-byte Folded Spill
	mov	x20, x1
	mov	x19, #0
	mov	w27, #0
	ldr	x21, [x0]
	ldr	x22, [x21]
Lloh0:
	adrp	x26, _DITHERSTEPS@GOTPAGE
Lloh1:
	ldr	x26, [x26, _DITHERSTEPS@GOTPAGEOFF]
Lloh2:
	adrp	x23, _render_charset.dither@PAGE
Lloh3:
	add	x23, x23, _render_charset.dither@PAGEOFF
Lloh4:
	adrp	x24, _render_charset.index1@PAGE
Lloh5:
	add	x24, x24, _render_charset.index1@PAGEOFF
Lloh6:
	adrp	x25, _render_charset.index2@PAGE
Lloh7:
	add	x25, x25, _render_charset.index2@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x8, w27
	lsl	x28, x19, #3
	str	x8, [x24, x28]
	add	w0, w27, #1
	bl	_FFMIN
	str	x0, [x25, x28]
	add	x19, x19, #1
	cmp	x19, #256
	b.eq	LBB0_15
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w8, [x21, #8]
	sub	w1, w8, #1
	cmp	w27, w1
	b.ge	LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x21, #16]
	mov	x8, x27
	sxtw	x10, w8
	add	x8, x10, #1
	ldr	w12, [x9, x8, lsl #2]
	cmp	x19, x12
	b.ne	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x11, [x9, x10, lsl #2]
	subs	w9, w12, w11
	b.mi	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x26]
	sub	w10, w0, #1
	sub	w12, w12, w11
	add	w12, w12, #1
	cmp	w12, #4
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x13, #0
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w14, #0
	and	x13, x12, #0xfffffffc
	lsl	w15, w0, #2
	sub	w15, w15, #4
	lsl	w2, w0, #1
	sub	w16, w2, #2
	add	x17, x23, x11, lsl #3
	add	x17, x17, #16
	add	w0, w2, w0
	sub	w0, w0, #3
	mov	x2, x13
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w3, w10, w14
	add	w4, w16, w14
	add	w5, w0, w14
	sdiv	w6, w14, w9
	sdiv	w3, w3, w9
	sdiv	w4, w4, w9
	sxtw	x6, w6
	sxtw	x3, w3
	sxtw	x4, w4
	stp	x6, x3, [x17, #-16]
	sdiv	w3, w5, w9
	sxtw	x3, w3
	stp	x4, x3, [x17], #32
	add	w14, w14, w15
	subs	x2, x2, #4
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x13, x12
	b.eq	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	mul	w14, w10, w13
	add	x11, x13, x11
	add	x11, x23, x11, lsl #3
	sub	x12, x12, x13
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sdiv	w13, w14, w9
	sxtw	x13, w13
	str	x13, [x11], #8
	add	w14, w14, w10
	subs	x12, x12, #1
	b.ne	LBB0_11
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, x8
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w27, w1
	b.lt	LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x23, x19, lsl #3]
	b	LBB0_1
LBB0_15:
Lloh8:
	adrp	x8, _CHARSET_CHARS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHARSET_CHARS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.16:
	mov	w9, #0
Lloh11:
	adrp	x28, _INTERLACED@GOTPAGE
Lloh12:
	ldr	x28, [x28, _INTERLACED@GOTPAGEOFF]
Lloh13:
	adrp	x26, _interlaced_dither_patterns@GOTPAGE
Lloh14:
	ldr	x26, [x26, _interlaced_dither_patterns@GOTPAGEOFF]
Lloh15:
	adrp	x19, _multi_dither_patterns@GOTPAGE
Lloh16:
	ldr	x19, [x19, _multi_dither_patterns@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	cmp	w9, #0
	cset	w9, gt
	add	x22, x22, #128
	add	x20, x20, #64
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	str	x9, [x10, w11, sxtw #3]
	mov	x9, x11
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	w9, w9, #1
	cmp	w9, w8
	b.ge	LBB0_46
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
                                        ;       Child Loop BB0_25 Depth 3
                                        ;     Child Loop BB0_44 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	mov	x11, #0
	mov	w9, #0
	mov	w10, #0
	mov	x12, x22
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	add	x11, x11, #1
	add	x12, x12, #16
	cmp	x11, #8
	b.eq	LBB0_37
LBB0_21:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_25 Depth 3
	mov	x13, #0
	mov	x14, #0
	mov	x0, #0
	ldr	x15, [x28]
	ldr	x16, [x26]
	ubfiz	w17, w11, #1, #2
	mov	w1, #1
	bfi	w1, w11, #1, #2
	ldr	x2, [x19]
	and	x3, x11, #0x3
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_25 Depth=3
	and	x4, x5, #0x3
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=3
	orr	x0, x4, x0
	eor	x0, x0, #0x3
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=3
	lsl	x14, x14, #2
	and	x4, x6, #0x3
	orr	x14, x4, x14
	eor	x14, x14, #0x3
	add	x13, x13, #1
	cmp	x13, #4
	b.eq	LBB0_35
LBB0_25:                                ;   Parent Loop BB0_19 Depth=1
                                        ;     Parent Loop BB0_21 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrsw	x4, [x12, x13, lsl #2]
	ldr	x5, [x24, x4, lsl #3]
	cmp	x5, #3
	b.lo	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=3
	ldr	x6, [x21, #16]
	ldr	w6, [x6, #12]
	add	w9, w4, w9
	sub	w9, w9, w6
	cbnz	x15, LBB0_29
	b	LBB0_32
LBB0_27:                                ;   in Loop: Header=BB0_25 Depth=3
	cbz	x5, LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=3
	cbz	x15, LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_25 Depth=3
	lsl	x6, x4, #3
	ldr	x7, [x23, x6]
	ldr	x7, [x16, x7, lsl #3]
	ldr	x27, [x7, x17, lsl #3]
	lsl	x0, x0, #2
	lsl	x30, x13, #3
	ldr	x27, [x27, x30]
	cmp	x27, #0
	csel	x27, x24, x25, eq
	ldr	x6, [x27, x6]
	ldr	x7, [x7, x1, lsl #3]
	ldr	x7, [x7, x30]
	cbz	x7, LBB0_22
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=3
	ldr	x4, [x25, x4, lsl #3]
	and	x4, x4, #0x3
	b	LBB0_23
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=3
	ldr	x6, [x21, #16]
	ldr	w6, [x6, #4]
	sub	w10, w10, w4
	add	w10, w10, w6
	cbnz	x15, LBB0_29
LBB0_32:                                ;   in Loop: Header=BB0_25 Depth=3
	ldr	x6, [x23, x4, lsl #3]
	ldr	x6, [x2, x6, lsl #3]
	ldr	x6, [x6, x3, lsl #3]
	ldr	x6, [x6, x13, lsl #3]
	cbz	x6, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_25 Depth=3
	ldr	x6, [x25, x4, lsl #3]
	b	LBB0_24
LBB0_34:                                ;   in Loop: Header=BB0_25 Depth=3
	mov	x6, x5
	b	LBB0_24
LBB0_35:                                ;   in Loop: Header=BB0_21 Depth=2
	str	x14, [x20, x11, lsl #3]
	ldr	x13, [x28]
	cbz	x13, LBB0_20
; %bb.36:                               ;   in Loop: Header=BB0_21 Depth=2
	add	x13, x20, x11, lsl #3
	str	x0, [x13, #16384]
	b	LBB0_20
LBB0_37:                                ;   in Loop: Header=BB0_19 Depth=1
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.38:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w10, #1
	b.lt	LBB0_17
; %bb.39:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x11, [x21, #24]
	cbz	x11, LBB0_17
; %bb.40:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w10, w9
	b.ls	LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x27, #0
LBB0_42:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #16]
	ldr	w0, [x8, #12]
	ldr	w1, [x22, x27]
	bl	_FFMIN
	str	w0, [x22, x27]
	add	x27, x27, #4
	cmp	x27, #128
	b.ne	LBB0_42
	b	LBB0_45
LBB0_43:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x27, #0
LBB0_44:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #16]
	ldr	w0, [x8, #4]
	ldr	w1, [x22, x27]
	bl	_FFMAX
	str	w0, [x22, x27]
	add	x27, x27, #4
	cmp	x27, #128
	b.ne	LBB0_44
LBB0_45:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	sub	w9, w9, #1
Lloh17:
	adrp	x8, _CHARSET_CHARS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CHARSET_CHARS@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	b	LBB0_18
LBB0_46:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_render_charset.index1,2048,3 ; @render_charset.index1
.zerofill __DATA,__bss,_render_charset.index2,2048,3 ; @render_charset.index2
.zerofill __DATA,__bss,_render_charset.dither,2048,3 ; @render_charset.dither
	.comm	_DITHERSTEPS,4,2                ; @DITHERSTEPS
	.comm	_CHARSET_CHARS,4,2              ; @CHARSET_CHARS
	.comm	_INTERLACED,8,3                 ; @INTERLACED
	.comm	_interlaced_dither_patterns,8,3 ; @interlaced_dither_patterns
	.comm	_multi_dither_patterns,8,3      ; @multi_dither_patterns
	.no_dead_strip	_render_charset
.subsections_via_symbols
