	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function CG_DrawVote
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_CG_DrawVote:                           ## @CG_DrawVote
	.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	_cgs@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	16(%rbx), %edi
	movq	_CHAN_LOCAL_SOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_trap_S_StartLocalSound
	movl	(%rbx), %eax
LBB0_3:
	movq	_VOTE_TIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_cg@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$38, %rsi
	addl	%eax, %esi
	xorl	%eax, %eax
	testl	%esi, %esi
	cmovlel	%eax, %esi
	movl	12(%rbx), %edx
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_va
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorl	%edi, %edi
	movl	$58, %esi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CG_DrawSmallString             ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,32,3                       ## @cgs
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_CHAN_LOCAL_SOUND,4,2           ## @CHAN_LOCAL_SOUND
	.comm	_VOTE_TIME,4,2                  ## @VOTE_TIME
	.comm	_cg,4,2                         ## @cg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VOTE(%i):%s yes:%i no:%i"

	.comm	_SMALLCHAR_HEIGHT,4,2           ## @SMALLCHAR_HEIGHT
	.no_dead_strip	_CG_DrawVote
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_DrawVote
_CG_DrawVote:                           ; @CG_DrawVote
	.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	x19, _cgs@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cgs@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _qfalse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	ldr	w0, [x19, #16]
Lloh5:
	adrp	x8, _CHAN_LOCAL_SOUND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHAN_LOCAL_SOUND@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_trap_S_StartLocalSound
	ldr	w8, [x19]
LBB0_3:
Lloh8:
	adrp	x9, _VOTE_TIME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VOTE_TIME@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _cg@GOTPAGE
Lloh12:
	ldr	x10, [x10, _cg@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	sub	w9, w9, w10
	add	w8, w9, w8
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	cmp	w8, #0
	csel	w1, w8, wzr, gt
	ldp	w3, w2, [x19, #8]
	ldr	w4, [x19, #4]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_va
	mov	x2, x0
	fmov	s0, #1.00000000
	mov	w0, #0
	mov	w1, #58
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CG_DrawSmallString
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,32,3                       ; @cgs
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_CHAN_LOCAL_SOUND,4,2           ; @CHAN_LOCAL_SOUND
	.comm	_VOTE_TIME,4,2                  ; @VOTE_TIME
	.comm	_cg,4,2                         ; @cg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VOTE(%i):%s yes:%i no:%i"

	.comm	_SMALLCHAR_HEIGHT,4,2           ; @SMALLCHAR_HEIGHT
	.no_dead_strip	_CG_DrawVote
.subsections_via_symbols
