	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ST_updateWidgets               ## -- Begin function ST_updateWidgets
	.p2align	4, 0x90
_ST_updateWidgets:                      ## @ST_updateWidgets
	.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
	movq	_weaponinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_plyr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	(%rdx,%rcx,8), %rdx
	movq	_am_noammo@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_2
## %bb.1:
	leaq	_ST_updateWidgets.largeammo(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	shlq	$2, %rdx
	addq	8(%rax), %rdx
LBB0_3:
	movq	_w_ready@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movq	%rcx, 8(%rsi)
	movq	24(%rax), %rcx
	cmpq	$1, (%rcx)
	movl	$0, %edx
	sbbl	%edx, %edx
	movq	_keyboxes@GOTPCREL(%rip), %rsi
	cmpq	$0, 24(%rcx)
	movq	(%rsi), %rcx
	movl	$3, %edi
	cmovel	%edx, %edi
	movl	%edi, (%rcx)
	movq	24(%rax), %rcx
	cmpq	$1, 8(%rcx)
	movl	$0, %edx
	sbbl	%edx, %edx
	orl	$1, %edx
	cmpq	$0, 32(%rcx)
	movq	(%rsi), %rcx
	movl	$4, %edi
	cmovel	%edx, %edi
	movl	%edi, 4(%rcx)
	movq	24(%rax), %rax
	cmpq	$1, 16(%rax)
	movl	$0, %ecx
	sbbl	%ecx, %ecx
	orl	$2, %ecx
	movq	(%rsi), %rdx
	cmpq	$0, 40(%rax)
	movl	$5, %eax
	cmovel	%ecx, %eax
	movl	%eax, 8(%rdx)
	xorl	%eax, %eax
	callq	_ST_updateFaceWidget
	movq	_deathmatch@GOTPCREL(%rip), %rax
	movq	_st_statusbaron@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	xorl	%edx, %edx
	cmpq	$0, (%rax)
	sete	%dl
	movq	_st_notdeathmatch@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	setne	%al
	andb	%cl, %dl
	movzbl	%dl, %edx
	movq	_st_armson@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	andb	%cl, %al
	movzbl	%al, %eax
	movq	_st_fragson@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_st_fragscount@GOTPCREL(%rip), %r10
	movq	$0, (%r10)
	movq	_MAXPLAYERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_20
## %bb.4:
	movq	_consoleplayer@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%rbx), %r8
	cmpl	$1, %r9d
	jne	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	xorl	%eax, %eax
	testb	$1, %r9b
	jne	LBB0_16
	jmp	LBB0_20
LBB0_6:
	movl	%r9d, %edx
	andl	$-2, %edx
	movq	16(%r8), %rdi
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	subq	(%rdi,%rcx,8), %rsi
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rsi, (%r10)
	incq	%rbx
	cmpq	%rdx, %rbx
	je	LBB0_14
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	cmpq	%rbx, %rcx
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	subq	(%rdi,%rcx,8), %rsi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	addq	(%rdi,%rax,8), %rsi
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rsi, (%r10)
	leaq	1(%rax), %rbx
	cmpq	%rcx, %rbx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	8(%rdi,%rax,8), %rsi
	jmp	LBB0_13
LBB0_14:
	addq	$2, %rax
	testb	$1, %r9b
	je	LBB0_20
LBB0_16:
	movq	16(%r8), %rdx
	cmpq	%rcx, %rax
	jne	LBB0_17
## %bb.18:
	subq	(%rdx,%rcx,8), %rsi
	jmp	LBB0_19
LBB0_17:
	addq	(%rdx,%rax,8), %rsi
LBB0_19:
	movq	%rsi, (%r10)
LBB0_20:
	movq	_st_msgcounter@GOTPCREL(%rip), %rax
	decl	(%rax)
	jne	LBB0_22
## %bb.21:
	movq	_st_oldchat@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_st_chat@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @ST_updateWidgets.largeammo
_ST_updateWidgets.largeammo:
	.long	1994                            ## 0x7ca

	.comm	_weaponinfo,8,3                 ## @weaponinfo
	.comm	_plyr,8,3                       ## @plyr
	.comm	_am_noammo,8,3                  ## @am_noammo
	.comm	_w_ready,16,3                   ## @w_ready
	.comm	_keyboxes,8,3                   ## @keyboxes
	.comm	_deathmatch,8,3                 ## @deathmatch
	.comm	_st_notdeathmatch,4,2           ## @st_notdeathmatch
	.comm	_st_statusbaron,8,3             ## @st_statusbaron
	.comm	_st_armson,4,2                  ## @st_armson
	.comm	_st_fragson,4,2                 ## @st_fragson
	.comm	_st_fragscount,8,3              ## @st_fragscount
	.comm	_MAXPLAYERS,4,2                 ## @MAXPLAYERS
	.comm	_consoleplayer,4,2              ## @consoleplayer
	.comm	_st_msgcounter,4,2              ## @st_msgcounter
	.comm	_st_oldchat,4,2                 ## @st_oldchat
	.comm	_st_chat,4,2                    ## @st_chat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ST_updateWidgets               ; -- Begin function ST_updateWidgets
	.p2align	2
_ST_updateWidgets:                      ; @ST_updateWidgets
	.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
Lloh0:
	adrp	x8, _weaponinfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _weaponinfo@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x8]
Lloh3:
	adrp	x19, _plyr@GOTPAGE
