	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_BruisAttack                  ## -- Begin function A_BruisAttack
	.p2align	4, 0x90
_A_BruisAttack:                         ## @A_BruisAttack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	callq	_P_CheckMeleeRange
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	_sfx_claw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_S_StartSound
	xorl	%eax, %eax
	callq	_P_Random
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-8, %ecx
	subl	%ecx, %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rax,%rax), %ecx
	addl	$10, %ecx
	movl	(%rbx), %edi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_P_DamageMobj                   ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movl	(%rbx), %esi
	movq	_MT_BRUISERSHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_P_SpawnMissile                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_sfx_claw,4,2                   ## @sfx_claw
	.comm	_MT_BRUISERSHOT,4,2             ## @MT_BRUISERSHOT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_A_BruisAttack                  ; -- Begin function A_BruisAttack
	.p2align	2
_A_BruisAttack:                         ; @A_BruisAttack
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_P_CheckMeleeRange
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _sfx_claw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sfx_claw@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_S_StartSound
	bl	_P_Random
	negs	w8, w0
	and	w8, w8, #0x7
	and	w9, w0, #0x7
	csneg	w8, w9, w8, mi
	mov	w9, #10
	mul	w8, w8, w9
	add	w3, w8, #10
	ldr	w0, [x19]
	mov	x1, x19
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_P_DamageMobj
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w1, [x19]
Lloh3:
	adrp	x8, _MT_BRUISERSHOT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_BRUISERSHOT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_P_SpawnMissile
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_sfx_claw,4,2                   ; @sfx_claw
	.comm	_MT_BRUISERSHOT,4,2             ; @MT_BRUISERSHOT
.subsections_via_symbols
