	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_PlayerReborn                 ## -- Begin function G_PlayerReborn
	.p2align	4, 0x90
_G_PlayerReborn:                        ## @G_PlayerReborn
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPLAYERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_players@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rcx, %r13
	movslq	%r14d, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	shlq	$4, %rcx
	leaq	(%rcx,%rcx,4), %rbx
	movq	(%rax,%rbx), %rsi
	leal	(,%r12,4), %edx
	movq	%r15, %rdi
	callq	_memcpy
	movq	(%r13), %r12
	leaq	(%r12,%rbx), %rdi
	movq	8(%r12,%rbx), %r14
	movl	16(%r12,%rbx), %r13d
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	movq	_players@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	_players@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r14, 8(%rax,%rbx)
	movl	%r13d, 16(%rax,%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 20(%r12,%rbx)
	movq	_PST_LIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r12,%rbx)
	movq	_MAXHEALTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r12,%rbx)
	movq	_wp_pistol@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 40(%r12,%rbx)
	movq	%rcx, 32(%r12,%rbx)
	movq	48(%r12,%rbx), %rcx
	movq	_wp_fist@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$1, (%rcx,%rdx,4)
	movq	(%rax), %rax
	movl	$1, (%rcx,%rax,4)
	movq	56(%r12,%rbx), %rax
	movq	_am_clip@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$50, (%rax,%rcx,4)
	movq	_NUMAMMO@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	_maxammo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rdx,4), %rdx
	shlq	$4, %rdx
	movq	64(%r12,%rdx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rsi,4), %edi
	movl	%edi, (%rdx,%rsi,4)
	incq	%rsi
	movslq	(%rax), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_2
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPLAYERS,4,2                 ## @MAXPLAYERS
	.comm	_players,8,3                    ## @players
	.comm	_PST_LIVE,4,2                   ## @PST_LIVE
	.comm	_MAXHEALTH,4,2                  ## @MAXHEALTH
	.comm	_wp_pistol,8,3                  ## @wp_pistol
	.comm	_wp_fist,8,3                    ## @wp_fist
	.comm	_am_clip,8,3                    ## @am_clip
	.comm	_NUMAMMO,4,2                    ## @NUMAMMO
	.comm	_maxammo,8,3                    ## @maxammo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_G_PlayerReborn                 ; -- Begin function G_PlayerReborn
	.p2align	2
_G_PlayerReborn:                        ; @G_PlayerReborn
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	sub	sp, sp, #16
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPLAYERS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPLAYERS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x23, _players@GOTPAGE
Lloh9:
	ldr	x23, [x23, _players@GOTPAGEOFF]
	ldr	x8, [x23]
	sxtw	x21, w0
	add	x9, x21, w0, sxtw #2
	lsl	x24, x9, #4
	ldr	x1, [x8, x24]
	lsl	w2, w12, #2
	mov	x0, x19
	bl	_memcpy
	ldr	x22, [x23]
	add	x20, x22, x24
	ldr	w25, [x20, #16]
	ldr	d8, [x20, #8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #80
	bl	_memset
	ldr	x8, [x23]
	ldr	x0, [x8, x24]
	mov	x1, x19
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x23]
	add	x8, x8, x24
	str	d8, [x8, #8]
	str	w25, [x8, #16]
	movi.2s	v0, #1
	stur	d0, [x20, #20]
Lloh10:
	adrp	x8, _PST_LIVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PST_LIVE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x20, #76]
Lloh13:
	adrp	x8, _MAXHEALTH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MAXHEALTH@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x20, #72]
Lloh16:
	adrp	x8, _wp_pistol@GOTPAGE
Lloh17:
	ldr	x8, [x8, _wp_pistol@GOTPAGEOFF]
	ldr	x9, [x8]
	stp	x9, x9, [x20, #32]
Lloh18:
	adrp	x9, _wp_fist@GOTPAGE
Lloh19:
	ldr	x9, [x9, _wp_fist@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	mov	w10, #1
	ldp	x11, x12, [x20, #48]
	str	w10, [x11, x9, lsl #2]
	ldr	x8, [x8]
	str	w10, [x11, x8, lsl #2]
Lloh21:
	adrp	x8, _am_clip@GOTPAGE
Lloh22:
	ldr	x8, [x8, _am_clip@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	mov	w9, #50
	str	w9, [x12, x8, lsl #2]
Lloh24:
	adrp	x8, _NUMAMMO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NUMAMMO@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
Lloh26:
	adrp	x10, _maxammo@GOTPAGE
Lloh27:
	ldr	x10, [x10, _maxammo@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	mov	w11, #80
	madd	x11, x21, x11, x22
	ldr	x11, [x11, #64]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x9, #2
	ldr	w13, [x10, x12]
	str	w13, [x11, x12]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_2
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPLAYERS,4,2                 ; @MAXPLAYERS
	.comm	_players,8,3                    ; @players
	.comm	_PST_LIVE,4,2                   ; @PST_LIVE
	.comm	_MAXHEALTH,4,2                  ; @MAXHEALTH
	.comm	_wp_pistol,8,3                  ; @wp_pistol
	.comm	_wp_fist,8,3                    ; @wp_fist
	.comm	_am_clip,8,3                    ; @am_clip
	.comm	_NUMAMMO,4,2                    ; @NUMAMMO
	.comm	_maxammo,8,3                    ; @maxammo
.subsections_via_symbols
