	.file	"extr_g_rankings.c_G_RankPickupAmmo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	G_RankPickupAmmo
	.type	G_RankPickupAmmo, @function
G_RankPickupAmmo:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR level[rip], 0
	je	.L18
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	mov	edx, DWORD PTR QGR_KEY_BOXES[rip]
	mov	ecx, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	r8d, 1
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	mov	esi, -1
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS[rip]
	mov	ecx, r12d
	mov	edi, ebp
	mov	esi, -1
	mov	r8d, 1
	call	trap_RankReportInt@PLT
	lea	esi, -128[rbx]
	cmp	esi, 7
	ja	.L1
	lea	rdx, .L4[rip]
	mov	r8d, 1
	mov	ecx, 1
	movsx	rax, DWORD PTR [rdx+rsi*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edx, DWORD PTR QGR_KEY_BOXES_GRENADES[rip]
	mov	esi, -1
	mov	edi, ebp
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS_GRENADES[rip]
	mov	r8d, 1
	mov	ecx, r12d
.L16:
	pop	rbx
	.cfi_remember_state
	.cfi_restore 3
	.cfi_def_cfa_offset 24
	mov	edi, ebp
	mov	esi, -1
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 8
	jmp	trap_RankReportInt@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edx, DWORD PTR QGR_KEY_BOXES_LG_AMMO[rip]
	mov	esi, -1
	mov	edi, ebp
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS_LG_AMMO[rip]
	mov	r8d, 1
	mov	ecx, r12d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR QGR_KEY_BOXES_BULLETS[rip]
	mov	esi, -1
	mov	edi, ebp
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS_BULLETS[rip]
	mov	r8d, 1
	mov	ecx, r12d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, DWORD PTR QGR_KEY_BOXES_CELLS[rip]
	mov	esi, -1
	mov	edi, ebp
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS_CELLS[rip]
	mov	r8d, 1
	mov	ecx, r12d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, DWORD PTR QGR_KEY_BOXES_SLUGS[rip]
	mov	esi, -1
	mov	edi, ebp
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS_SLUGS[rip]
	mov	r8d, 1
	mov	ecx, r12d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, DWORD PTR QGR_KEY_BOXES_ROCKETS[rip]
	mov	esi, -1
	mov	edi, ebp
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS_ROCKETS[rip]
	mov	r8d, 1
	mov	ecx, r12d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, DWORD PTR QGR_KEY_BOXES_SHELLS[rip]
	mov	esi, -1
	mov	edi, ebp
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS_SHELLS[rip]
	mov	r8d, 1
	mov	ecx, r12d
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR QGR_KEY_BOXES_BFG_AMMO[rip]
	mov	esi, -1
	mov	edi, ebp
	call	trap_RankReportInt@PLT
	mov	edx, DWORD PTR QGR_KEY_ROUNDS_BFG_AMMO[rip]
	mov	r8d, 1
	mov	ecx, r12d
	jmp	.L16
	.cfi_endproc
.LFE0:
	.size	G_RankPickupAmmo, .-G_RankPickupAmmo
	.comm	level,8,8
	.comm	QGR_KEY_ROUNDS_SLUGS,4,4
	.comm	QGR_KEY_ROUNDS_SHELLS,4,4
	.comm	QGR_KEY_ROUNDS_ROCKETS,4,4
	.comm	QGR_KEY_ROUNDS_LG_AMMO,4,4
	.comm	QGR_KEY_ROUNDS_GRENADES,4,4
	.comm	QGR_KEY_ROUNDS_CELLS,4,4
	.comm	QGR_KEY_ROUNDS_BULLETS,4,4
	.comm	QGR_KEY_ROUNDS_BFG_AMMO,4,4
	.comm	QGR_KEY_ROUNDS,4,4
	.comm	QGR_KEY_BOXES_SLUGS,4,4
	.comm	QGR_KEY_BOXES_SHELLS,4,4
	.comm	QGR_KEY_BOXES_ROCKETS,4,4
	.comm	QGR_KEY_BOXES_LG_AMMO,4,4
	.comm	QGR_KEY_BOXES_GRENADES,4,4
	.comm	QGR_KEY_BOXES_CELLS,4,4
	.comm	QGR_KEY_BOXES_BULLETS,4,4
	.comm	QGR_KEY_BOXES_BFG_AMMO,4,4
	.comm	QGR_KEY_BOXES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_g_rankings.c_G_RankPickupAmmo.c"
	.text
	.align	2
	.global	G_RankPickupAmmo
	.syntax unified
	.arm
	.fpu softvfp
	.type	G_RankPickupAmmo, %function
G_RankPickupAmmo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L18
	ldr	ip, [r3]
	cmp	ip, #0
	bxne	lr
	push	{r4, r5, r6, r7, lr}
	mov	r7, #1
	mov	r5, r2
	mov	r4, r0
	mov	r6, r1
	sub	sp, sp, #12
	ldr	r2, .L18+4
	str	r7, [sp]
	mov	r3, r7
	mvn	r1, #0
	ldr	r2, [r2]
	bl	trap_RankReportInt
	ldr	r3, .L18+8
	str	r7, [sp]
	mvn	r1, #0
	ldr	r2, [r3]
	mov	r0, r4
	mov	r3, r5
	bl	trap_RankReportInt
	sub	r1, r6, #128
	cmp	r1, #7
	ldrls	pc, [pc, r1, asl #2]
	b	.L1
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	mov	r6, #1
	ldr	r2, .L18+12
	str	r6, [sp]
	ldr	r2, [r2]
	mov	r3, r6
	mvn	r1, #0
	mov	r0, r4
	bl	trap_RankReportInt
	ldr	r2, .L18+16
.L16:
	str	r6, [sp]
	mov	r3, r5
	mov	r0, r4
	mvn	r1, #0
	ldr	r2, [r2]
	bl	trap_RankReportInt
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	mov	r6, #1
	ldr	r2, .L18+20
	str	r6, [sp]
	ldr	r2, [r2]
	mov	r3, r6
	mvn	r1, #0
	mov	r0, r4
	bl	trap_RankReportInt
	ldr	r2, .L18+24
	b	.L16
.L6:
	mov	r6, #1
	ldr	r2, .L18+28
	str	r6, [sp]
	ldr	r2, [r2]
	mov	r3, r6
	mvn	r1, #0
	mov	r0, r4
	bl	trap_RankReportInt
	ldr	r2, .L18+32
	b	.L16
.L7:
	mov	r6, #1
	ldr	r2, .L18+36
	str	r6, [sp]
	ldr	r2, [r2]
	mov	r3, r6
	mvn	r1, #0
	mov	r0, r4
	bl	trap_RankReportInt
	ldr	r2, .L18+40
	b	.L16
.L8:
	mov	r6, #1
	ldr	r2, .L18+44
	str	r6, [sp]
	ldr	r2, [r2]
	mov	r3, r6
	mvn	r1, #0
	mov	r0, r4
	bl	trap_RankReportInt
	ldr	r2, .L18+48
	b	.L16
.L9:
	mov	r6, #1
	ldr	r2, .L18+52
	str	r6, [sp]
	ldr	r2, [r2]
	mov	r3, r6
	mvn	r1, #0
	mov	r0, r4
	bl	trap_RankReportInt
	ldr	r2, .L18+56
	b	.L16
.L10:
	mov	r6, #1
	ldr	r2, .L18+60
	str	r6, [sp]
	ldr	r2, [r2]
	mov	r3, r6
	mvn	r1, #0
	mov	r0, r4
	bl	trap_RankReportInt
	ldr	r2, .L18+64
	b	.L16
.L11:
	mov	r6, #1
	ldr	r2, .L18+68
	str	r6, [sp]
	ldr	r2, [r2]
	mov	r3, r6
	mvn	r1, #0
	mov	r0, r4
	bl	trap_RankReportInt
	ldr	r2, .L18+72
	b	.L16
.L19:
	.align	2
.L18:
	.word	level
	.word	QGR_KEY_BOXES
	.word	QGR_KEY_ROUNDS
	.word	QGR_KEY_BOXES_BFG_AMMO
	.word	QGR_KEY_ROUNDS_BFG_AMMO
	.word	QGR_KEY_BOXES_GRENADES
	.word	QGR_KEY_ROUNDS_GRENADES
	.word	QGR_KEY_BOXES_LG_AMMO
	.word	QGR_KEY_ROUNDS_LG_AMMO
	.word	QGR_KEY_BOXES_BULLETS
	.word	QGR_KEY_ROUNDS_BULLETS
	.word	QGR_KEY_BOXES_CELLS
	.word	QGR_KEY_ROUNDS_CELLS
	.word	QGR_KEY_BOXES_SLUGS
	.word	QGR_KEY_ROUNDS_SLUGS
	.word	QGR_KEY_BOXES_ROCKETS
	.word	QGR_KEY_ROUNDS_ROCKETS
	.word	QGR_KEY_BOXES_SHELLS
	.word	QGR_KEY_ROUNDS_SHELLS
	.size	G_RankPickupAmmo, .-G_RankPickupAmmo
	.comm	level,4,4
	.comm	QGR_KEY_ROUNDS_SLUGS,4,4
	.comm	QGR_KEY_ROUNDS_SHELLS,4,4
	.comm	QGR_KEY_ROUNDS_ROCKETS,4,4
	.comm	QGR_KEY_ROUNDS_LG_AMMO,4,4
	.comm	QGR_KEY_ROUNDS_GRENADES,4,4
	.comm	QGR_KEY_ROUNDS_CELLS,4,4
	.comm	QGR_KEY_ROUNDS_BULLETS,4,4
	.comm	QGR_KEY_ROUNDS_BFG_AMMO,4,4
	.comm	QGR_KEY_ROUNDS,4,4
	.comm	QGR_KEY_BOXES_SLUGS,4,4
	.comm	QGR_KEY_BOXES_SHELLS,4,4
	.comm	QGR_KEY_BOXES_ROCKETS,4,4
	.comm	QGR_KEY_BOXES_LG_AMMO,4,4
	.comm	QGR_KEY_BOXES_GRENADES,4,4
	.comm	QGR_KEY_BOXES_CELLS,4,4
	.comm	QGR_KEY_BOXES_BULLETS,4,4
	.comm	QGR_KEY_BOXES_BFG_AMMO,4,4
	.comm	QGR_KEY_BOXES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
