	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StartDDTest                    ## -- Begin function StartDDTest
	.p2align	4, 0x90
_StartDDTest:                           ## @StartDDTest
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -4152(%rbp)               ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %ebx
	movl	%edi, -4148(%rbp)               ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IDS_MAIN_DIALOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-2096(%rbp), %r12
	movl	%ebx, %edi
	movq	%r12, %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_LoadStringW
	movq	_IDS_DDTEST_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4144(%rbp), %rdx
	movl	%ebx, %edi
	movl	$256, %ecx                      ## imm = 0x100
	callq	_LoadStringW
	leaq	-1072(%rbp), %r15
	movl	%ebx, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_LoadStringW
	leaq	-3120(%rbp), %rdx
	movl	%ebx, %edi
	movl	%r13d, %esi
	movl	$256, %ecx                      ## imm = 0x100
	callq	_LoadStringW
	movq	_MB_YESNO@GOTPCREL(%rip), %rbx
	movq	_MB_ICONQUESTION@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	orl	(%rbx), %ecx
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_MessageBox
	movq	_IDNO@GOTPCREL(%rip), %rcx
	movq	_FALSE@GOTPCREL(%rip), %r14
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.1:
	movq	_SW_SHOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-4148(%rbp), %r15d              ## 4-byte Reload
	movl	%r15d, %edi
	callq	_ShowWindow
	movl	-4152(%rbp), %eax               ## 4-byte Reload
	movq	%rbx, %r12
	cmpl	$3, %eax
	je	LBB0_7
## %bb.2:
	cmpl	$2, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.4:
	movl	%r15d, %edi
	callq	_DDPrimarySurfaceTest
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_DDOffscreenBufferTest
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_8:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_9:
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_ShowWindow
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.11:
	movl	(%r13), %ecx
	orl	(%r12), %ecx
	leaq	-3120(%rbp), %rsi
	leaq	-2096(%rbp), %rdx
	xorl	%edi, %edi
	callq	_MessageBox
	movq	_IDYES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.13:
	movq	_TRUE@GOTPCREL(%rip), %r14
	jmp	LBB0_14
LBB0_10:
	movq	_MB_OK@GOTPCREL(%rip), %rax
	movq	_MB_ICONERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-4144(%rbp), %rsi
	leaq	-2096(%rbp), %rdx
	xorl	%edi, %edi
	callq	_MessageBox
	jmp	LBB0_14
LBB0_12:
	movq	_FALSE@GOTPCREL(%rip), %r14
LBB0_14:
	movl	(%r14), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IDS_MAIN_DIALOG,4,2            ## @IDS_MAIN_DIALOG
	.comm	_IDS_DDTEST_ERROR,4,2           ## @IDS_DDTEST_ERROR
	.comm	_MB_YESNO,4,2                   ## @MB_YESNO
	.comm	_MB_ICONQUESTION,4,2            ## @MB_ICONQUESTION
	.comm	_IDNO,8,3                       ## @IDNO
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SW_SHOW,4,2                    ## @SW_SHOW
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_MB_OK,4,2                      ## @MB_OK
	.comm	_MB_ICONERROR,4,2               ## @MB_ICONERROR
	.comm	_IDYES,8,3                      ## @IDYES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StartDDTest                    ; -- Begin function StartDDTest
	.p2align	2
_StartDDTest:                           ; @StartDDTest
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh5:
	adrp	x8, _IDS_MAIN_DIALOG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDS_MAIN_DIALOG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #2056
	mov	x0, x23
	mov	w3, #256
	bl	_LoadStringW
Lloh8:
	adrp	x8, _IDS_DDTEST_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IDS_DDTEST_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x23
	mov	w3, #256
	bl	_LoadStringW
	add	x2, sp, #3080
	mov	x0, x23
	mov	x1, x22
	mov	w3, #256
	bl	_LoadStringW
	add	x2, sp, #1032
	mov	x0, x23
	mov	x1, x21
	mov	w3, #256
	bl	_LoadStringW
Lloh11:
	adrp	x22, _MB_YESNO@GOTPAGE
Lloh12:
	ldr	x22, [x22, _MB_YESNO@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh13:
	adrp	x23, _MB_ICONQUESTION@GOTPAGE
Lloh14:
	ldr	x23, [x23, _MB_ICONQUESTION@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w3, w9, w8
	add	x1, sp, #3080
	add	x2, sp, #2056
	mov	x0, #0
	bl	_MessageBox
Lloh15:
	adrp	x8, _IDNO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IDNO@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x21, _FALSE@GOTPAGE
Lloh19:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.1:
Lloh20:
	adrp	x8, _SW_SHOW@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SW_SHOW@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ShowWindow
	cmp	w20, #3
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #2
	b.eq	LBB0_6
; %bb.3:
	cmp	w20, #1
	b.ne	LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_DDPrimarySurfaceTest
	mov	x20, x0
	b	LBB0_9
LBB0_5:
Lloh23:
	adrp	x8, _TRUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	b	LBB0_7
LBB0_6:
	ldr	w1, [x21]
LBB0_7:
	mov	x0, x19
	bl	_DDOffscreenBufferTest
	mov	x20, x0
	b	LBB0_9
LBB0_8:
	ldr	w20, [x21]
LBB0_9:
Lloh26:
	adrp	x8, _SW_HIDE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SW_HIDE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ShowWindow
	cbz	w20, LBB0_11
; %bb.10:
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w3, w9, w8
	add	x1, sp, #1032
	add	x2, sp, #2056
	mov	x0, #0
	bl	_MessageBox
Lloh29:
	adrp	x8, _IDYES@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IDYES@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
Lloh32:
	adrp	x9, _TRUE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
	cmp	x0, x8
	csel	x21, x9, x21, eq
	b	LBB0_12
LBB0_11:
Lloh34:
	adrp	x8, _MB_OK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MB_OK@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _MB_ICONERROR@GOTPAGE
Lloh38:
	ldr	x9, [x9, _MB_ICONERROR@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x1, sp, #8
	add	x2, sp, #2056
	mov	x0, #0
	bl	_MessageBox
Lloh40:
	adrp	x21, _FALSE@GOTPAGE
Lloh41:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x21]
	ldur	x8, [x29, #-56]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_IDS_MAIN_DIALOG,4,2            ; @IDS_MAIN_DIALOG
	.comm	_IDS_DDTEST_ERROR,4,2           ; @IDS_DDTEST_ERROR
	.comm	_MB_YESNO,4,2                   ; @MB_YESNO
	.comm	_MB_ICONQUESTION,4,2            ; @MB_ICONQUESTION
	.comm	_IDNO,8,3                       ; @IDNO
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SW_SHOW,4,2                    ; @SW_SHOW
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_MB_OK,4,2                      ; @MB_OK
	.comm	_MB_ICONERROR,4,2               ; @MB_ICONERROR
	.comm	_IDYES,8,3                      ; @IDYES
.subsections_via_symbols
