	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cycle_unicode_input_mode       ## -- Begin function cycle_unicode_input_mode
	.p2align	4, 0x90
_cycle_unicode_input_mode:              ## @cycle_unicode_input_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_selected_index@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	_selected_count@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movq	%rdx, (%rcx)
	movq	_selected@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdx,4), %esi
	movq	_unicode_config@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_dprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_selected_index,8,3             ## @selected_index
	.comm	_selected_count,8,3             ## @selected_count
	.comm	_selected,8,3                   ## @selected
	.comm	_unicode_config,4,2             ## @unicode_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unicode input mode cycle to: %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cycle_unicode_input_mode       ; -- Begin function cycle_unicode_input_mode
	.p2align	2
_cycle_unicode_input_mode:              ; @cycle_unicode_input_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _selected_index@GOTPAGE
Lloh1:
	ldr	x8, [x8, _selected_index@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, x0
Lloh2:
	adrp	x10, _selected_count@GOTPAGE
Lloh3:
	ldr	x10, [x10, _selected_count@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	udiv	x11, x9, x10
Lloh5:
	adrp	x12, _selected@GOTPAGE
Lloh6:
	ldr	x12, [x12, _selected@GOTPAGEOFF]
	msub	x9, x11, x10, x9
Lloh7:
	ldr	x10, [x12]
	ldr	w1, [x10, x9, lsl #2]
Lloh8:
	adrp	x10, _unicode_config@GOTPAGE
Lloh9:
	ldr	x10, [x10, _unicode_config@GOTPAGEOFF]
	str	x9, [x8]
Lloh10:
	str	w1, [x10]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	_dprintf
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_selected_index,8,3             ; @selected_index
	.comm	_selected_count,8,3             ; @selected_count
	.comm	_selected,8,3                   ; @selected
	.comm	_unicode_config,4,2             ; @unicode_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unicode input mode cycle to: %u\n"

.subsections_via_symbols
