	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_BrainAwake                   ## -- Begin function A_BrainAwake
	.p2align	4, 0x90
_A_BrainAwake:                          ## @A_BrainAwake
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_numbraintargets@GOTPCREL(%rip), %r8
	movq	$0, (%r8)
	movq	_braintargeton@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_thinkercap@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_6
## %bb.1:
	movq	_P_MobjThinker@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edi, %edi
	movq	_MT_BOSSTARGET@GOTPCREL(%rip), %r10
	movq	_braintargets@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdx), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %rax
	cmpq	%rsi, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r10), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r9), %rax
	movq	%rdx, (%rax,%rdi,8)
	incq	%rdi
	movq	%rdi, (%r8)
	jmp	LBB0_5
LBB0_6:
	movq	_sfx_bossit@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	popq	%rbp
	jmp	_S_StartSound                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_numbraintargets,8,3            ## @numbraintargets
	.comm	_braintargeton,8,3              ## @braintargeton
	.comm	_thinkercap,16,3                ## @thinkercap
	.comm	_P_MobjThinker,8,3              ## @P_MobjThinker
	.comm	_MT_BOSSTARGET,8,3              ## @MT_BOSSTARGET
	.comm	_braintargets,8,3               ## @braintargets
	.comm	_sfx_bossit,4,2                 ## @sfx_bossit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_BrainAwake                   ; -- Begin function A_BrainAwake
	.p2align	2
_A_BrainAwake:                          ; @A_BrainAwake
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _numbraintargets@GOTPAGE
Lloh1:
	ldr	x8, [x8, _numbraintargets@GOTPAGEOFF]
Lloh2:
	adrp	x9, _braintargeton@GOTPAGE
Lloh3:
	ldr	x9, [x9, _braintargeton@GOTPAGEOFF]
	str	xzr, [x8]
Lloh4:
	str	xzr, [x9]
Lloh5:
	adrp	x9, _thinkercap@GOTPAGE
Lloh6:
	ldr	x9, [x9, _thinkercap@GOTPAGEOFF]
	ldr	x10, [x9, #8]
	cmp	x10, x9
	b.eq	LBB0_5
; %bb.1:
	mov	x11, #0
Lloh7:
	adrp	x12, _P_MobjThinker@GOTPAGE
Lloh8:
	ldr	x12, [x12, _P_MobjThinker@GOTPAGEOFF]
Lloh9:
	ldr	x12, [x12]
Lloh10:
	adrp	x13, _MT_BOSSTARGET@GOTPAGE
Lloh11:
	ldr	x13, [x13, _MT_BOSSTARGET@GOTPAGEOFF]
Lloh12:
	adrp	x14, _braintargets@GOTPAGE
Lloh13:
	ldr	x14, [x14, _braintargets@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x10, #8]
	cmp	x10, x9
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x10]
	ldr	x16, [x13]
	cmp	x15, x12
	ccmp	x15, x16, #0, eq
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x14]
	str	x10, [x15, x11, lsl #3]
	add	x11, x11, #1
	str	x11, [x8]
	b	LBB0_2
LBB0_5:
Lloh14:
	adrp	x8, _sfx_bossit@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sfx_bossit@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, #0
	b	_S_StartSound
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_numbraintargets,8,3            ; @numbraintargets
	.comm	_braintargeton,8,3              ; @braintargeton
	.comm	_thinkercap,16,3                ; @thinkercap
	.comm	_P_MobjThinker,8,3              ; @P_MobjThinker
	.comm	_MT_BOSSTARGET,8,3              ; @MT_BOSSTARGET
	.comm	_braintargets,8,3               ; @braintargets
	.comm	_sfx_bossit,4,2                 ; @sfx_bossit
.subsections_via_symbols
