	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AM_drawWalls                   ## -- Begin function AM_drawWalls
	.p2align	4, 0x90
_AM_drawWalls:                          ## @AM_drawWalls
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_numlines@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_25
## %bb.1:
	movl	$32, %ebx
	xorl	%r12d, %r12d
	movq	_lines@GOTPCREL(%rip), %r13
	movq	_cheating@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_lightlev@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_3:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	_WALLCOLORS@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	addq	(%rax), %rsi
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	leaq	_AM_drawWalls.l(%rip), %rdi
	callq	_AM_drawMline
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r12
	movslq	(%r15), %rax
	addq	$40, %rbx
	cmpq	%rax, %r12
	jge	LBB0_25
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movq	-8(%rcx,%rbx), %rax
	movq	(%rcx,%rbx), %rdx
	movsd	(%rdx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movaps	%xmm1, _AM_drawWalls.l(%rip)
	movq	(%r14), %rax
	movl	-32(%rcx,%rbx), %edx
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-16(%rcx,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$39, -28(%rcx,%rbx)
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_WALLRANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rsi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_ML_MAPPED@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_LINE_NEVERSEE@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_6
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_ML_SECRET@GOTPCREL(%rip), %rdi
	testl	%edx, (%rdi)
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%rax, %rax
	je	LBB0_2
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_lightlev@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_SECRETWALLCOLORS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_plr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_pw_allmap@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_6
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_LINE_NEVERSEE@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	jne	LBB0_6
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_GRAYS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$3, %rsi
	jmp	LBB0_5
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rsi), %rdx
	movq	-24(%rcx,%rbx), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rsi), %rdx
	cmpq	8(%rcx), %rdx
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%rax, %rax
	je	LBB0_6
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_lightlev@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_TSWALLCOLORS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_lightlev@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_FDWALLCOLORS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_lightlev@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_CDWALLCOLORS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_AM_drawWalls.l,16,4 ## @AM_drawWalls.l
	.comm	_numlines,4,2                   ## @numlines
	.comm	_lines,8,3                      ## @lines
	.comm	_cheating,8,3                   ## @cheating
	.comm	_ML_MAPPED,4,2                  ## @ML_MAPPED
	.comm	_LINE_NEVERSEE,4,2              ## @LINE_NEVERSEE
	.comm	_WALLCOLORS,8,3                 ## @WALLCOLORS
	.comm	_lightlev,8,3                   ## @lightlev
	.comm	_WALLRANGE,4,2                  ## @WALLRANGE
	.comm	_ML_SECRET,4,2                  ## @ML_SECRET
	.comm	_SECRETWALLCOLORS,8,3           ## @SECRETWALLCOLORS
	.comm	_FDWALLCOLORS,8,3               ## @FDWALLCOLORS
	.comm	_CDWALLCOLORS,8,3               ## @CDWALLCOLORS
	.comm	_TSWALLCOLORS,8,3               ## @TSWALLCOLORS
	.comm	_plr,8,3                        ## @plr
	.comm	_pw_allmap,8,3                  ## @pw_allmap
	.comm	_GRAYS,8,3                      ## @GRAYS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AM_drawWalls                   ; -- Begin function AM_drawWalls
	.p2align	2
_AM_drawWalls:                          ; @AM_drawWalls
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x20, _numlines@GOTPAGE
Lloh1:
	ldr	x20, [x20, _numlines@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.1:
	mov	x21, #0
	mov	x22, #0
Lloh2:
	adrp	x23, _lines@GOTPAGE
Lloh3:
	ldr	x23, [x23, _lines@GOTPAGEOFF]
Lloh4:
	adrp	x24, _cheating@GOTPAGE
Lloh5:
	ldr	x24, [x24, _cheating@GOTPAGEOFF]
Lloh6:
	adrp	x25, _ML_MAPPED@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ML_MAPPED@GOTPAGEOFF]
	adrp	x26, _AM_drawWalls.l@PAGE
Lloh8:
	adrp	x19, _AM_drawWalls.l@PAGE
Lloh9:
	add	x19, x19, _AM_drawWalls.l@PAGEOFF
