	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inputChar
_inputChar:                             ## @inputChar
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	addl	$8, %esi
	movq	__glfw@GOTPCREL(%rip), %rbx
	movl	8(%rbx), %edi
	leaq	-24(%rbp), %rdx
	callq	_xkb_state_key_get_syms
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.1:
	movq	-24(%rbp), %rax
	movl	(%rax), %edi
	callq	__glfwKeySym2Unicode
	cmpq	$-1, %rax
	je	LBB0_3
## %bb.2:
	movq	_GLFW_MOD_CONTROL@GOTPCREL(%rip), %rcx
	movq	_GLFW_MOD_ALT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	testl	%edx, %esi
	sete	%cl
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	__glfwInputChar
LBB0_3:
	movl	4(%rbx), %edi
	movq	-24(%rbp), %rax
	movl	(%rax), %esi
	callq	_xkb_keymap_key_repeats
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,12,2                     ## @_glfw
	.comm	_GLFW_MOD_CONTROL,4,2           ## @GLFW_MOD_CONTROL
	.comm	_GLFW_MOD_ALT,4,2               ## @GLFW_MOD_ALT
	.no_dead_strip	_inputChar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inputChar
_inputChar:                             ; @inputChar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	w1, w1, #8
Lloh0:
	adrp	x20, __glfw@GOTPAGE
Lloh1:
	ldr	x20, [x20, __glfw@GOTPAGEOFF]
	ldr	w0, [x20, #8]
	add	x2, sp, #8
	bl	_xkb_state_key_get_syms
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	__glfwKeySym2Unicode
	cmn	x0, #1
	b.eq	LBB0_3
; %bb.2:
	mov	x1, x0
	ldr	w2, [x20]
Lloh2:
	adrp	x8, _GLFW_MOD_CONTROL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLFW_MOD_CONTROL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _GLFW_MOD_ALT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GLFW_MOD_ALT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w2
	cset	w3, eq
	mov	x0, x19
	bl	__glfwInputChar
LBB0_3:
	ldr	w0, [x20, #4]
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	bl	_xkb_keymap_key_repeats
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,12,2                     ; @_glfw
	.comm	_GLFW_MOD_CONTROL,4,2           ; @GLFW_MOD_CONTROL
	.comm	_GLFW_MOD_ALT,4,2               ; @GLFW_MOD_ALT
	.no_dead_strip	_inputChar
.subsections_via_symbols
