	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hasUsableInputMethodStyle
_hasUsableInputMethodStyle:             ## @hasUsableInputMethodStyle
	.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	_GLFW_FALSE@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	$0, -24(%rbp)
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XNQueryInputStyle@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_XGetIMValues
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	(%r14), %ebx
	jmp	LBB0_8
LBB0_1:
	movq	-24(%rbp), %rdi
	movl	(%rdi), %eax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	8(%rdi), %rcx
	movq	_XIMPreeditNothing@GOTPCREL(%rip), %rsi
	movq	_XIMStatusNothing@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, (%rcx,%rsi,4)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_6:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	callq	_XFree
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_FALSE,4,2                 ## @GLFW_FALSE
	.comm	__glfw,4,2                      ## @_glfw
	.comm	_XNQueryInputStyle,4,2          ## @XNQueryInputStyle
	.comm	_XIMPreeditNothing,4,2          ## @XIMPreeditNothing
	.comm	_XIMStatusNothing,4,2           ## @XIMStatusNothing
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.no_dead_strip	_hasUsableInputMethodStyle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hasUsableInputMethodStyle
_hasUsableInputMethodStyle:             ; @hasUsableInputMethodStyle
	.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
Lloh0:
	adrp	x20, _GLFW_FALSE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GLFW_FALSE@GOTPAGEOFF]
	ldr	w19, [x20]
	str	xzr, [sp, #8]
Lloh2:
	adrp	x8, __glfw@GOTPAGE
Lloh3:
	ldr	x8, [x8, __glfw@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _XNQueryInputStyle@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XNQueryInputStyle@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x3, #0
	bl	_XGetIMValues
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w19, [x20]
	b	LBB0_8
LBB0_2:
	ldr	x0, [sp, #8]
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.3:
Lloh8:
	adrp	x10, _XIMPreeditNothing@GOTPAGE
Lloh9:
	ldr	x10, [x10, _XIMPreeditNothing@GOTPAGEOFF]
	ldr	x9, [x0, #8]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _XIMStatusNothing@GOTPAGE
Lloh12:
	ldr	x11, [x11, _XIMStatusNothing@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	orr	w10, w11, w10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w11, w10
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_4
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
LBB0_7:
	bl	_XFree
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_FALSE,4,2                 ; @GLFW_FALSE
	.comm	__glfw,4,2                      ; @_glfw
	.comm	_XNQueryInputStyle,4,2          ; @XNQueryInputStyle
	.comm	_XIMPreeditNothing,4,2          ; @XIMPreeditNothing
	.comm	_XIMStatusNothing,4,2           ; @XIMStatusNothing
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.no_dead_strip	_hasUsableInputMethodStyle
.subsections_via_symbols
