	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_translit_str                   ## -- Begin function translit_str
	.p2align	4, 0x90
_translit_str:                          ## @translit_str
	.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, %r12
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.1:
	movq	%rdx, %rbx
	movslq	%ecx, %rax
	addq	%rdx, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%esi, %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	addq	%r15, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, -44(%rbp)
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rsi
	callq	_trans_letter
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r14d
	movq	%rbx, %r13
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)
	setg	%al
	testl	%r14d, %r14d
	setns	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movslq	%r14d, %r12
	addq	%r15, %r12
	cmpq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	ja	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movslq	-44(%rbp), %rax
	addq	%rax, %rbx
	movq	%r12, %r15
	cmpq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	jb	LBB0_2
	jmp	LBB0_10
LBB0_3:
	movq	%r15, %r12
LBB0_10:
	movb	$0, (%r12)
	jmp	LBB0_11
LBB0_8:
	movb	$0, (%r15)
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_translit_str                   ; -- Begin function translit_str
	.p2align	2
_translit_str:                          ; @translit_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	x26, x0
	cmp	w3, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x20, x2
	add	x24, x2, w3, sxtw
	mov	x21, x19
	add	x25, x19, w1, sxtw
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [sp, #12]
	add	x1, sp, #12
	mov	x0, x20
	bl	_trans_letter
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	bl	_strlen
	mov	x23, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w23, #1
	mov	x22, x20
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]
	cmp	w8, #0
	ccmp	w23, #0, #8, gt
	cset	w0, ge
	bl	_assert
	add	x26, x21, w23, sxtw
	cmp	x26, x25
	b.hi	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	ldrsw	x8, [sp, #12]
	add	x20, x20, x8
	cmp	x20, x24
	mov	x21, x26
	b.lo	LBB0_2
	b	LBB0_9
LBB0_8:
	mov	x26, x21
LBB0_9:
	strb	wzr, [x26]
	b	LBB0_11
LBB0_10:
	strb	wzr, [x21]
LBB0_11:
	mov	x0, x19
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
