	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_DrawPlayerModel
_UI_DrawPlayerModel:                    ## @UI_DrawPlayerModel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$528, %rsp                      ## imm = 0x210
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_MAX_QPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_UI_Cvar_VariableString
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_strcpy
	leaq	L_.str.2(%rip), %rdi
	callq	_UI_Cvar_VariableString
	leaq	-544(%rbp), %rdi
	movl	%eax, %esi
	callq	_strcpy
	movq	_q3Model@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_qtrue@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_updateModel@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
LBB0_3:
	movb	$0, -288(%rbp)
LBB0_4:
	movq	_updateModel@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_8
LBB0_11:
	movl	12(%rbx), %edi
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	_uiInfo@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r9d
	shrl	$31, %r9d
	addl	%eax, %r9d
	sarl	%r9d
	leaq	_UI_DrawPlayerModel.info(%rip), %r8
	callq	_UI_DrawPlayer
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_12
## %bb.10:
	leaq	-16(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	callq	_UI_Cvar_VariableString
	leaq	-288(%rbp), %rdi
	movl	%eax, %esi
	callq	_strcpy
	leaq	L_.str.4(%rip), %rdi
	callq	_UI_Cvar_VariableString
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_strcpy
	leaq	L_.str.5(%rip), %rdi
	callq	_UI_Cvar_VariableString
	leaq	-544(%rbp), %rdi
	movl	%eax, %esi
	callq	_strcpy
	movq	_q3Model@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.6:
	movq	_qfalse@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_updateModel@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:
	callq	_UI_DrawPlayerModel.cold.1
	jmp	LBB0_9
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function UI_DrawPlayerModel.cold.1
_UI_DrawPlayerModel.cold.1:             ## @UI_DrawPlayerModel.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	_UI_DrawPlayerModel.info(%rip), %rdi
	pushq	$4
	popq	%rdx
	xorl	%esi, %esi
	callq	_memset
	ud2
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_UI_DrawPlayerModel.info,4,2 ## @UI_DrawPlayerModel.info
	.comm	_MAX_QPATH,4,2                  ## @MAX_QPATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_Q3Model"

L_.str.1:                               ## @.str.1
	.asciz	"model"

L_.str.2:                               ## @.str.2
	.asciz	"headmodel"

	.comm	_q3Model,8,3                    ## @q3Model
	.comm	_qtrue,8,3                      ## @qtrue
	.comm	_updateModel,8,3                ## @updateModel
L_.str.3:                               ## @.str.3
	.asciz	"ui_teamName"

L_.str.4:                               ## @.str.4
	.asciz	"team_model"

L_.str.5:                               ## @.str.5
	.asciz	"team_headmodel"

	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_YAW,8,3                        ## @YAW
	.comm	_PITCH,8,3                      ## @PITCH
	.comm	_ROLL,8,3                       ## @ROLL
	.comm	_LEGS_IDLE,4,2                  ## @LEGS_IDLE
	.comm	_TORSO_STAND,4,2                ## @TORSO_STAND
	.comm	_vec3_origin,4,2                ## @vec3_origin
	.comm	_WP_MACHINEGUN,4,2              ## @WP_MACHINEGUN
	.comm	_uiInfo,4,2                     ## @uiInfo
	.no_dead_strip	_UI_DrawPlayerModel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_DrawPlayerModel
_UI_DrawPlayerModel:                    ; @UI_DrawPlayerModel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #528
	mov	x19, sp
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAX_QPATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_QPATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	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, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cbz	x0, LBB0_7
; %bb.1:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_UI_Cvar_VariableString
	mov	x1, x0
	mov	x0, x21
	bl	_strcpy
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_UI_Cvar_VariableString
	mov	x1, x0
	add	x0, x19, #8
	bl	_strcpy
Lloh14:
	adrp	x8, _q3Model@GOTPAGE
Lloh15:
	ldr	x8, [x8, _q3Model@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_3
; %bb.2:
Lloh16:
	adrp	x9, _qtrue@GOTPAGE
Lloh17:
	ldr	x9, [x9, _qtrue@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	str	x9, [x8]
Lloh19:
	adrp	x8, _updateModel@GOTPAGE
Lloh20:
	ldr	x8, [x8, _updateModel@GOTPAGEOFF]
Lloh21:
	str	x9, [x8]
LBB0_3:
	strb	wzr, [x19, #264]
LBB0_4:
Lloh22:
	adrp	x8, _updateModel@GOTPAGE
Lloh23:
	ldr	x8, [x8, _updateModel@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cbnz	x8, LBB0_9
LBB0_5:
	ldp	w1, w0, [x20, #8]
	ldp	w3, w2, [x20]
Lloh25:
	adrp	x8, _uiInfo@GOTPAGE
Lloh26:
	ldr	x8, [x8, _uiInfo@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w5, w8, #1
Lloh28:
	adrp	x4, _UI_DrawPlayerModel.info@PAGE
Lloh29:
	add	x4, x4, _UI_DrawPlayerModel.info@PAGEOFF
	bl	_UI_DrawPlayer
	ldur	x8, [x29, #-40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.6:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh33:
	adrp	x0, l_.str.3@PAGE
Lloh34:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_UI_Cvar_VariableString
	mov	x1, x0
	add	x0, x19, #264
	bl	_strcpy
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_UI_Cvar_VariableString
	mov	x1, x0
	mov	x0, x21
	bl	_strcpy
Lloh37:
	adrp	x0, l_.str.5@PAGE
Lloh38:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_UI_Cvar_VariableString
	mov	x1, x0
	add	x0, x19, #8
	bl	_strcpy
Lloh39:
	adrp	x8, _q3Model@GOTPAGE
Lloh40:
	ldr	x8, [x8, _q3Model@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.8:
Lloh41:
	adrp	x9, _qfalse@GOTPAGE
Lloh42:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	str	x9, [x8]
Lloh44:
	adrp	x8, _qtrue@GOTPAGE
Lloh45:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
Lloh47:
	adrp	x9, _updateModel@GOTPAGE
Lloh48:
	ldr	x9, [x9, _updateModel@GOTPAGEOFF]
Lloh49:
	str	x8, [x9]
	cbz	x8, LBB0_5
LBB0_9:
	bl	_UI_DrawPlayerModel.cold.1
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function UI_DrawPlayerModel.cold.1
_UI_DrawPlayerModel.cold.1:             ; @UI_DrawPlayerModel.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh50:
	adrp	x0, _UI_DrawPlayerModel.info@PAGE
Lloh51:
	add	x0, x0, _UI_DrawPlayerModel.info@PAGEOFF
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	brk	#0x1
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_UI_DrawPlayerModel.info,4,2 ; @UI_DrawPlayerModel.info
	.comm	_MAX_QPATH,4,2                  ; @MAX_QPATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_Q3Model"

l_.str.1:                               ; @.str.1
	.asciz	"model"

l_.str.2:                               ; @.str.2
	.asciz	"headmodel"

	.comm	_q3Model,8,3                    ; @q3Model
	.comm	_qtrue,8,3                      ; @qtrue
	.comm	_updateModel,8,3                ; @updateModel
l_.str.3:                               ; @.str.3
	.asciz	"ui_teamName"

l_.str.4:                               ; @.str.4
	.asciz	"team_model"

l_.str.5:                               ; @.str.5
	.asciz	"team_headmodel"

	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_YAW,8,3                        ; @YAW
	.comm	_PITCH,8,3                      ; @PITCH
	.comm	_ROLL,8,3                       ; @ROLL
	.comm	_LEGS_IDLE,4,2                  ; @LEGS_IDLE
	.comm	_TORSO_STAND,4,2                ; @TORSO_STAND
	.comm	_vec3_origin,4,2                ; @vec3_origin
	.comm	_WP_MACHINEGUN,4,2              ; @WP_MACHINEGUN
	.comm	_uiInfo,4,2                     ; @uiInfo
	.no_dead_strip	_UI_DrawPlayerModel
.subsections_via_symbols
