	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mic2latin_with_table           ## -- Begin function mic2latin_with_table
	.p2align	4, 0x90
_mic2latin_with_table:                  ## @mic2latin_with_table
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	testl	%edx, %edx
	jle	LBB0_14
## %bb.1:
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %eax
	movl	$1, %ecx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	%r14b, (%r15)
	addq	%rcx, %rbx
	incq	%r15
	addl	%eax, %r12d
	jle	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %r14d
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PG_MULE_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_report_invalid_encoding
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r14b, %edi
	callq	_IS_HIGHBIT_SET
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_pg_mic_mblen
	movl	%eax, %r13d
	cmpl	%eax, %r12d
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PG_MULE_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_report_invalid_encoding
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %r13d
	jne	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%rbx), %edi
	callq	_IS_HIGHBIT_SET
	testl	%eax, %eax
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%rbx), %eax
	movq	_HIGHBIT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	subq	%rcx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movzbl	(%rcx,%rax), %r14d
	testb	%r14b, %r14b
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-2, %eax
	movl	$2, %ecx
	jmp	LBB0_13
LBB0_15:
	movq	_PG_MULE_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_report_untranslatable_char
LBB0_14:
	movb	$0, (%r15)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_MULE_INTERNAL,4,2           ## @PG_MULE_INTERNAL
	.comm	_HIGHBIT,1,0                    ## @HIGHBIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mic2latin_with_table           ; -- Begin function mic2latin_with_table
	.p2align	2
_mic2latin_with_table:                  ; @mic2latin_with_table
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	cmp	w2, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x23, x5
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x22, x0
Lloh0:
	adrp	x27, _PG_MULE_INTERNAL@GOTPAGE
Lloh1:
	ldr	x27, [x27, _PG_MULE_INTERNAL@GOTPAGEOFF]
Lloh2:
	adrp	x28, _HIGHBIT@GOTPAGE
Lloh3:
	ldr	x28, [x28, _HIGHBIT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #-1
	mov	w9, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	strb	w25, [x19], #1
	add	x22, x22, x9
	add	w21, w21, w8
	cmp	w21, #0
	b.le	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w25, [x22]
	cbnz	w25, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	mov	x2, x21
	bl	_report_invalid_encoding
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_IS_HIGHBIT_SET
	cbz	w0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_pg_mic_mblen
	mov	x26, x0
	cmp	w21, w0
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	mov	x2, x21
	bl	_report_invalid_encoding
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, #2
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, w24
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w0, [x22, #1]
	bl	_IS_HIGHBIT_SET
	cbz	w0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x22, #1]
	ldrb	w9, [x28]
	sub	x8, x8, x9
	ldrb	w25, [x23, x8]
	cbz	w25, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #-2
	mov	w9, #2
	b	LBB0_3
LBB0_14:
	ldr	w0, [x27]
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_report_untranslatable_char
LBB0_15:
	strb	wzr, [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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_MULE_INTERNAL,4,2           ; @PG_MULE_INTERNAL
	.comm	_HIGHBIT,1,0                    ; @HIGHBIT
.subsections_via_symbols