Lloh10:
	adrp	x28, _WALLCOLORS@GOTPAGE
Lloh11:
	ldr	x28, [x28, _WALLCOLORS@GOTPAGEOFF]
Lloh12:
	adrp	x27, _lightlev@GOTPAGE
Lloh13:
	ldr	x27, [x27, _lightlev@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
Lloh14:
	adrp	x9, _WALLRANGE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _WALLRANGE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	add	x1, x8, w9, sxtw
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_AM_drawMline
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #40
	cmp	x22, x8
	b.ge	LBB0_24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	add	x11, x9, x21
	ldp	x10, x8, [x11, #24]
	ldr	d0, [x8]
	ldr	d1, [x10]
	mov.d	v1[1], v0[0]
	str	q1, [x26, _AM_drawWalls.l@PAGEOFF]
	ldr	x8, [x24]
	ldr	w10, [x11]
	cbz	x8, LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x11, #16]
	cbz	x11, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x12, x9, x21
	ldr	w12, [x12, #4]
	cmp	w12, #39
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x12, _ML_SECRET@GOTPAGE
Lloh18:
	ldr	x12, [x12, _ML_SECRET@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
	tst	w12, w10
	b.eq	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh20:
	adrp	x8, _SECRETWALLCOLORS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SECRETWALLCOLORS@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	b	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w12, [x25]
	tst	w12, w10
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh23:
	adrp	x12, _LINE_NEVERSEE@GOTPAGE
Lloh24:
	ldr	x12, [x12, _LINE_NEVERSEE@GOTPAGEOFF]
Lloh25:
	ldr	w12, [x12]
	tst	w12, w10
	b.ne	LBB0_4
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x27]
	add	x1, x9, x8
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh26:
	adrp	x8, _plr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _plr@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh29:
	adrp	x9, _pw_allmap@GOTPAGE
Lloh30:
	ldr	x9, [x9, _pw_allmap@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh32:
	adrp	x8, _LINE_NEVERSEE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LINE_NEVERSEE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w10
	b.ne	LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh35:
	adrp	x8, _GRAYS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GRAYS@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	add	x1, x8, #3
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x11]
	add	x9, x9, x21
	ldr	x9, [x9, #8]
	ldr	x12, [x9]
	cmp	x10, x12
	b.ne	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x11, #8]
	ldr	x9, [x9, #8]
	cmp	x10, x9
	b.ne	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh38:
	adrp	x8, _TSWALLCOLORS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _TSWALLCOLORS@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	b	LBB0_14
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh41:
	adrp	x8, _FDWALLCOLORS@GOTPAGE
Lloh42:
	ldr	x8, [x8, _FDWALLCOLORS@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	b	LBB0_14
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh44:
	adrp	x8, _CDWALLCOLORS@GOTPAGE
Lloh45:
	ldr	x8, [x8, _CDWALLCOLORS@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	b	LBB0_14
LBB0_24:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_AM_drawWalls.l,16,4 ; @AM_drawWalls.l
	.comm	_numlines,4,2                   ; @numlines
	.comm	_lines,8,3                      ; @lines
	.comm	_cheating,8,3                   ; @cheating
	.comm	_ML_MAPPED,4,2                  ; @ML_MAPPED
	.comm	_LINE_NEVERSEE,4,2              ; @LINE_NEVERSEE
	.comm	_WALLCOLORS,8,3                 ; @WALLCOLORS
	.comm	_lightlev,8,3                   ; @lightlev
	.comm	_WALLRANGE,4,2                  ; @WALLRANGE
	.comm	_ML_SECRET,4,2                  ; @ML_SECRET
	.comm	_SECRETWALLCOLORS,8,3           ; @SECRETWALLCOLORS
	.comm	_FDWALLCOLORS,8,3               ; @FDWALLCOLORS
	.comm	_CDWALLCOLORS,8,3               ; @CDWALLCOLORS
	.comm	_TSWALLCOLORS,8,3               ; @TSWALLCOLORS
	.comm	_plr,8,3                        ; @plr
	.comm	_pw_allmap,8,3                  ; @pw_allmap
	.comm	_GRAYS,8,3                      ; @GRAYS
.subsections_via_symbols
