	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unicode_input_mode_init        ## -- Begin function unicode_input_mode_init
	.p2align	4, 0x90
_unicode_input_mode_init:               ## @unicode_input_mode_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EECONFIG_UNICODEMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_eeprom_read_byte
	movq	_unicode_config@GOTPCREL(%rip), %rcx
	movl	%eax, 8(%rcx)
	movq	_selected@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_selected_index@GOTPCREL(%rip), %rdx
	movq	$0, (%rdx)
	movq	(%rax), %rsi
	movq	%rsi, (%rcx)
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_dprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EECONFIG_UNICODEMODE,4,2       ## @EECONFIG_UNICODEMODE
	.comm	_unicode_config,16,3            ## @unicode_config
	.comm	_selected,8,3                   ## @selected
	.comm	_selected_index,8,3             ## @selected_index
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unicode input mode init to: %u\n"

	.comm	_selected_count,8,3             ## @selected_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unicode_input_mode_init        ; -- Begin function unicode_input_mode_init
	.p2align	2
_unicode_input_mode_init:               ; @unicode_input_mode_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _EECONFIG_UNICODEMODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EECONFIG_UNICODEMODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_eeprom_read_byte
Lloh3:
	adrp	x8, _unicode_config@GOTPAGE
Lloh4:
	ldr	x8, [x8, _unicode_config@GOTPAGEOFF]
	str	w0, [x8, #8]
Lloh5:
	adrp	x9, _selected@GOTPAGE
Lloh6:
	ldr	x9, [x9, _selected@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _selected_index@GOTPAGE
Lloh9:
	ldr	x10, [x10, _selected_index@GOTPAGEOFF]
Lloh10:
	str	xzr, [x10]
	ldr	x1, [x9]
	str	x1, [x8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_dprintf
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EECONFIG_UNICODEMODE,4,2       ; @EECONFIG_UNICODEMODE
	.comm	_unicode_config,16,3            ; @unicode_config
	.comm	_selected,8,3                   ; @selected
	.comm	_selected_index,8,3             ; @selected_index
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unicode input mode init to: %u\n"

	.comm	_selected_count,8,3             ; @selected_count
.subsections_via_symbols
