	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TOOLBAR_SendNotify
_TOOLBAR_SendNotify:                    ## @TOOLBAR_SendNotify
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	16(%rsi), %edi
	callq	_IsWindow
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	16(%rbx), %edi
	callq	_GetDlgCtrlID
	movl	%eax, (%r14)
	movl	16(%rbx), %eax
	movl	%eax, 8(%r14)
	movl	%r15d, 4(%r14)
	movl	(%rbx), %esi
	cmpq	$0, 8(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %edx
	callq	_TRACE
	movl	(%rbx), %edi
	movq	_WM_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SendMessageW                   ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"to window %p, code=%08x, %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"via Unicode"

L_.str.2:                               ## @.str.2
	.asciz	"via ANSI"

	.comm	_WM_NOTIFY,4,2                  ## @WM_NOTIFY
	.no_dead_strip	_TOOLBAR_SendNotify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TOOLBAR_SendNotify
_TOOLBAR_SendNotify:                    ; @TOOLBAR_SendNotify
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1, #16]
	bl	_IsWindow
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #16]
	bl	_GetDlgCtrlID
	ldr	w8, [x20, #16]
	stp	w21, w8, [x19, #4]
	str	w0, [x19]
	ldr	w1, [x20]
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, l_.str.1@PAGE
Lloh1:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh2:
	adrp	x10, l_.str.2@PAGE
Lloh3:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x3, x10, x9, eq
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	bl	_TRACE
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _WM_NOTIFY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WM_NOTIFY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x3, 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	_SendMessageW
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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"to window %p, code=%08x, %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"via Unicode"

l_.str.2:                               ; @.str.2
	.asciz	"via ANSI"

	.comm	_WM_NOTIFY,4,2                  ; @WM_NOTIFY
	.no_dead_strip	_TOOLBAR_SendNotify
.subsections_via_symbols
