	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_SPosAttack                   ## -- Begin function A_SPosAttack
	.p2align	4, 0x90
_A_SPosAttack:                          ## @A_SPosAttack
	.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
	cmpl	$0, 4(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	movq	_sfx_shotgn@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_S_StartSound
	movq	%r12, %rdi
	callq	_A_FaceTarget
	movl	(%r12), %r15d
	movq	_MISSILERANGE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_P_AimLineAttack
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_P_Random
	subl	%eax, %ebx
	shll	$20, %ebx
	addl	%r15d, %ebx
	xorl	%eax, %eax
	callq	_P_Random
	cltq
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$33, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	%ecx, %eax
	leal	(%rax,%rax,2), %r8d
	addl	$3, %r8d
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %ecx
	callq	_P_LineAttack
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_P_Random
	subl	%eax, %ebx
	shll	$20, %ebx
	addl	%r15d, %ebx
	xorl	%eax, %eax
	callq	_P_Random
	cltq
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$33, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	%ecx, %eax
	leal	(%rax,%rax,2), %r8d
	addl	$3, %r8d
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %ecx
	callq	_P_LineAttack
	xorl	%eax, %eax
	callq	_P_Random
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_P_Random
	subl	%eax, %ebx
	shll	$20, %ebx
	addl	%r15d, %ebx
	xorl	%eax, %eax
	callq	_P_Random
	cltq
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$33, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	%ecx, %eax
	leal	(%rax,%rax,2), %r8d
	addl	$3, %r8d
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_P_LineAttack                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sfx_shotgn,4,2                 ## @sfx_shotgn
	.comm	_MISSILERANGE,4,2               ## @MISSILERANGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_SPosAttack                   ; -- Begin function A_SPosAttack
	.p2align	2
_A_SPosAttack:                          ; @A_SPosAttack
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _sfx_shotgn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sfx_shotgn@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_S_StartSound
	mov	x0, x19
	bl	_A_FaceTarget
	ldr	w21, [x19]
Lloh3:
	adrp	x23, _MISSILERANGE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MISSILERANGE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x21
	bl	_P_AimLineAttack
	mov	x20, x0
	bl	_P_Random
	mov	x22, x0
	bl	_P_Random
	sub	w8, w22, w0
	add	w22, w21, w8, lsl #20
	bl	_P_Random
	mov	w24, #26215
	movk	w24, #26214, lsl #16
	smull	x8, w0, w24
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	add	w8, w8, w8, lsl #2
	sub	w8, w0, w8
	add	w8, w8, w8, lsl #1
	add	w4, w8, #3
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	bl	_P_LineAttack
	bl	_P_Random
	mov	x22, x0
	bl	_P_Random
	sub	w8, w22, w0
	add	w22, w21, w8, lsl #20
	bl	_P_Random
	smull	x8, w0, w24
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	add	w8, w8, w8, lsl #2
	sub	w8, w0, w8
	add	w8, w8, w8, lsl #1
	add	w4, w8, #3
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	bl	_P_LineAttack
	bl	_P_Random
	mov	x22, x0
	bl	_P_Random
	sub	w8, w22, w0
	add	w21, w21, w8, lsl #20
	bl	_P_Random
	smull	x8, w0, w24
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w9
	add	w8, w8, w8, lsl #2
	sub	w8, w0, w8
	add	w8, w8, w8, lsl #1
	add	w4, w8, #3
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_P_LineAttack
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sfx_shotgn,4,2                 ; @sfx_shotgn
	.comm	_MISSILERANGE,4,2               ; @MISSILERANGE
.subsections_via_symbols
