	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HOTKEY_EraseBackground
_HOTKEY_EraseBackground:                ## @HOTKEY_EraseBackground
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongW
	movq	_WS_DISABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_comctl32_color@GOTPCREL(%rip), %rax
	movl	4(%rax), %edi
LBB0_5:
	callq	_CreateSolidBrush
	movq	%rax, %rbx
	movq	%rax, %r12
	jmp	LBB0_6
LBB0_2:
	movl	(%r15), %ecx
	movl	8(%r15), %edi
	movq	_WM_CTLCOLOREDIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	callq	_SendMessageW
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	xorl	%r12d, %r12d
LBB0_6:
	movq	(%r15), %rdi
	leaq	-36(%rbp), %r15
	movq	%r15, %rsi
	callq	_GetClientRect
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_FillRect
	testq	%r12, %r12
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_DeleteObject
LBB0_8:
	movl	$-1, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_comctl32_color@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_WS_DISABLED,4,2                ## @WS_DISABLED
	.comm	_comctl32_color,8,2             ## @comctl32_color
	.comm	_WM_CTLCOLOREDIT,4,2            ## @WM_CTLCOLOREDIT
	.no_dead_strip	_HOTKEY_EraseBackground
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HOTKEY_EraseBackground
_HOTKEY_EraseBackground:                ; @HOTKEY_EraseBackground
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
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
; %bb.1:
Lloh6:
	adrp	x8, _comctl32_color@GOTPAGE
Lloh7:
	ldr	x8, [x8, _comctl32_color@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8, #4]
LBB0_2:
	bl	_CreateSolidBrush
	mov	x21, x0
	mov	x22, x0
	b	LBB0_5
LBB0_3:
	ldr	w0, [x20, #8]
Lloh9:
	adrp	x8, _WM_CTLCOLOREDIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WM_CTLCOLOREDIT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w3, [x20]
	mov	x2, x19
	bl	_SendMessageW
	cbz	x0, LBB0_8
; %bb.4:
	mov	x21, x0
	mov	x22, #0
LBB0_5:
	ldr	x0, [x20]
	add	x1, sp, #12
	bl	_GetClientRect
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x21
	bl	_FillRect
	cbz	x22, LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_DeleteObject
LBB0_7:
	mov	w0, #-1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_8:
Lloh12:
	adrp	x8, _comctl32_color@GOTPAGE
Lloh13:
	ldr	x8, [x8, _comctl32_color@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_WS_DISABLED,4,2                ; @WS_DISABLED
	.comm	_comctl32_color,8,2             ; @comctl32_color
	.comm	_WM_CTLCOLOREDIT,4,2            ; @WM_CTLCOLOREDIT
	.no_dead_strip	_HOTKEY_EraseBackground
.subsections_via_symbols
