	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DrawMine
_DrawMine:                              ## @DrawMine
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.1:
	movl	%r8d, %r15d
	testl	%r8d, %r8d
	je	LBB0_4
## %bb.2:
	movl	%ecx, %ebx
	movq	%rdx, %r13
	cmpl	%ecx, (%rdx)
	jb	LBB0_4
## %bb.3:
	cmpl	%r15d, 4(%r13)
	jae	LBB0_6
LBB0_4:
	addq	$24, %rsp
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%esi, %r14d
	movl	%edi, %r12d
	movq	_BOX_BMP@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_GAMEOVER@GOTPCREL(%rip), %rcx
	movq	8(%r13), %rdx
	movq	32(%r13), %rax
	movl	%ebx, %esi
	movq	(%rax,%rsi,8), %rax
	movl	%r15d, %edi
	cmpq	(%rcx), %rdx
	jne	LBB0_11
## %bb.7:
	leaq	(%rdi,%rdi,2), %rcx
	cmpq	$0, 16(%rax,%rcx,8)
	movl	(%rax,%rcx,8), %eax
	je	LBB0_15
## %bb.8:
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_19
## %bb.9:
	cmpl	$131, %eax
	je	LBB0_23
## %bb.10:
	cmpl	$130, %eax
	je	LBB0_18
	jmp	LBB0_28
LBB0_11:
	leaq	(%rdi,%rdi,2), %rcx
	movl	(%rax,%rcx,8), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_20
## %bb.12:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	testl	%r9d, %r9d
	je	LBB0_17
## %bb.14:
	movq	_QPRESS_BMP@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_15:
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_24
## %bb.16:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movq	_QUESTION_BMP@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_18:
	movq	_FLAG_BMP@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_19:
	movq	_MINE_BMP@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_20:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_25
LBB0_21:
	testl	%r9d, %r9d
	je	LBB0_28
## %bb.22:
	movq	_MPRESS_BMP@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_23:
	movq	_EXPLODE_BMP@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_24:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
LBB0_25:
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_WINE_TRACE
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_26:
	movq	_WRONG_BMP@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %r10d
LBB0_28:
	movq	32(%r13), %rax
	movq	(%rax,%rsi,8), %rax
	leaq	(%rdi,%rdi,2), %rcx
	cmpl	$131, (%rax,%rcx,8)
	jne	LBB0_31
## %bb.29:
	cmpq	$0, 16(%rax,%rcx,8)
	jne	LBB0_31
## %bb.30:
	movl	8(%rax,%rcx,8), %r10d
LBB0_31:
	decl	%ebx
	movq	_MINE_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	imull	%ecx, %ebx
	addq	24(%r13), %rbx
	decl	%r15d
	movq	_MINE_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	imull	%r8d, %r15d
	addq	16(%r13), %r15
	imull	%r8d, %r10d
	movq	_SRCCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r14d, %r9d
	pushq	%rax
	pushq	%r10
	pushq	$0
	callq	_BitBlt
	addq	$56, %rsp
	jmp	LBB0_5
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_21
	.long	L0_0_set_18
	.long	L0_0_set_28
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
LJTI0_1:
	.long	L0_1_set_17
	.long	L0_1_set_28
	.long	L0_1_set_26
	.long	L0_1_set_28
	.end_data_region
                                        ## -- End function
	.comm	_BOX_BMP,4,2                    ## @BOX_BMP
	.comm	_GAMEOVER,8,3                   ## @GAMEOVER
	.comm	_FLAG_BMP,4,2                   ## @FLAG_BMP
	.comm	_EXPLODE_BMP,4,2                ## @EXPLODE_BMP
	.comm	_MINE_BMP,4,2                   ## @MINE_BMP
	.comm	_QUESTION_BMP,4,2               ## @QUESTION_BMP
	.comm	_WRONG_BMP,4,2                  ## @WRONG_BMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown FlagType during game over in DrawMine\n"

	.comm	_QPRESS_BMP,4,2                 ## @QPRESS_BMP
	.comm	_MPRESS_BMP,4,2                 ## @MPRESS_BMP
L_.str.1:                               ## @.str.1
	.asciz	"Unknown FlagType while playing in DrawMine\n"

	.comm	_MINE_WIDTH,4,2                 ## @MINE_WIDTH
	.comm	_MINE_HEIGHT,4,2                ## @MINE_HEIGHT
	.comm	_SRCCOPY,4,2                    ## @SRCCOPY
	.no_dead_strip	_DrawMine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DrawMine
_DrawMine:                              ; @DrawMine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	w3, LBB0_29
; %bb.1:
	mov	x21, x4
	cbz	w4, LBB0_29
; %bb.2:
	mov	x23, x3
	mov	x22, x2
	ldr	w8, [x2]
	cmp	w8, w3
	b.lo	LBB0_29
