	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GibEntity                      ## -- Begin function GibEntity
	.p2align	4, 0x90
_GibEntity:                             ## @GibEntity
	.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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	_EF_KAMIKAZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_8
## %bb.1:
	movq	_MAX_GENTITIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.2:
	xorl	%r14d, %r14d
	movq	_g_entities@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$40, %r14
	cmpq	%rcx, %r13
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rbx
	cmpl	$0, 32(%rbx,%r14)
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r12, 24(%rbx,%r14)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	20(%rbx,%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_MAX_GENTITIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_9:
	addq	%r14, %rbx
	movq	%rbx, %rdi
	callq	_G_FreeEntity
LBB0_8:
	movq	_EV_GIB_PLAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_G_AddEvent
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_ET_INVISIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	$0, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EF_KAMIKAZE,4,2                ## @EF_KAMIKAZE
	.comm	_MAX_GENTITIES,4,2              ## @MAX_GENTITIES
	.comm	_g_entities,8,3                 ## @g_entities
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kamikaze timer"

	.comm	_EV_GIB_PLAYER,4,2              ## @EV_GIB_PLAYER
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_ET_INVISIBLE,4,2               ## @ET_INVISIBLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GibEntity                      ; -- Begin function GibEntity
	.p2align	2
_GibEntity:                             ; @GibEntity
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _EF_KAMIKAZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EF_KAMIKAZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x23, _MAX_GENTITIES@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAX_GENTITIES@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w9, #0
	ccmp	w8, #1, #8, ne
	b.ge	LBB0_2
LBB0_1:
Lloh5:
	adrp	x8, _EV_GIB_PLAYER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EV_GIB_PLAYER@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_G_AddEvent
Lloh8:
	adrp	x8, _qfalse@GOTPAGE
Lloh9:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _ET_INVISIBLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ET_INVISIBLE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
	str	xzr, [x19]
	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
LBB0_2:
	mov	x24, #0
	mov	x25, #0
Lloh14:
	adrp	x26, _g_entities@GOTPAGE
Lloh15:
	ldr	x26, [x26, _g_entities@GOTPAGEOFF]
Lloh16:
	adrp	x21, l_.str@PAGE
Lloh17:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	add	x24, x24, #40
	cmp	x25, w8, sxtw
	b.ge	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x26]
	add	x10, x9, x24
	ldr	w11, [x10, #32]
	cbz	w11, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x10, #24]
	cmp	x10, x19
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x9, x24
	ldr	w0, [x22, #20]
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	b	LBB0_3
LBB0_8:
	mov	x0, x22
	bl	_G_FreeEntity
	b	LBB0_1
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EF_KAMIKAZE,4,2                ; @EF_KAMIKAZE
	.comm	_MAX_GENTITIES,4,2              ; @MAX_GENTITIES
	.comm	_g_entities,8,3                 ; @g_entities
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kamikaze timer"

	.comm	_EV_GIB_PLAYER,4,2              ; @EV_GIB_PLAYER
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_ET_INVISIBLE,4,2               ; @ET_INVISIBLE
.subsections_via_symbols
