	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_inverse_transl
_set_inverse_transl:                    ## @set_inverse_transl
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_translations@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edx, %r13
	movq	(%rax,%r13,8), %r12
	movq	(%rsi), %rax
	movq	(%rax,%r13,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:
	movq	_MAX_GLYPH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	%rbx, (%rax,%r13,8)
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_3:
	movq	_MAX_GLYPH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_E_TABSZ@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.4:
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movslq	(%r13), %rax
	cmpq	%rax, %r15
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzwl	(%r12,%r15,2), %esi
	movq	%r14, %rdi
	callq	_conv_uni_to_pc
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAX_GLYPH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %eax
	cmpb	$31, (%rbx,%rax)
	ja	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movb	%r15b, (%rbx,%rax)
	jmp	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_translations,8,3               ## @translations
	.comm	_MAX_GLYPH,4,2                  ## @MAX_GLYPH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_E_TABSZ,4,2                    ## @E_TABSZ
	.no_dead_strip	_set_inverse_transl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_inverse_transl
_set_inverse_transl:                    ; @set_inverse_transl
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	cbz	x1, LBB0_10
; %bb.1:
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _translations@GOTPAGE
Lloh1:
	ldr	x8, [x8, _translations@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x22, [x8, w2, sxtw #3]
	sxtw	x24, w2
	ldr	x8, [x1]
	ldr	x20, [x8, x24, lsl #3]
Lloh3:
	adrp	x23, _MAX_GLYPH@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAX_GLYPH@GOTPAGEOFF]
	cbnz	x20, LBB0_3
; %bb.2:
	ldr	w0, [x23]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_kmalloc
	mov	x20, x0
	ldr	x8, [x21]
	str	x0, [x8, x24, lsl #3]
	cbz	x0, LBB0_10
LBB0_3:
	ldr	w2, [x23]
	mov	x0, x20
	mov	w1, #0
	bl	_memset
Lloh8:
	adrp	x21, _E_TABSZ@GOTPAGE
Lloh9:
	ldr	x21, [x21, _E_TABSZ@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x24, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21]
	cmp	x24, x8
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrh	w1, [x22, x24, lsl #1]
	mov	x0, x19
	bl	_conv_uni_to_pc
	tbnz	w0, #31, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x23]
	cmp	w0, w8
	b.ge	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, w0
	ldrb	w9, [x20, x8]
	cmp	w9, #31
	b.hi	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	strb	w24, [x20, x8]
	b	LBB0_5
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_translations,8,3               ; @translations
	.comm	_MAX_GLYPH,4,2                  ; @MAX_GLYPH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_E_TABSZ,4,2                    ; @E_TABSZ
	.no_dead_strip	_set_inverse_transl
.subsections_via_symbols
