	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InputList_SetFontSubstitutes   ## -- Begin function InputList_SetFontSubstitutes
	.p2align	4, 0x90
_InputList_SetFontSubstitutes:          ## @InputList_SetFontSubstitutes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_LANGIDFROMLCID
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_PRIMARYLANGID
	movl	%eax, %ebx
	movl	%r14d, %edi
	callq	_SUBLANGID
	addl	$-133, %ebx
	cmpl	$29, %ebx
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_2:
	movq	_UnicodeFonts@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_CyrillicFonts@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_UpdateRegistryForFontSubstitutes
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	movq	_LatinFonts@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	_KoreanFonts@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	movq	_GreekFonts@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_11:
	addl	$-128, %eax
	cmpl	$5, %eax
	jae	LBB0_15
## %bb.12:
	cltq
	leaq	l_switch.table.InputList_SetFontSubstitutes(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_4
LBB0_13:
	movq	_JapaneseFonts@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_14:
	movq	_HebrewFonts@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_15:
	xorl	%eax, %eax
	callq	_DebugBreak
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_13
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_2
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_LatinFonts,8,3                 ## @LatinFonts
	.comm	_CyrillicFonts,8,3              ## @CyrillicFonts
	.comm	_GreekFonts,8,3                 ## @GreekFonts
	.comm	_HebrewFonts,8,3                ## @HebrewFonts
	.comm	_ChineseSimplifiedFonts,8,3     ## @ChineseSimplifiedFonts
	.comm	_ChineseTraditionalFonts,8,3    ## @ChineseTraditionalFonts
	.comm	_JapaneseFonts,8,3              ## @JapaneseFonts
	.comm	_KoreanFonts,8,3                ## @KoreanFonts
	.comm	_UnicodeFonts,8,3               ## @UnicodeFonts
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.InputList_SetFontSubstitutes
l_switch.table.InputList_SetFontSubstitutes:
	.quad	_ChineseTraditionalFonts
	.quad	_ChineseSimplifiedFonts
	.quad	_ChineseSimplifiedFonts
	.quad	_ChineseSimplifiedFonts
	.quad	_ChineseTraditionalFonts

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InputList_SetFontSubstitutes   ; -- Begin function InputList_SetFontSubstitutes
	.p2align	2
_InputList_SetFontSubstitutes:          ; @InputList_SetFontSubstitutes
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_LANGIDFROMLCID
	mov	x19, x0
	bl	_PRIMARYLANGID
	mov	x20, x0
	mov	x0, x19
	bl	_SUBLANGID
	sub	w8, w20, #133
	cmp	w8, #29
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _UnicodeFonts@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UnicodeFonts@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _CyrillicFonts@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CyrillicFonts@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x8]
	cbz	x0, LBB0_14
; %bb.5:
	bl	_UpdateRegistryForFontSubstitutes
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_15
LBB0_6:
Lloh8:
	adrp	x8, _LatinFonts@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LatinFonts@GOTPAGEOFF]
	b	LBB0_4
LBB0_7:
Lloh10:
	adrp	x8, _KoreanFonts@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KoreanFonts@GOTPAGEOFF]
	b	LBB0_4
LBB0_8:
Lloh12:
	adrp	x8, _GreekFonts@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GreekFonts@GOTPAGEOFF]
	b	LBB0_4
LBB0_9:
	sub	w8, w0, #128
	cmp	w8, #5
	b.hs	LBB0_13
; %bb.10:
Lloh14:
	adrp	x9, l_switch.table.InputList_SetFontSubstitutes@PAGE
Lloh15:
	add	x9, x9, l_switch.table.InputList_SetFontSubstitutes@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_4
LBB0_11:
Lloh16:
	adrp	x8, _JapaneseFonts@GOTPAGE
Lloh17:
	ldr	x8, [x8, _JapaneseFonts@GOTPAGEOFF]
	b	LBB0_4
LBB0_12:
Lloh18:
	adrp	x8, _HebrewFonts@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HebrewFonts@GOTPAGEOFF]
	b	LBB0_4
LBB0_13:
	bl	_DebugBreak
LBB0_14:
Lloh20:
	adrp	x8, _FALSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_LatinFonts,8,3                 ; @LatinFonts
	.comm	_CyrillicFonts,8,3              ; @CyrillicFonts
	.comm	_GreekFonts,8,3                 ; @GreekFonts
	.comm	_HebrewFonts,8,3                ; @HebrewFonts
	.comm	_ChineseSimplifiedFonts,8,3     ; @ChineseSimplifiedFonts
	.comm	_ChineseTraditionalFonts,8,3    ; @ChineseTraditionalFonts
	.comm	_JapaneseFonts,8,3              ; @JapaneseFonts
	.comm	_KoreanFonts,8,3                ; @KoreanFonts
	.comm	_UnicodeFonts,8,3               ; @UnicodeFonts
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.InputList_SetFontSubstitutes
l_switch.table.InputList_SetFontSubstitutes:
	.quad	_ChineseTraditionalFonts
	.quad	_ChineseSimplifiedFonts
	.quad	_ChineseSimplifiedFonts
	.quad	_ChineseSimplifiedFonts
	.quad	_ChineseTraditionalFonts

.subsections_via_symbols
