	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function notifysink_on_tvn_dropdown
_notifysink_on_tvn_dropdown:            ## @notifysink_on_tvn_dropdown
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rsi), %edi
	callq	_GetDlgCtrlID
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_get_cctrl_from_dlgid
	movq	%rax, %r15
	movl	$0, -40(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movq	$0, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_TRACE
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_cctrl_event_OnControlActivating
	movl	4(%r15), %edi
	movq	_TB_GETBUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	xorl	%edx, %edx
	callq	_SendMessageW
	movl	4(%r15), %edi
	leaq	-40(%rbp), %rsi
	callq	_ClientToScreen
	movl	-48(%rbp), %edi
	movq	_TPM_RETURNCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-40(%rbp), %ecx
	movl	-36(%rbp), %edx
	movl	(%r14), %r9d
	movq	$0, (%rsp)
	xorl	%r8d, %r8d
	callq	_TrackPopupMenu
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_cctrl_event_OnItemSelected
LBB0_3:
	movq	_TBDDRET_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p, %p (%lx)\n"

	.comm	_TB_GETBUTTON,4,2               ## @TB_GETBUTTON
	.comm	_TPM_RETURNCMD,4,2              ## @TPM_RETURNCMD
	.comm	_TBDDRET_DEFAULT,4,2            ## @TBDDRET_DEFAULT
	.no_dead_strip	_notifysink_on_tvn_dropdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function notifysink_on_tvn_dropdown
_notifysink_on_tvn_dropdown:            ; @notifysink_on_tvn_dropdown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x19, x0
	ldr	w0, [x1, #4]
	bl	_GetDlgCtrlID
	mov	x1, x0
	mov	x0, x19
	bl	_get_cctrl_from_dlgid
	mov	x20, x0
	str	wzr, [sp, #16]
	ldr	w8, [x21]
	str	w8, [sp, #20]
	str	xzr, [sp, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_TRACE
	cbz	x20, LBB0_3
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_cctrl_event_OnControlActivating
	ldr	w0, [x20, #4]
Lloh2:
	adrp	x8, _TB_GETBUTTON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TB_GETBUTTON@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	w2, #0
	bl	_SendMessageW
	ldr	w0, [x20, #4]
	add	x1, sp, #16
	bl	_ClientToScreen
	ldr	w0, [sp, #8]
Lloh5:
	adrp	x8, _TPM_RETURNCMD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TPM_RETURNCMD@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldp	w3, w2, [sp, #16]
	ldr	w5, [x19]
	mov	w4, #0
	mov	x6, #0
	bl	_TrackPopupMenu
	cbz	x0, LBB0_3
; %bb.2:
	mov	x2, x0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_cctrl_event_OnItemSelected
LBB0_3:
Lloh8:
	adrp	x8, _TBDDRET_DEFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TBDDRET_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p, %p (%lx)\n"

	.comm	_TB_GETBUTTON,4,2               ; @TB_GETBUTTON
	.comm	_TPM_RETURNCMD,4,2              ; @TPM_RETURNCMD
	.comm	_TBDDRET_DEFAULT,4,2            ; @TBDDRET_DEFAULT
	.no_dead_strip	_notifysink_on_tvn_dropdown
.subsections_via_symbols
