	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_tr
_do_tr:                                 ## @do_tr
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MB_CUR_MAX@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	_psl@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_20
## %bb.2:
	movq	_ps@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rsi
	movsbq	(%rdx), %rdi
	movzbl	(%rsi,%rdi), %ebx
	movb	%bl, (%rdx)
	incq	%rdx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jb	LBB0_3
	jmp	LBB0_20
LBB0_4:
	movq	_YS@GOTPCREL(%rip), %rax
	movq	$0, 16(%rax)
	movq	_psl@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_19
## %bb.5:
	movq	_ps@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_APPEND@GOTPCREL(%rip), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12), %ecx
	movq	_YS@GOTPCREL(%rip), %rdi
	leaq	-65(%rbp), %rsi
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %edx
	callq	_cspace
	movl	$1, %eax
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	%rax, %rbx
	subq	%rax, %r13
	je	LBB0_19
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	(%r14), %rax
	movsbq	(%rbx), %rcx
	movb	(%rax,%rcx), %al
	movb	%al, -65(%rbp)
	testb	%al, %al
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%r12
	movslq	%ecx, %rax
	addq	$24, %r15
	cmpq	%rax, %r12
	jge	LBB0_14
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%r15), %rdx
	cmpq	%rdx, %r13
	jb	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	20(%rax,%r15), %esi
	movq	%rbx, %rdi
	callq	_memcmp
	movl	8(%r14), %ecx
	testq	%rax, %rax
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%ecx, %r12d
	jge	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r14), %rax
	movl	%r12d, %ecx
	shlq	$3, %rcx
	leaq	(%rcx,%rcx,2), %r15
	movq	8(%rax,%r15), %rsi
	movl	16(%rax,%r15), %edx
	movq	_APPEND@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_YS@GOTPCREL(%rip), %rdi
	callq	_cspace
	movq	16(%r14), %rax
	movq	(%rax,%r15), %rax
	jmp	LBB0_18
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r12d, %r12d
	cmpl	%ecx, %r12d
	jl	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_APPEND@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_YS@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	jmp	LBB0_17
LBB0_19:
	movq	_PS@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	8(%rax), %edx
	movq	12(%rax), %rsi
	movq	%rsi, -64(%rbp)
	movl	20(%rax), %edi
	movl	%edi, -56(%rbp)
	movq	_YS@GOTPCREL(%rip), %rcx
	movq	16(%rcx), %rbx
	movq	%rbx, 16(%rax)
	movups	(%rcx), %xmm0
	movups	%xmm0, (%rax)
	movq	_psanl@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	movq	%r8, (%rcx)
	movl	%edx, 8(%rcx)
	movq	%rsi, 12(%rcx)
	movl	%edi, 20(%rcx)
	movl	%r8d, 4(%rcx)
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_CUR_MAX,4,2                 ## @MB_CUR_MAX
	.comm	_ps,8,3                         ## @ps
	.comm	_psl,8,3                        ## @psl
	.comm	_YS,24,3                        ## @YS
	.comm	_APPEND,4,2                     ## @APPEND
	.comm	_PS,24,3                        ## @PS
	.comm	_psanl,4,2                      ## @psanl
	.no_dead_strip	_do_tr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_tr
_do_tr:                                 ; @do_tr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _MB_CUR_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MB_CUR_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _psl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _psl@GOTPAGEOFF]
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_20
; %bb.2:
Lloh8:
	adrp	x9, _ps@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ps@GOTPAGEOFF]
	ldr	x10, [x9]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19]
	ldrsb	x12, [x10]
	ldrb	w11, [x11, x12]
	strb	w11, [x10], #1
	ldr	x11, [x9]
	ldr	x12, [x8]
	add	x11, x11, x12
	cmp	x10, x11
	b.lo	LBB0_3
	b	LBB0_20
LBB0_4:
Lloh10:
	adrp	x22, _YS@GOTPAGE
Lloh11:
	ldr	x22, [x22, _YS@GOTPAGEOFF]
	str	xzr, [x22, #16]
Lloh12:
	adrp	x8, _psl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _psl@GOTPAGEOFF]
Lloh14:
	ldr	x23, [x8]
	cbz	x23, LBB0_19
; %bb.5:
Lloh15:
	adrp	x8, _ps@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ps@GOTPAGEOFF]
Lloh17:
	ldr	x20, [x8]
	mov	w24, #24
Lloh18:
	adrp	x25, _APPEND@GOTPAGE
Lloh19:
	ldr	x25, [x25, _APPEND@GOTPAGEOFF]
Lloh20:
	adrp	x21, _YS@GOTPAGE
Lloh21:
	ldr	x21, [x21, _YS@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w3, [x25]
	add	x1, sp, #7
	mov	x0, x21
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	w2, #1
	bl	_cspace
	mov	w8, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x20, x8
	subs	x23, x23, x8
	b.eq	LBB0_19
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x8, [x19]
	ldrsb	x9, [x20]
	ldrb	w8, [x8, x9]
	strb	w8, [sp, #7]
	cbnz	w8, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x27, #0
	mov	x26, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x26, x26, #1
	add	x27, x27, #24
	cmp	x26, w8, sxtw
	b.ge	LBB0_15
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #16]
	ldr	x2, [x9, x27]
	cmp	x23, x2
	b.lo	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x8, x9, x27
	ldr	w1, [x8, #20]
	mov	x0, x20
	bl	_memcmp
	ldr	w8, [x19, #8]
	cbnz	x0, LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	cmp	w26, w8
	b.ge	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #16]
	umaddl	x8, w26, w24, x8
	umull	x26, w26, w24
	ldr	x1, [x8, #8]
	ldr	w2, [x8, #16]
	ldr	w3, [x25]
	mov	x0, x21
	bl	_cspace
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x26]
	b	LBB0_8
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w26, #0
	cmp	w26, w8
	b.lt	LBB0_16
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w3, [x25]
	mov	x0, x21
	mov	x1, x20
	b	LBB0_7
LBB0_19:
Lloh22:
	adrp	x8, _PS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PS@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	w10, [x8, #8]
	ldur	x11, [x8, #12]
	str	x11, [sp, #8]
	ldr	w12, [x8, #20]
	str	w12, [sp, #16]
	ldr	x13, [x22, #16]
	str	x13, [x8, #16]
	ldr	q0, [x22]
	str	q0, [x8]
Lloh24:
	adrp	x8, _psanl@GOTPAGE
Lloh25:
	ldr	x8, [x8, _psanl@GOTPAGEOFF]
Lloh26:
	str	w10, [x8]
	str	x9, [x22]
	stur	x11, [x22, #12]
	str	w12, [x22, #20]
	stp	w9, w10, [x22, #4]
LBB0_20:
	ldr	x8, [sp, #24]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_CUR_MAX,4,2                 ; @MB_CUR_MAX
	.comm	_ps,8,3                         ; @ps
	.comm	_psl,8,3                        ; @psl
	.comm	_YS,24,3                        ; @YS
	.comm	_APPEND,4,2                     ; @APPEND
	.comm	_PS,24,3                        ; @PS
	.comm	_psanl,4,2                      ; @psanl
	.no_dead_strip	_do_tr
.subsections_via_symbols