Lloh4:
	ldr	x19, [x19, _plyr@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x9, [x8]
	ldr	x10, [x10, x9, lsl #3]
Lloh5:
	adrp	x11, _am_noammo@GOTPAGE
Lloh6:
	ldr	x11, [x11, _am_noammo@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x10, _ST_updateWidgets.largeammo@PAGE
Lloh9:
	add	x10, x10, _ST_updateWidgets.largeammo@PAGEOFF
	b	LBB0_3
LBB0_2:
	ldr	x11, [x8, #8]
	add	x10, x11, x10, lsl #2
LBB0_3:
Lloh10:
	adrp	x11, _w_ready@GOTPAGE
Lloh11:
	ldr	x11, [x11, _w_ready@GOTPAGEOFF]
	stp	x10, x9, [x11]
	ldr	x9, [x8, #24]
	ldr	x10, [x9]
	cmp	x10, #0
	csetm	w10, eq
Lloh12:
	adrp	x11, _keyboxes@GOTPAGE
Lloh13:
	ldr	x11, [x11, _keyboxes@GOTPAGEOFF]
	ldr	x12, [x11]
	ldr	x9, [x9, #24]
	cmp	x9, #0
	mov	w9, #3
	csel	w9, w10, w9, eq
	str	w9, [x12]
	ldr	x9, [x8, #24]
	ldr	x10, [x9, #8]
	cmp	x10, #0
	mov	w10, #-1
	cneg	w10, w10, ne
	ldr	x12, [x11]
	ldr	x9, [x9, #32]
	cmp	x9, #0
	mov	w9, #4
	csel	w9, w10, w9, eq
	str	w9, [x12, #4]
	ldr	x8, [x8, #24]
	ldr	x9, [x8, #16]
	cmp	x9, #0
	mov	w9, #2
	csinv	w9, w9, wzr, ne
	ldr	x10, [x11]
	ldr	x8, [x8, #40]
	cmp	x8, #0
	mov	w8, #5
	csel	w8, w9, w8, eq
	str	w8, [x10, #8]
	bl	_ST_updateFaceWidget
Lloh14:
	adrp	x8, _deathmatch@GOTPAGE
Lloh15:
	ldr	x8, [x8, _deathmatch@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _st_statusbaron@GOTPAGE
Lloh18:
	ldr	x9, [x9, _st_statusbaron@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	cmp	x8, #0
Lloh20:
	adrp	x8, _st_notdeathmatch@GOTPAGE
Lloh21:
	ldr	x8, [x8, _st_notdeathmatch@GOTPAGEOFF]
	cset	w10, eq
Lloh22:
	str	w10, [x8]
	and	w8, w9, w10
Lloh23:
	adrp	x10, _st_armson@GOTPAGE
Lloh24:
	ldr	x10, [x10, _st_armson@GOTPAGEOFF]
Lloh25:
	str	w8, [x10]
	cset	w8, ne
	and	w9, w8, w9
Lloh26:
	adrp	x10, _st_fragson@GOTPAGE
Lloh27:
	ldr	x10, [x10, _st_fragson@GOTPAGEOFF]
Lloh28:
	adrp	x8, _st_fragscount@GOTPAGE
Lloh29:
	ldr	x8, [x8, _st_fragscount@GOTPAGEOFF]
Lloh30:
	str	w9, [x10]
	str	xzr, [x8]
Lloh31:
	adrp	x9, _MAXPLAYERS@GOTPAGE
Lloh32:
	ldr	x9, [x9, _MAXPLAYERS@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x10, #0
Lloh34:
	adrp	x11, _consoleplayer@GOTPAGE
Lloh35:
	ldr	x11, [x11, _consoleplayer@GOTPAGEOFF]
Lloh36:
	ldr	w11, [x11]
	ldr	x12, [x19]
	ldr	x12, [x12, #16]
	mov	x13, x12
	mov	x14, x11
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x15, [x12, x11, lsl #3]
	sub	x10, x10, x15
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	x10, [x8]
	sub	x14, x14, #1
	add	x13, x13, #8
	subs	x9, x9, #1
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x14, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x15, [x13]
	add	x10, x10, x15
	b	LBB0_6
LBB0_9:
Lloh37:
	adrp	x8, _st_msgcounter@GOTPAGE
Lloh38:
	ldr	x8, [x8, _st_msgcounter@GOTPAGEOFF]
	ldr	w9, [x8]
	subs	w9, w9, #1
	str	w9, [x8]
	b.ne	LBB0_11
; %bb.10:
Lloh39:
	adrp	x8, _st_oldchat@GOTPAGE
Lloh40:
	ldr	x8, [x8, _st_oldchat@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _st_chat@GOTPAGE
Lloh43:
	ldr	x9, [x9, _st_chat@GOTPAGEOFF]
Lloh44:
	str	w8, [x9]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh30
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @ST_updateWidgets.largeammo
_ST_updateWidgets.largeammo:
	.long	1994                            ; 0x7ca

	.comm	_weaponinfo,8,3                 ; @weaponinfo
	.comm	_plyr,8,3                       ; @plyr
	.comm	_am_noammo,8,3                  ; @am_noammo
	.comm	_w_ready,16,3                   ; @w_ready
	.comm	_keyboxes,8,3                   ; @keyboxes
	.comm	_deathmatch,8,3                 ; @deathmatch
	.comm	_st_notdeathmatch,4,2           ; @st_notdeathmatch
	.comm	_st_statusbaron,8,3             ; @st_statusbaron
	.comm	_st_armson,4,2                  ; @st_armson
	.comm	_st_fragson,4,2                 ; @st_fragson
	.comm	_st_fragscount,8,3              ; @st_fragscount
	.comm	_MAXPLAYERS,4,2                 ; @MAXPLAYERS
	.comm	_consoleplayer,4,2              ; @consoleplayer
	.comm	_st_msgcounter,4,2              ; @st_msgcounter
	.comm	_st_oldchat,4,2                 ; @st_oldchat
	.comm	_st_chat,4,2                    ; @st_chat
.subsections_via_symbols
