	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_key_release
_handle_key_release:                    ## @handle_key_release
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movl	(%rdx), %esi
	movl	4(%rdx), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_symbols@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	movq	%rbx, %rsi
	callq	_xcb_key_press_lookup_keysym
	movq	_XK_Mode_switch@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_modeswitch_active@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_2:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"releasing %d, state raw = %d\n"

	.comm	_symbols,4,2                    ## @symbols
	.comm	_XK_Mode_switch,8,3             ## @XK_Mode_switch
	.comm	_modeswitch_active,4,2          ## @modeswitch_active
L_str:                                  ## @str
	.asciz	"Mode switch disabled"

	.no_dead_strip	_handle_key_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_key_release
_handle_key_release:                    ; @handle_key_release
	.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, x2
	ldp	w8, w9, [x2]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x8, _symbols@GOTPAGE
Lloh3:
	ldr	x8, [x8, _symbols@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
	mov	x1, x19
	bl	_xcb_key_press_lookup_keysym
Lloh5:
	adrp	x8, _XK_Mode_switch@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XK_Mode_switch@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh10:
	adrp	x8, _modeswitch_active@GOTPAGE
Lloh11:
	ldr	x8, [x8, _modeswitch_active@GOTPAGEOFF]
Lloh12:
	str	wzr, [x8]
LBB0_2:
	mov	w0, #1
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"releasing %d, state raw = %d\n"

	.comm	_symbols,4,2                    ; @symbols
	.comm	_XK_Mode_switch,8,3             ; @XK_Mode_switch
	.comm	_modeswitch_active,4,2          ; @modeswitch_active
l_str:                                  ; @str
	.asciz	"Mode switch disabled"

	.no_dead_strip	_handle_key_release
.subsections_via_symbols
