	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TestFace
_TestFace:                              ## @TestFace
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PLAYING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_WAITING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.5:
	movq	_GAMEOVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_DEAD_BMP@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_WM_LBUTTONDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_WM_MBUTTONDOWN@GOTPCREL(%rip), %rdi
	movq	_OOH_BMP@GOTPCREL(%rip), %rdx
	movq	%rdx, %rax
	cmpl	%r14d, (%rdi)
	je	LBB0_4
## %bb.3:
	movq	_SMILE_BMP@GOTPCREL(%rip), %rax
LBB0_4:
	cmpl	%r14d, %ecx
	cmoveq	%rdx, %rax
	jmp	LBB0_9
LBB0_7:
	movq	_WON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	_COOL_BMP@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_10:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_PtInRect
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movq	_WM_LBUTTONDOWN@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_13
## %bb.12:
	movq	_SPRESS_BMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_13:
	movq	_WM_LBUTTONUP@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_CreateBoard
LBB0_15:
	movl	12(%rbx), %edi
	movq	_RDW_INVALIDATE@GOTPCREL(%rip), %rax
	movq	_RDW_UPDATENOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r15, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RedrawWindow                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PLAYING,8,3                    ## @PLAYING
	.comm	_WAITING,8,3                    ## @WAITING
	.comm	_WM_LBUTTONDOWN,4,2             ## @WM_LBUTTONDOWN
	.comm	_WM_MBUTTONDOWN,4,2             ## @WM_MBUTTONDOWN
	.comm	_OOH_BMP,4,2                    ## @OOH_BMP
	.comm	_SMILE_BMP,4,2                  ## @SMILE_BMP
	.comm	_GAMEOVER,8,3                   ## @GAMEOVER
	.comm	_DEAD_BMP,4,2                   ## @DEAD_BMP
	.comm	_WON,8,3                        ## @WON
	.comm	_COOL_BMP,4,2                   ## @COOL_BMP
	.comm	_SPRESS_BMP,4,2                 ## @SPRESS_BMP
	.comm	_WM_LBUTTONUP,4,2               ## @WM_LBUTTONUP
	.comm	_RDW_INVALIDATE,4,2             ## @RDW_INVALIDATE
	.comm	_RDW_UPDATENOW,4,2              ## @RDW_UPDATENOW
	.no_dead_strip	_TestFace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TestFace
_TestFace:                              ; @TestFace
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PLAYING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PLAYING@GOTPAGEOFF]
Lloh2:
	adrp	x10, _WAITING@GOTPAGE
Lloh3:
	ldr	x10, [x10, _WAITING@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
Lloh6:
	adrp	x22, _WM_LBUTTONDOWN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _WM_LBUTTONDOWN@GOTPAGEOFF]
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x22]
Lloh8:
	adrp	x9, _WM_MBUTTONDOWN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WM_MBUTTONDOWN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w9, w20
	ccmp	w8, w20, #4, ne
Lloh11:
	adrp	x8, _SMILE_BMP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SMILE_BMP@GOTPAGEOFF]
Lloh13:
	adrp	x9, _OOH_BMP@GOTPAGE
Lloh14:
	ldr	x9, [x9, _OOH_BMP@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	b	LBB0_6
LBB0_2:
Lloh15:
	adrp	x9, _GAMEOVER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GAMEOVER@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh18:
	adrp	x8, _DEAD_BMP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DEAD_BMP@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh20:
	adrp	x9, _WON@GOTPAGE
Lloh21:
	ldr	x9, [x9, _WON@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
Lloh23:
	adrp	x8, _COOL_BMP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _COOL_BMP@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_7:
	add	x21, x19, #8
	mov	x0, x21
	bl	_PtInRect
	cbz	x0, LBB0_12
; %bb.8:
	ldr	w8, [x22]
	cmp	w8, w20
	b.ne	LBB0_10
; %bb.9:
Lloh25:
	adrp	x8, _SPRESS_BMP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SPRESS_BMP@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_10:
Lloh28:
	adrp	x8, _WM_LBUTTONUP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _WM_LBUTTONUP@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_CreateBoard
LBB0_12:
	ldr	w0, [x19, #12]
Lloh31:
	adrp	x8, _RDW_INVALIDATE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RDW_INVALIDATE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _RDW_UPDATENOW@GOTPAGE
Lloh35:
	ldr	x9, [x9, _RDW_UPDATENOW@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x1, x21
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_RedrawWindow
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_PLAYING,8,3                    ; @PLAYING
	.comm	_WAITING,8,3                    ; @WAITING
	.comm	_WM_LBUTTONDOWN,4,2             ; @WM_LBUTTONDOWN
	.comm	_WM_MBUTTONDOWN,4,2             ; @WM_MBUTTONDOWN
	.comm	_OOH_BMP,4,2                    ; @OOH_BMP
	.comm	_SMILE_BMP,4,2                  ; @SMILE_BMP
	.comm	_GAMEOVER,8,3                   ; @GAMEOVER
	.comm	_DEAD_BMP,4,2                   ; @DEAD_BMP
	.comm	_WON,8,3                        ; @WON
	.comm	_COOL_BMP,4,2                   ; @COOL_BMP
	.comm	_SPRESS_BMP,4,2                 ; @SPRESS_BMP
	.comm	_WM_LBUTTONUP,4,2               ; @WM_LBUTTONUP
	.comm	_RDW_INVALIDATE,4,2             ; @RDW_INVALIDATE
	.comm	_RDW_UPDATENOW,4,2              ; @RDW_UPDATENOW
	.no_dead_strip	_TestFace
.subsections_via_symbols
