	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EDIT_NotifyCtlColor
_EDIT_NotifyCtlColor:                   ## @EDIT_NotifyCtlColor
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$0, 16(%rdi)
	je	LBB0_4
## %bb.1:
	movq	_ES_READONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_4
## %bb.2:
	movq	_WM_CTLCOLOREDIT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_WM_CTLCOLORSTATIC@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r15d
	movq	8(%rbx), %rdi
	callq	_GetParent
	movl	8(%rbx), %ecx
	movl	%eax, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_SendMessageW
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rbx), %rdi
	callq	_GetParent
	movl	8(%rbx), %ecx
	movl	%eax, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DefWindowProcW                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ES_READONLY,4,2                ## @ES_READONLY
	.comm	_WM_CTLCOLORSTATIC,4,2          ## @WM_CTLCOLORSTATIC
	.comm	_WM_CTLCOLOREDIT,4,2            ## @WM_CTLCOLOREDIT
	.no_dead_strip	_EDIT_NotifyCtlColor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EDIT_NotifyCtlColor
_EDIT_NotifyCtlColor:                   ; @EDIT_NotifyCtlColor
	.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	x19, x1
	mov	x20, x0
	ldr	w9, [x0, #16]
Lloh0:
	adrp	x8, _WM_CTLCOLORSTATIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM_CTLCOLORSTATIC@GOTPAGEOFF]
	cbz	w9, LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, _ES_READONLY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ES_READONLY@GOTPAGEOFF]
	ldr	w10, [x20]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x11, _WM_CTLCOLOREDIT@GOTPAGE
Lloh6:
	ldr	x11, [x11, _WM_CTLCOLOREDIT@GOTPAGEOFF]
	tst	w9, w10
	csel	x8, x11, x8, eq
LBB0_2:
	ldr	w21, [x8]
	ldr	x0, [x20, #8]
	bl	_GetParent
	ldr	w3, [x20, #8]
	mov	x1, x21
	mov	x2, x19
	bl	_SendMessageW
	cbz	x0, LBB0_4
; %bb.3:
	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_4:
	ldr	x0, [x20, #8]
	bl	_GetParent
	ldr	w3, [x20, #8]
	mov	x1, x21
	mov	x2, x19
	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
	b	_DefWindowProcW
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ES_READONLY,4,2                ; @ES_READONLY
	.comm	_WM_CTLCOLORSTATIC,4,2          ; @WM_CTLCOLORSTATIC
	.comm	_WM_CTLCOLOREDIT,4,2            ; @WM_CTLCOLOREDIT
	.no_dead_strip	_EDIT_NotifyCtlColor
.subsections_via_symbols
