	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Pickup_Armor                   ## -- Begin function Pickup_Armor
	.p2align	4, 0x90
_Pickup_Armor:                          ## @Pickup_Armor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	_STAT_ARMOR@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	addq	%rcx, (%rax,%rsi,8)
	movq	(%rdx), %rcx
	movq	_STAT_MAX_HEALTH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rax,%rdx,8), %rdx
	addq	%rdx, %rdx
	cmpq	%rdx, (%rax,%rcx,8)
	jbe	LBB0_2
## %bb.1:
	movq	%rdx, (%rax,%rcx,8)
LBB0_2:
	movq	_RESPAWN_ARMOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STAT_ARMOR,8,3                 ## @STAT_ARMOR
	.comm	_STAT_MAX_HEALTH,8,3            ## @STAT_MAX_HEALTH
	.comm	_RESPAWN_ARMOR,4,2              ## @RESPAWN_ARMOR
	.comm	_PW_GUARD,8,3                   ## @PW_GUARD
	.comm	_STAT_PERSISTANT_POWERUP,8,3    ## @STAT_PERSISTANT_POWERUP
	.comm	_bg_itemlist,8,3                ## @bg_itemlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Pickup_Armor                   ; -- Begin function Pickup_Armor
	.p2align	2
_Pickup_Armor:                          ; @Pickup_Armor
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	ldr	x8, [x1]
	ldr	x8, [x8]
Lloh0:
	adrp	x10, _STAT_ARMOR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _STAT_ARMOR@GOTPAGEOFF]
	ldr	x11, [x10]
	lsl	x11, x11, #3
	ldr	x12, [x8, x11]
	add	x9, x12, x9
	str	x9, [x8, x11]
	ldr	x9, [x10]
	ldr	x11, [x8, x9, lsl #3]
Lloh2:
	adrp	x10, _STAT_MAX_HEALTH@GOTPAGE
Lloh3:
	ldr	x10, [x10, _STAT_MAX_HEALTH@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	ldr	x10, [x8, x10, lsl #3]
	lsl	x10, x10, #1
	cmp	x11, x10
	b.ls	LBB0_2
; %bb.1:
	str	x10, [x8, x9, lsl #3]
LBB0_2:
Lloh5:
	adrp	x8, _RESPAWN_ARMOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RESPAWN_ARMOR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STAT_ARMOR,8,3                 ; @STAT_ARMOR
	.comm	_STAT_MAX_HEALTH,8,3            ; @STAT_MAX_HEALTH
	.comm	_RESPAWN_ARMOR,4,2              ; @RESPAWN_ARMOR
	.comm	_PW_GUARD,8,3                   ; @PW_GUARD
	.comm	_STAT_PERSISTANT_POWERUP,8,3    ; @STAT_PERSISTANT_POWERUP
	.comm	_bg_itemlist,8,3                ; @bg_itemlist
.subsections_via_symbols
