	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function A_BFGSpray
LCPI0_0:
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_A_BFGSpray
	.p2align	4, 0x90
_A_BFGSpray:                            ## @A_BFGSpray
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_linetarget@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	$40, %ebx
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ANG90@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	(%r12), %edx
	subl	%ecx, %edx
	movl	4(%r12), %edi
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$36, %rsi
	addl	%eax, %esi
	imull	%ebx, %esi
	addl	%edx, %esi
	movq	_FRACUNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$10, %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_P_AimLineAttack
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	20(%rax), %edi
	movl	(%rax), %ecx
	movl	16(%rax), %esi
	sarl	$2, %ecx
	movslq	%ecx, %rdx
	addq	8(%rax), %rdx
	movq	_MT_EXTRABFG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_P_SpawnMobj
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %r13d
	xorl	%eax, %eax
	callq	_P_Random
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_P_Random
	movd	%r13d, %xmm2
	pinsrd	$1, %r15d, %xmm2
	pinsrd	$2, %r12d, %xmm2
	pinsrd	$3, %eax, %xmm2
	movd	-44(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -80(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$2, -48(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$3, %r14d, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [7,7,7,7]
	pand	%xmm1, %xmm0
	pand	%xmm1, %xmm2
	paddd	%xmm0, %xmm2
	movdqa	%xmm2, -80(%rbp)                ## 16-byte Spill
	xorl	%eax, %eax
	callq	_P_Random
	andl	$7, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %r12d
	andl	$7, %r12d
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %r13d
	andl	$7, %r13d
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %ebx
	andl	$7, %ebx
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %r14d
	andl	$7, %r14d
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %r15d
	andl	$7, %r15d
	xorl	%eax, %eax
	callq	_P_Random
                                        ## kill: def $eax killed $eax def $rax
	andl	$7, %eax
	movdqa	-80(%rbp), %xmm1                ## 16-byte Reload
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %ecx
	addl	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%r12d, %ecx
	addl	%r13d, %ecx
	addl	%ebx, %ecx
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	addl	%r14d, %ecx
	movq	_linetarget@GOTPCREL(%rip), %r14
	addl	%r15d, %ecx
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	addl	%eax, %ecx
	addl	$15, %ecx
	movq	(%r14), %rdi
	movl	4(%r12), %edx
	movl	%edx, %esi
	callq	_P_DamageMobj
	jmp	LBB0_3
LBB0_4:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ANG90,4,2                      ## @ANG90
	.comm	_FRACUNIT,4,2                   ## @FRACUNIT
	.comm	_linetarget,8,3                 ## @linetarget
	.comm	_MT_EXTRABFG,4,2                ## @MT_EXTRABFG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_BFGSpray                     ; -- Begin function A_BFGSpray
	.p2align	2
_A_BFGSpray:                            ; @A_BFGSpray
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x21, _ANG90@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ANG90@GOTPAGEOFF]
	mov	w22, #26215
	movk	w22, #26214, lsl #16
Lloh2:
	adrp	x23, _FRACUNIT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FRACUNIT@GOTPAGEOFF]
Lloh4:
	adrp	x24, _linetarget@GOTPAGE
Lloh5:
	ldr	x24, [x24, _linetarget@GOTPAGEOFF]
Lloh6:
	adrp	x25, _MT_EXTRABFG@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MT_EXTRABFG@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	cmp	w20, #40
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x21]
	cmp	w8, #0
	cinc	w9, w8, lt
	ldp	w10, w0, [x19]
	sub	w9, w10, w9, asr #1
	mul	x8, x8, x22
	lsr	x10, x8, #63
	asr	x8, x8, #36
	add	w8, w8, w10
	madd	w1, w8, w20, w9
	ldr	w8, [x23]
	lsl	w2, w8, #10
	bl	_P_AimLineAttack
	ldr	x8, [x24]
	cbz	x8, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w1, w0, [x8, #16]
	ldr	x9, [x8, #8]
	ldr	w8, [x8]
	asr	w8, w8, #2
	add	x2, x9, w8, sxtw
	ldr	w3, [x25]
	bl	_P_SpawnMobj
	bl	_P_Random
	and	w26, w0, #0x7
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w26, w26, w8
	bl	_P_Random
	and	w8, w0, #0x7
	add	w8, w26, w8
	add	w3, w8, #15
	ldr	x0, [x24]
	ldr	w1, [x19, #4]
	mov	x2, x1
	bl	_P_DamageMobj
	b	LBB0_1
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ANG90,4,2                      ; @ANG90
	.comm	_FRACUNIT,4,2                   ; @FRACUNIT
	.comm	_linetarget,8,3                 ; @linetarget
	.comm	_MT_EXTRABFG,4,2                ; @MT_EXTRABFG
.subsections_via_symbols