; %bb.3:
	ldr	w8, [x22, #4]
	cmp	w8, w21
	b.lo	LBB0_29
; %bb.4:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BOX_BMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BOX_BMP@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldr	x9, [x22, #8]
Lloh3:
	adrp	x8, _GAMEOVER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GAMEOVER@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	ldr	x8, [x22, #32]
	mov	w26, w23
	ldr	x8, [x8, w23, uxtw #3]
	mov	w25, w21
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.5:
	mov	w9, #24
	madd	x8, x25, x9, x8
	ldr	x9, [x8, #16]
	ldr	w8, [x8]
	cbz	x9, LBB0_13
; %bb.6:
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_17
; %bb.7:
	cmp	w8, #131
	b.eq	LBB0_20
; %bb.8:
	cmp	w8, #130
	b.eq	LBB0_16
	b	LBB0_25
LBB0_9:
	mov	w9, #24
	mul	x9, x25, x9
	ldr	w8, [x8, x9]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_18
; %bb.10:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_11
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:
	cbz	w5, LBB0_15
; %bb.12:
Lloh8:
	adrp	x8, _QPRESS_BMP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QPRESS_BMP@GOTPAGEOFF]
	b	LBB0_24
LBB0_13:
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_21
; %bb.14:
Lloh10:
	adrp	x9, lJTI0_1@PAGE
Lloh11:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_15
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_15:
Lloh12:
	adrp	x8, _QUESTION_BMP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QUESTION_BMP@GOTPAGEOFF]
	b	LBB0_24
LBB0_16:
Lloh14:
	adrp	x8, _FLAG_BMP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FLAG_BMP@GOTPAGEOFF]
	b	LBB0_24
LBB0_17:
Lloh16:
	adrp	x8, _MINE_BMP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MINE_BMP@GOTPAGEOFF]
	b	LBB0_24
LBB0_18:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_22
LBB0_19:
Lloh20:
	adrp	x8, _MPRESS_BMP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MPRESS_BMP@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w5, #0
	csel	w24, w24, w8, eq
	b	LBB0_25
LBB0_20:
Lloh23:
	adrp	x8, _EXPLODE_BMP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EXPLODE_BMP@GOTPAGEOFF]
	b	LBB0_24
LBB0_21:
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
LBB0_22:
	bl	_WINE_TRACE
	b	LBB0_25
LBB0_23:
Lloh27:
	adrp	x8, _WRONG_BMP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WRONG_BMP@GOTPAGEOFF]
LBB0_24:
	ldr	w24, [x8]
LBB0_25:
	ldr	x8, [x22, #32]
	ldr	x8, [x8, x26, lsl #3]
	mov	w9, #24
	mul	x9, x25, x9
	ldr	w9, [x8, x9]
	cmp	w9, #131
	b.ne	LBB0_28
; %bb.26:
	mov	w9, #24
	madd	x9, x25, x9, x8
	ldr	x9, [x9, #16]
	cbnz	x9, LBB0_28
; %bb.27:
	mov	w9, #24
	madd	x8, x25, x9, x8
	ldr	w24, [x8, #8]
LBB0_28:
	sub	w8, w23, #1
Lloh29:
	adrp	x9, _MINE_WIDTH@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MINE_WIDTH@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x9]
	mul	w8, w3, w8
	ldp	x10, x9, [x22, #16]
	add	x1, x9, x8
	sub	w8, w21, #1
Lloh32:
	adrp	x9, _MINE_HEIGHT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MINE_HEIGHT@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x9]
	mul	w8, w4, w8
	add	x2, x10, x8
	mul	w7, w4, w24
Lloh35:
	adrp	x8, _SRCCOPY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SRCCOPY@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x20
	mov	x5, x19
	mov	w6, #0
	bl	_BitBlt
LBB0_29:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_19-LBB0_11)>>2
	.byte	(LBB0_16-LBB0_11)>>2
	.byte	(LBB0_25-LBB0_11)>>2
lJTI0_1:
	.byte	(LBB0_15-LBB0_15)>>2
	.byte	(LBB0_25-LBB0_15)>>2
	.byte	(LBB0_23-LBB0_15)>>2
	.byte	(LBB0_25-LBB0_15)>>2
                                        ; -- End function
	.comm	_BOX_BMP,4,2                    ; @BOX_BMP
	.comm	_GAMEOVER,8,3                   ; @GAMEOVER
	.comm	_FLAG_BMP,4,2                   ; @FLAG_BMP
	.comm	_EXPLODE_BMP,4,2                ; @EXPLODE_BMP
	.comm	_MINE_BMP,4,2                   ; @MINE_BMP
	.comm	_QUESTION_BMP,4,2               ; @QUESTION_BMP
	.comm	_WRONG_BMP,4,2                  ; @WRONG_BMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown FlagType during game over in DrawMine\n"

	.comm	_QPRESS_BMP,4,2                 ; @QPRESS_BMP
	.comm	_MPRESS_BMP,4,2                 ; @MPRESS_BMP
l_.str.1:                               ; @.str.1
	.asciz	"Unknown FlagType while playing in DrawMine\n"

	.comm	_MINE_WIDTH,4,2                 ; @MINE_WIDTH
	.comm	_MINE_HEIGHT,4,2                ; @MINE_HEIGHT
	.comm	_SRCCOPY,4,2                    ; @SRCCOPY
	.no_dead_strip	_DrawMine
.subsections_via_symbols
