	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PlayerModel_DrawPlayer
_PlayerModel_DrawPlayer:                ## @PlayerModel_DrawPlayer
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_trap_MemoryRemaining
	movq	_LOW_MEMORY@GOTPCREL(%rip), %rcx
	movl	16(%rbx), %edi
	movq	8(%rbx), %rsi
	cmpq	(%rcx), %rax
	jle	LBB0_1
## %bb.2:
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	_uis@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r9d
	shrl	$31, %r9d
	addl	%eax, %r9d
	sarl	%r9d
	movq	_s_playermodel@GOTPCREL(%rip), %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_UI_DrawPlayer                  ## TAILCALL
LBB0_1:
	movl	(%rbx), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	addq	%rax, %rsi
	movq	_UI_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_color_blue@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_UI_DrawProportionalString      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LOW_MEMORY,8,3                 ## @LOW_MEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LOW MEMORY"

	.comm	_UI_LEFT,4,2                    ## @UI_LEFT
	.comm	_color_blue,4,2                 ## @color_blue
	.comm	_s_playermodel,4,2              ## @s_playermodel
	.comm	_uis,4,2                        ## @uis
	.no_dead_strip	_PlayerModel_DrawPlayer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PlayerModel_DrawPlayer
_PlayerModel_DrawPlayer:                ; @PlayerModel_DrawPlayer
	.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
	mov	x19, x0
	bl	_trap_MemoryRemaining
	mov	x8, x0
Lloh0:
	adrp	x9, _LOW_MEMORY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LOW_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x19, #16]
	ldr	x1, [x19, #8]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
	ldp	w3, w2, [x19]
Lloh3:
	adrp	x8, _uis@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uis@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w5, w8, #1
Lloh6:
	adrp	x4, _s_playermodel@GOTPAGE
Lloh7:
	ldr	x4, [x4, _s_playermodel@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_UI_DrawPlayer
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
Lloh8:
	adrp	x9, _UI_LEFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _UI_LEFT@GOTPAGEOFF]
	add	x1, x1, w8, sxtw
Lloh10:
	ldr	w3, [x9]
Lloh11:
	adrp	x8, _color_blue@GOTPAGE
Lloh12:
	ldr	x8, [x8, _color_blue@GOTPAGEOFF]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
Lloh15:
	ldr	w4, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_UI_DrawProportionalString
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LOW_MEMORY,8,3                 ; @LOW_MEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LOW MEMORY"

	.comm	_UI_LEFT,4,2                    ; @UI_LEFT
	.comm	_color_blue,4,2                 ; @color_blue
	.comm	_s_playermodel,4,2              ; @s_playermodel
	.comm	_uis,4,2                        ; @uis
	.no_dead_strip	_PlayerModel_DrawPlayer
.subsections_via_symbols
