	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chr_convert
_chr_convert:                           ## @chr_convert
	.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
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rsi), %rax
	movl	16(%rax), %esi
	movl	20(%rax), %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movq	8(%r15), %rsi
	movq	8(%rsi), %rdi
	movl	(%rdi), %r9d
	movl	16(%rdi), %r8d
	movl	(%rsi), %ecx
	movq	(%rax), %rdx
	movl	%r13d, 16(%rdx)
	movl	%r14d, 20(%rdx)
	movl	%r13d, 32(%rdx)
	movl	%r14d, 36(%rdx)
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.1:
	movl	%r13d, %edx
	subl	%r8d, %edx
	sarl	%cl, %r9d
	subl	%r9d, %r13d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r13d
	movslq	%r13d, %r13
	movslq	%edx, %r14
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	shlq	$3, %r14
	shlq	$3, %r13
	leaq	-8(,%rcx,8), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rcx
	addq	%r13, %rcx
	movq	(%r12,%rcx), %rdx
	movq	%rdx, -80(%rbp)
	movq	24(%rdi), %rcx
	addq	%r14, %rcx
	movq	(%r12,%rcx), %rcx
	movq	%rcx, -72(%rbp)
	movq	8(%rsi), %rdi
	movq	40(%rdi), %rdi
	addq	%r14, %rdi
	movq	(%r12,%rdi), %r8
	movq	%r8, -64(%rbp)
	movq	8(%rsi), %rsi
	movq	56(%rsi), %rsi
	addq	%r13, %rsi
	movq	(%r12,%rsi), %rsi
	movq	%rsi, -56(%rbp)
	movq	(%rax), %rax
	movq	24(%rax), %rsi
	movq	40(%rax), %rax
	movq	(%rsi,%r12), %rdi
	movq	(%rax,%r12), %rsi
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r9
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, (%rsp)
	movq	%r9, %rbx
	movl	-88(%rbp), %r9d                 ## 4-byte Reload
	callq	*%rax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %r8d
	leaq	-80(%rbp), %rdx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	callq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r12, -104(%rbp)                ## 8-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	8(%r15), %rsi
	movq	8(%rsi), %rdi
	addq	$8, %r12
	jmp	LBB0_2
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_chr_convert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chr_convert
_chr_convert:                           ; @chr_convert
	.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	x19, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x1, #8]
	ldp	w1, w0, [x8, #16]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x20, #16]
	ldr	x23, [x8]
	ldp	x9, x8, [x20]
	ldr	x10, [x8, #8]
	ldr	w12, [x10]
	ldr	w11, [x8]
	ldr	w13, [x10, #16]
	ldr	x14, [x9]
	stp	w24, w19, [x14, #16]
	stp	w24, w19, [x14, #32]
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, x0
	mov	x25, #0
	sub	w13, w24, w13
	asr	w12, w12, w11
	sub	w12, w24, w12
	lsl	w11, w12, w11
	mov	w12, w19
	sbfiz	x24, x13, #3, #32
	sbfiz	x26, x11, #3, #32
	lsl	x11, x12, #3
	sub	x27, x11, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, #8]
	add	x11, x11, x26
	ldr	x2, [x11, x25]
	str	x2, [sp, #8]
	ldr	x10, [x10, #24]
	add	x10, x10, x24
	ldr	x3, [x10, x25]
	str	x3, [sp, #16]
	ldr	x10, [x8, #8]
	ldr	x10, [x10, #40]
	add	x10, x10, x24
	ldr	x4, [x10, x25]
	str	x4, [sp, #24]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, #56]
	add	x8, x8, x26
	ldr	x8, [x8, x25]
	str	x8, [sp, #32]
	ldr	x8, [x9]
	ldr	x9, [x8, #24]
	ldr	x0, [x9, x25]
	ldr	x8, [x8, #40]
	ldr	x1, [x8, x25]
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x5, x22
	mov	x6, x23
	blr	x8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w4, [x21]
	add	x2, sp, #8
	mov	x3, x22
	blr	x8
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x27, x25
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x9, x8, [x20]
	ldr	x10, [x8, #8]
	add	x25, x25, #8
	b	LBB0_2
LBB0_8:
	ldr	x8, [sp, #40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	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_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_chr_convert
.subsections_via_symbols
