	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DrawBoard
_DrawBoard:                             ## @DrawBoard
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movl	%esi, %r14d
	movl	%edi, %r15d
	leaq	32(%rcx), %rdx
	leaq	-36(%rbp), %rdi
	movq	%r12, %rsi
	callq	_IntersectRect
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	48(%rbx), %rcx
	subq	40(%rbx), %rcx
	movl	32(%rbx), %r9d
	movl	36(%rbx), %r8d
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_DrawLeds
LBB0_2:
	leaq	16(%rbx), %rdx
	leaq	-36(%rbp), %rdi
	movq	%r12, %rsi
	callq	_IntersectRect
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	24(%rbx), %rcx
	movl	16(%rbx), %r9d
	movl	20(%rbx), %r8d
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_DrawLeds
LBB0_4:
	leaq	8(%rbx), %rdx
	leaq	-36(%rbp), %rdi
	movq	%r12, %rsi
	callq	_IntersectRect
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_DrawFace
LBB0_6:
	leaq	-36(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_IntersectRect
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_DrawMines
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_DrawBoard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DrawBoard
_DrawBoard:                             ; @DrawBoard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	add	x2, x3, #32
	add	x0, sp, #12
	mov	x1, x22
	bl	_IntersectRect
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x9, x8, [x19, #40]
	sub	x3, x8, x9
	ldp	w5, w4, [x19, #32]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_DrawLeds
LBB0_2:
	add	x2, x19, #16
	add	x0, sp, #12
	mov	x1, x22
	bl	_IntersectRect
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x3, [x19, #24]
	ldp	w5, w4, [x19, #16]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_DrawLeds
LBB0_4:
	add	x2, x19, #8
	add	x0, sp, #12
	mov	x1, x22
	bl	_IntersectRect
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_DrawFace
LBB0_6:
	add	x0, sp, #12
	mov	x1, x22
	mov	x2, x19
	bl	_IntersectRect
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_DrawMines
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_DrawBoard
.subsections_via_symbols
