	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_PlayerModelMenu             ## -- Begin function UI_PlayerModelMenu
	.p2align	4, 0x90
_UI_PlayerModelMenu:                    ## @UI_PlayerModelMenu
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	callq	_PlayerModel_MenuInit
	movq	_s_playermodel@GOTPCREL(%rip), %rbx
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	callq	_UI_PushMenu
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	_MAX_MODELSPERPAGE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	leaq	(%rcx,%rdx,4), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Menu_SetCursorToItem           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_s_playermodel,24,3             ## @s_playermodel
	.comm	_MAX_MODELSPERPAGE,8,3          ## @MAX_MODELSPERPAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_PlayerModelMenu             ; -- Begin function UI_PlayerModelMenu
	.p2align	2
_UI_PlayerModelMenu:                    ; @UI_PlayerModelMenu
	.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
	bl	_PlayerModel_MenuInit
Lloh0:
	adrp	x20, _s_playermodel@GOTPAGE
Lloh1:
	ldr	x20, [x20, _s_playermodel@GOTPAGEOFF]
	add	x19, x20, #16
	mov	x0, x19
	bl	_UI_PushMenu
	ldp	x9, x8, [x20]
Lloh2:
	adrp	x10, _MAX_MODELSPERPAGE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MAX_MODELSPERPAGE@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	udiv	x11, x9, x10
	msub	x9, x11, x10, x9
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Menu_SetCursorToItem
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_s_playermodel,24,3             ; @s_playermodel
	.comm	_MAX_MODELSPERPAGE,8,3          ; @MAX_MODELSPERPAGE
.subsections_via_symbols
