	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_Dialog                     ## -- Begin function Sys_Dialog
	.p2align	4, 0x90
_Sys_Dialog:                            ## @Sys_Dialog
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-132, %edi
	cmpl	$4, %edi
	ja	LBB0_1
## %bb.2:
	movslq	%edi, %rcx
	leaq	l_switch.table.Sys_Dialog(%rip), %rax
	movq	(%rax,%rcx,8), %rax
	leaq	l_switch.table.Sys_Dialog.1(%rip), %rdi
	movq	(%rdi,%rcx,8), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_MB_OK@GOTPCREL(%rip), %rcx
	movq	_MB_ICONINFORMATION@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%edi, %edi
	callq	_MessageBox
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_4
## %bb.5:
	cltq
	leaq	l_switch.table.Sys_Dialog.2(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_DR_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_ICONINFORMATION,4,2         ## @MB_ICONINFORMATION
	.comm	_MB_OK,4,2                      ## @MB_OK
	.comm	_MB_ICONWARNING,4,2             ## @MB_ICONWARNING
	.comm	_MB_ICONERROR,4,2               ## @MB_ICONERROR
	.comm	_MB_ICONQUESTION,4,2            ## @MB_ICONQUESTION
	.comm	_MB_YESNO,4,2                   ## @MB_YESNO
	.comm	_MB_OKCANCEL,4,2                ## @MB_OKCANCEL
	.comm	_DR_OK,4,2                      ## @DR_OK
	.comm	_DR_CANCEL,4,2                  ## @DR_CANCEL
	.comm	_DR_YES,4,2                     ## @DR_YES
	.comm	_DR_NO,4,2                      ## @DR_NO
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.Sys_Dialog
l_switch.table.Sys_Dialog:
	.quad	_MB_ICONQUESTION
	.quad	_MB_ICONWARNING
	.quad	_MB_ICONWARNING
	.quad	_MB_ICONINFORMATION
	.quad	_MB_ICONERROR

	.p2align	3                               ## @switch.table.Sys_Dialog.1
l_switch.table.Sys_Dialog.1:
	.quad	_MB_YESNO
	.quad	_MB_OK
	.quad	_MB_OKCANCEL
	.quad	_MB_OK
	.quad	_MB_OK

	.p2align	3                               ## @switch.table.Sys_Dialog.2
l_switch.table.Sys_Dialog.2:
	.quad	_DR_YES
	.quad	_DR_OK
	.quad	_DR_NO
	.quad	_DR_CANCEL

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_Dialog                     ; -- Begin function Sys_Dialog
	.p2align	2
_Sys_Dialog:                            ; @Sys_Dialog
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w0, #132
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x9, x8, #3, #32
Lloh0:
	adrp	x8, l_switch.table.Sys_Dialog@PAGE
Lloh1:
	add	x8, x8, l_switch.table.Sys_Dialog@PAGEOFF
	ldr	x8, [x8, x9]
Lloh2:
	adrp	x10, l_switch.table.Sys_Dialog.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.Sys_Dialog.1@PAGEOFF
	ldr	x9, [x10, x9]
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x9, _MB_OK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MB_OK@GOTPAGEOFF]
Lloh6:
	adrp	x8, _MB_ICONINFORMATION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MB_ICONINFORMATION@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, #0
	bl	_MessageBox
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.4:
Lloh8:
	adrp	x9, l_switch.table.Sys_Dialog.2@PAGE
Lloh9:
	add	x9, x9, l_switch.table.Sys_Dialog.2@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _DR_OK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DR_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_ICONINFORMATION,4,2         ; @MB_ICONINFORMATION
	.comm	_MB_OK,4,2                      ; @MB_OK
	.comm	_MB_ICONWARNING,4,2             ; @MB_ICONWARNING
	.comm	_MB_ICONERROR,4,2               ; @MB_ICONERROR
	.comm	_MB_ICONQUESTION,4,2            ; @MB_ICONQUESTION
	.comm	_MB_YESNO,4,2                   ; @MB_YESNO
	.comm	_MB_OKCANCEL,4,2                ; @MB_OKCANCEL
	.comm	_DR_OK,4,2                      ; @DR_OK
	.comm	_DR_CANCEL,4,2                  ; @DR_CANCEL
	.comm	_DR_YES,4,2                     ; @DR_YES
	.comm	_DR_NO,4,2                      ; @DR_NO
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.Sys_Dialog
l_switch.table.Sys_Dialog:
	.quad	_MB_ICONQUESTION
	.quad	_MB_ICONWARNING
	.quad	_MB_ICONWARNING
	.quad	_MB_ICONINFORMATION
	.quad	_MB_ICONERROR

	.p2align	3                               ; @switch.table.Sys_Dialog.1
l_switch.table.Sys_Dialog.1:
	.quad	_MB_YESNO
	.quad	_MB_OK
	.quad	_MB_OKCANCEL
	.quad	_MB_OK
	.quad	_MB_OK

	.p2align	3                               ; @switch.table.Sys_Dialog.2
l_switch.table.Sys_Dialog.2:
	.quad	_DR_YES
	.quad	_DR_OK
	.quad	_DR_NO
	.quad	_DR_CANCEL

.subsections_via_symbols
