	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HOTKEY_KeyUp
_HOTKEY_KeyUp:                          ## @HOTKEY_KeyUp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongW
	movq	_WS_DISABLED@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_TRACE
	addl	$-128, %ebx
	movl	$1, %r15d
	cmpl	$2, %ebx
	ja	LBB0_4
## %bb.2:
	movq	(%r14), %rax
	movslq	%ebx, %rcx
	leaq	l_switch.table.HOTKEY_KeyUp(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movq	(%rcx), %rcx
	notq	%rcx
	andq	%rax, %rcx
	movq	%rcx, (%r14)
	movl	$0, %r15d
	cmpq	%rcx, %rax
	je	LBB0_4
## %bb.3:
	movq	8(%r14), %rdi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_InvalidateRect
	movl	16(%r14), %r12d
	movq	_WM_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r14), %rdi
	callq	_GetDlgCtrlID
	movq	_EN_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_MAKEWPARAM
	movl	8(%r14), %ecx
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_SendMessageW
LBB0_4:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_WS_DISABLED,4,2                ## @WS_DISABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"() Key: %d\n"

	.comm	_HOTKEYF_SHIFT,8,3              ## @HOTKEYF_SHIFT
	.comm	_HOTKEYF_CONTROL,8,3            ## @HOTKEYF_CONTROL
	.comm	_HOTKEYF_ALT,8,3                ## @HOTKEYF_ALT
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_WM_COMMAND,4,2                 ## @WM_COMMAND
	.comm	_EN_CHANGE,4,2                  ## @EN_CHANGE
	.no_dead_strip	_HOTKEY_KeyUp
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.HOTKEY_KeyUp
l_switch.table.HOTKEY_KeyUp:
	.quad	_HOTKEYF_SHIFT
	.quad	_HOTKEYF_ALT
	.quad	_HOTKEYF_CONTROL

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HOTKEY_KeyUp
_HOTKEY_KeyUp:                          ; @HOTKEY_KeyUp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetWindowLongW
Lloh3:
	adrp	x8, _WS_DISABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WS_DISABLED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_TRACE
	sub	w8, w20, #128
	cmp	w8, #2
	b.hi	LBB0_6
; %bb.4:
	ldr	x9, [x19]
Lloh8:
	adrp	x10, l_switch.table.HOTKEY_KeyUp@PAGE
Lloh9:
	add	x10, x10, l_switch.table.HOTKEY_KeyUp@PAGEOFF
	ldr	x8, [x10, w8, sxtw #3]
	ldr	x8, [x8]
	bic	x8, x9, x8
	str	x8, [x19]
	cmp	x9, x8
	b.eq	LBB0_1
; %bb.5:
	ldr	x0, [x19, #8]
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_InvalidateRect
	ldr	w20, [x19, #16]
Lloh13:
	adrp	x8, _WM_COMMAND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WM_COMMAND@GOTPAGEOFF]
Lloh15:
	ldr	w21, [x8]
	ldr	x0, [x19, #8]
	bl	_GetDlgCtrlID
Lloh16:
	adrp	x8, _EN_CHANGE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EN_CHANGE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_MAKEWPARAM
	mov	x2, x0
	ldr	w3, [x19, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_SendMessageW
	b	LBB0_1
LBB0_6:
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_WS_DISABLED,4,2                ; @WS_DISABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"() Key: %d\n"

	.comm	_HOTKEYF_SHIFT,8,3              ; @HOTKEYF_SHIFT
	.comm	_HOTKEYF_CONTROL,8,3            ; @HOTKEYF_CONTROL
	.comm	_HOTKEYF_ALT,8,3                ; @HOTKEYF_ALT
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_WM_COMMAND,4,2                 ; @WM_COMMAND
	.comm	_EN_CHANGE,4,2                  ; @EN_CHANGE
	.no_dead_strip	_HOTKEY_KeyUp
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.HOTKEY_KeyUp
l_switch.table.HOTKEY_KeyUp:
	.quad	_HOTKEYF_SHIFT
	.quad	_HOTKEYF_ALT
	.quad	_HOTKEYF_CONTROL

.subsections_via_symbols
