	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ConfirmMenu_Event
_ConfirmMenu_Event:                     ## @ConfirmMenu_Event
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_QM_ACTIVATED@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_UI_PopMenu
	movq	_s_confirm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	(%rbx), %rcx
	movq	_ID_CONFIRM_NO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.4:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_qtrue@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_ID_CONFIRM_NO,8,3              ## @ID_CONFIRM_NO
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_s_confirm,8,3                  ## @s_confirm
	.no_dead_strip	_ConfirmMenu_Event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ConfirmMenu_Event
_ConfirmMenu_Event:                     ; @ConfirmMenu_Event
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _QM_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_UI_PopMenu
Lloh3:
	adrp	x8, _s_confirm@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_confirm@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _ID_CONFIRM_NO@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ID_CONFIRM_NO@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _qfalse@GOTPAGE
Lloh10:
	ldr	x10, [x10, _qfalse@GOTPAGEOFF]
Lloh11:
	adrp	x11, _qtrue@GOTPAGE
Lloh12:
	ldr	x11, [x11, _qtrue@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_ID_CONFIRM_NO,8,3              ; @ID_CONFIRM_NO
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_s_confirm,8,3                  ; @s_confirm
	.no_dead_strip	_ConfirmMenu_Event
.subsections_via_symbols
