	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_opendropdown
_show_opendropdown:                     ## @show_opendropdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movq	_IDOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	leaq	-16(%rbp), %rsi
	movl	%eax, %edi
	callq	_GetWindowRect
	movl	4(%rbx), %r9d
	movl	12(%rbx), %edi
	movl	-16(%rbp), %ecx
	movl	-12(%rbp), %edx
	movq	$0, (%rsp)
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_TrackPopupMenu
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	4(%rbx), %esi
	movq	_WM_MENUCOMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_PM_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rdi
	movl	%ecx, %edx
	callq	_PeekMessageW
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	$12, -32(%rbp)
	movq	_MIIM_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -24(%rbp)
	movl	-48(%rbp), %esi
	movl	-40(%rbp), %edi
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	callq	_GetMenuItemInfoW
	movl	-28(%rbp), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_on_default_action
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %edi
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EndDialog
	jmp	LBB0_5
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_5:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDOK,4,2                       ## @IDOK
	.comm	_WM_MENUCOMMAND,4,2             ## @WM_MENUCOMMAND
	.comm	_PM_REMOVE,4,2                  ## @PM_REMOVE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_MIIM_ID,4,2                    ## @MIIM_ID
	.comm	_S_OK,4,2                       ## @S_OK
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_show_opendropdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_opendropdown
_show_opendropdown:                     ; @show_opendropdown
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _IDOK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDOK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetDlgItem
	sub	x1, x29, #24
	bl	_GetWindowRect
	ldr	w0, [x19, #12]
	ldp	w3, w2, [x29, #-24]
	ldr	w5, [x19, #4]
	mov	w1, #0
	mov	w4, #0
	mov	x6, #0
	bl	_TrackPopupMenu
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w1, [x19, #4]
Lloh3:
	adrp	x8, _WM_MENUCOMMAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WM_MENUCOMMAND@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _PM_REMOVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PM_REMOVE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	add	x0, sp, #24
	mov	x3, x2
	bl	_PeekMessageW
	cbz	x0, LBB0_5
; %bb.2:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	ldr	w9, [x8]
	str	w9, [x19]
	mov	w9, #12
Lloh11:
	adrp	x10, _MIIM_ID@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MIIM_ID@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	str	w9, [sp, #8]
	str	w10, [sp, #16]
	ldr	w0, [sp, #32]
	ldr	w1, [sp, #24]
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_GetMenuItemInfoW
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
	mov	x0, x19
	bl	_on_default_action
	bl	_SUCCEEDED
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #4]
Lloh14:
	adrp	x8, _S_OK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_EndDialog
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IDOK,4,2                       ; @IDOK
	.comm	_WM_MENUCOMMAND,4,2             ; @WM_MENUCOMMAND
	.comm	_PM_REMOVE,4,2                  ; @PM_REMOVE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_MIIM_ID,4,2                    ; @MIIM_ID
	.comm	_S_OK,4,2                       ; @S_OK
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_show_opendropdown
.subsections_via_symbols
