	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetKeyName        ## -- Begin function _glfwPlatformGetKeyName
	.p2align	4, 0x90
__glfwPlatformGetKeyName:               ## @_glfwPlatformGetKeyName
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__glfw@GOTPCREL(%rip), %r15
	cmpl	$0, 32(%r15)
	je	LBB0_8
## %bb.1:
	movl	%esi, %ebx
	movq	_GLFW_KEY_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_3
## %bb.2:
	movq	(%r15), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %ebx
LBB0_3:
	movq	24(%r15), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	__glfwIsPrintable
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	16(%r15), %edi
	xorl	%r14d, %r14d
	movl	%ebx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_XkbKeycodeToKeysym
	movq	%rax, -32(%rbp)
	movq	_NoSymbol@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.5:
	movl	16(%r15), %edi
	movq	8(%r15), %rcx
	leaq	-32(%rbp), %rsi
	xorl	%r14d, %r14d
	leaq	-36(%rbp), %r9
	xorl	%edx, %edx
	movl	$8, %r8d
	callq	_XkbTranslateKeySym
	movq	8(%r15), %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movq	8(%r15), %r14
	jmp	LBB0_9
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,40,3                     ## @_glfw
	.comm	_GLFW_KEY_UNKNOWN,4,2           ## @GLFW_KEY_UNKNOWN
	.comm	_NoSymbol,8,3                   ## @NoSymbol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwPlatformGetKeyName        ; -- Begin function _glfwPlatformGetKeyName
	.p2align	2
__glfwPlatformGetKeyName:               ; @_glfwPlatformGetKeyName
	.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@GOTPAGE
Lloh1:
	ldr	x20, [x20, __glfw@GOTPAGEOFF]
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x1
Lloh2:
	adrp	x8, _GLFW_KEY_UNKNOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GLFW_KEY_UNKNOWN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	w19, [x8, w0, sxtw #2]
LBB0_3:
	ldr	x8, [x20, #24]
	ldr	w0, [x8, w19, sxtw #2]
	bl	__glfwIsPrintable
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x20, #16]
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	bl	_XkbKeycodeToKeysym
	str	x0, [sp, #8]
Lloh5:
	adrp	x8, _NoSymbol@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NoSymbol@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_5:
	mov	x0, #0
	b	LBB0_7
LBB0_6:
	ldr	w0, [x20, #16]
	ldr	x3, [x20, #8]
	add	x1, sp, #8
	add	x5, sp, #4
	mov	w2, #0
	mov	w4, #8
	bl	_XkbTranslateKeySym
	ldr	x0, [x20, #8]
	bl	_strlen
	ldr	x8, [x20, #8]
	cmp	w0, #0
	csel	x0, xzr, x8, eq
LBB0_7:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,40,3                     ; @_glfw
	.comm	_GLFW_KEY_UNKNOWN,4,2           ; @GLFW_KEY_UNKNOWN
	.comm	_NoSymbol,8,3                   ; @NoSymbol
.subsections_via_symbols
