	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function xmb_draw_thumbnail
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3eb33333                      ## float 0.349999994
LCPI0_2:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xmb_draw_thumbnail:                    ## @xmb_draw_thumbnail
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r13
	movss	%xmm3, -56(%rbp)                ## 4-byte Spill
	movss	%xmm2, -52(%rbp)                ## 4-byte Spill
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movl	%r8d, %r15d
	movq	%rdx, %r14
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	leaq	-68(%rbp), %r12
	movq	%r12, -184(%rbp)
	movq	$0, -192(%rbp)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,1]
	movaps	%xmm0, -208(%rbp)
	leaq	-208(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_menu_display_rotate_z
	movl	$4, -168(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -152(%rbp)
	movq	$0, -136(%rbp)
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -128(%rbp)
	movss	-56(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -124(%rbp)
	leaq	-168(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	%r12, -88(%rbp)
	movq	%r13, -120(%rbp)
	movq	_MENU_DISPLAY_PRIM_TRIANGLESTRIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	$0, -104(%rbp)
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_coord_shadow@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movss	12(%r14), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_1(%rip), %xmm0
	callq	_menu_display_set_alpha
	movq	(%r12), %rax
	movq	%rax, -160(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movl	%r15d, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	subss	-44(%rbp), %xmm1                ## 4-byte Folded Reload
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	subss	%xmm0, %xmm1
	addss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, -112(%rbp)
	movss	%xmm1, -108(%rbp)
	leaq	-128(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_menu_display_draw
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_3
LBB0_1:
	movl	%r15d, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	subss	-44(%rbp), %xmm1                ## 4-byte Folded Reload
LBB0_3:
	movq	%r14, -160(%rbp)
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -112(%rbp)
	movss	%xmm1, -108(%rbp)
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	%r14, %rdi
	callq	_menu_display_set_alpha
	leaq	-128(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_menu_display_draw
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_DISPLAY_PRIM_TRIANGLESTRIP,4,2 ## @MENU_DISPLAY_PRIM_TRIANGLESTRIP
	.comm	_coord_shadow,8,3               ## @coord_shadow
	.no_dead_strip	_xmb_draw_thumbnail
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xmb_draw_thumbnail
_xmb_draw_thumbnail:                    ; @xmb_draw_thumbnail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	d11, d10, [sp, #144]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #160]              ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
	mov	x23, x5
	fmov	s10, s3
	fmov	s11, s2
	fmov	s9, s1
	fmov	s8, s0
	mov	x21, x4
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	add	x24, sp, #12
	stp	xzr, x24, [sp, #128]
	movi.4s	v0, #1
	str	q0, [sp, #112]
	add	x0, sp, #112
	mov	x1, x19
	bl	_menu_display_rotate_z
	mov	w8, #4
	str	w8, [sp, #16]
	stp	xzr, xzr, [sp, #40]
	str	xzr, [sp, #32]
	stp	s11, s10, [sp, #56]
	add	x8, sp, #16
Lloh0:
	adrp	x9, _MENU_DISPLAY_PRIM_TRIANGLESTRIP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MENU_DISPLAY_PRIM_TRIANGLESTRIP@GOTPAGEOFF]
	stp	x24, x8, [sp, #96]
Lloh2:
	ldr	w8, [x9]
	str	w8, [sp, #88]
	str	x23, [sp, #64]
	str	xzr, [sp, #80]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x23, _coord_shadow@GOTPAGE
Lloh4:
	ldr	x23, [x23, _coord_shadow@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	s0, [x20, #12]
	mov	w8, #13107
	movk	w8, #16051, lsl #16
	fmov	s1, w8
	fmul	s0, s0, s1
	bl	_menu_display_set_alpha
	ldr	x8, [x23]
	str	x8, [sp, #24]
	ldr	s0, [x22]
	fadd	s1, s0, s8
	ucvtf	s2, w21
	fsub	s9, s2, s9
	fsub	s0, s9, s0
	stp	s1, s0, [sp, #72]
	add	x0, sp, #56
	mov	x1, x19
	bl	_menu_display_draw
	b	LBB0_3
LBB0_2:
	ucvtf	s0, w21
	fsub	s9, s0, s9
LBB0_3:
	str	x20, [sp, #24]
	stp	s8, s9, [sp, #72]
	fmov	s0, #1.00000000
	mov	x0, x20
	bl	_menu_display_set_alpha
	add	x0, sp, #56
	mov	x1, x19
	bl	_menu_display_draw
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #160]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_DISPLAY_PRIM_TRIANGLESTRIP,4,2 ; @MENU_DISPLAY_PRIM_TRIANGLESTRIP
	.comm	_coord_shadow,8,3               ; @coord_shadow
	.no_dead_strip	_xmb_draw_thumbnail
.subsections_via_symbols
