	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function xmb_layout_ps3
LCPI0_0:
	.long	0x44f00000                      ## float 1920
LCPI0_10:
	.long	0x43900000                      ## float 288
LCPI0_12:
	.long	0x42700000                      ## float 60
LCPI0_16:
	.long	0x42400000                      ## float 48
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x3ff8000000000000              ## double 1.5
	.quad	0xbff0000000000000              ## double -1
LCPI0_2:
	.quad	0x4008000000000000              ## double 3
	.quad	0x4014000000000000              ## double 5
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_4:
	.quad	0x3ff0000000000000              ## double 1
	.quad	0x3feb333333333333              ## double 0.84999999999999998
LCPI0_7:
	.quad	0x4038000000000000              ## double 24
	.quad	0x4090000000000000              ## double 1024
LCPI0_8:
	.quad	0x407cc00000000000              ## double 460
	.quad	0x4050000000000000              ## double 64
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_5:
	.quad	0x4040000000000000              ## double 32
LCPI0_6:
	.quad	0x4060000000000000              ## double 128
LCPI0_9:
	.quad	0x4069000000000000              ## double 200
LCPI0_11:
	.quad	0x4075000000000000              ## double 336
LCPI0_13:
	.quad	0x4055400000000000              ## double 85
LCPI0_14:
	.quad	0x4008000000000000              ## double 3
LCPI0_15:
	.quad	0x4082c00000000000              ## double 600
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xmb_layout_ps3:                        ## @xmb_layout_ps3
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_config_get_ptr
	cvtsi2ss	%r14d, %xmm0
	mulss	(%rax), %xmm0
	divss	LCPI0_0(%rip), %xmm0
	movaps	LCPI0_1(%rip), %xmm1            ## xmm1 = [1.5E+0,-1.0E+0]
	movups	%xmm1, (%rbx)
	movaps	LCPI0_2(%rip), %xmm1            ## xmm1 = [3.0E+0,5.0E+0]
	movups	%xmm1, 16(%rbx)
	movaps	LCPI0_3(%rip), %xmm1            ## xmm1 = [1.0E+0,5.0E-1]
	movups	%xmm1, 32(%rbx)
	movups	%xmm1, 48(%rbx)
	movaps	LCPI0_4(%rip), %xmm1            ## xmm1 = [1.0E+0,8.4999999999999998E-1]
	movups	%xmm1, 64(%rbx)
	movups	%xmm1, 80(%rbx)
	movabsq	$4611686018427387904, %rax      ## imm = 0x4000000000000000
	movq	%rax, 96(%rbx)
	cvtss2sd	%xmm0, %xmm2
	movsd	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm2, %xmm1
	cvttsd2si	%xmm1, %rax
	movsd	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm2, %xmm1
	cvttsd2si	%xmm1, %rdi
	movddup	%xmm2, %xmm3                    ## xmm3 = xmm2[0,0]
	movapd	LCPI0_7(%rip), %xmm4            ## xmm4 = [2.4E+1,1.024E+3]
	mulpd	%xmm3, %xmm4
	movupd	%xmm4, 104(%rbx)
	movhpd	%xmm4, 120(%rbx)
	mulpd	LCPI0_8(%rip), %xmm3
	movupd	%xmm3, 128(%rbx)
	movsd	LCPI0_9(%rip), %xmm4            ## xmm4 = mem[0],zero
	mulsd	%xmm2, %xmm4
	movsd	%xmm4, 144(%rbx)
	movhpd	%xmm3, 152(%rbx)
	movss	LCPI0_10(%rip), %xmm3           ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm3
	cvttss2si	%xmm3, %ecx
	movl	%ecx, 160(%rbx)
	movsd	LCPI0_11(%rip), %xmm3           ## xmm3 = mem[0],zero
	mulsd	%xmm2, %xmm3
	movsd	%xmm3, 168(%rbx)
	movss	LCPI0_12(%rip), %xmm3           ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm3
	cvttss2si	%xmm3, %ecx
	movl	%ecx, 176(%rbx)
	movl	%eax, %ecx
	movl	$2863311531, %edx               ## imm = 0xAAAAAAAB
	imulq	%rcx, %rdx
	shrq	$33, %rdx
	xorps	%xmm4, %xmm4
	cvtsi2ss	%edx, %xmm4
	movaps	%xmm3, %xmm5
	addss	%xmm4, %xmm5
	cvttss2si	%xmm5, %edx
	movl	%edx, 180(%rbx)
	subss	%xmm4, %xmm3
	cvttss2si	%xmm3, %edx
	movl	%edx, 184(%rbx)
	movsd	LCPI0_13(%rip), %xmm3           ## xmm3 = mem[0],zero
	mulsd	%xmm2, %xmm3
	movsd	%xmm3, 192(%rbx)
	xorps	%xmm3, %xmm3
	cvtsi2sd	%rcx, %xmm3
	divsd	LCPI0_14(%rip), %xmm3
	cvttsd2si	%xmm3, %rcx
	movl	%ecx, 200(%rbx)
	mulsd	LCPI0_15(%rip), %xmm2
	movq	_scale_mod@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	mulsd	48(%rcx), %xmm2
	movsd	%xmm2, 208(%rbx)
	mulss	LCPI0_16(%rip), %xmm0
	cvttss2si	%xmm0, %ecx
	movl	%ecx, 216(%rbx)
	movl	$16, 220(%rbx)
	movsd	%xmm1, 224(%rbx)
	movl	%eax, 232(%rbx)
                                        ## kill: def $edi killed $edi killed $rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_menu_display_set_header_height ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_scale_mod,8,3                  ## @scale_mod
	.no_dead_strip	_xmb_layout_ps3
.subsections_via_symbols

	.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_layout_ps3
lCPI0_0:
	.quad	0x3ff8000000000000              ; double 1.5
	.quad	0xbff0000000000000              ; double -1
lCPI0_1:
	.quad	0x4008000000000000              ; double 3
	.quad	0x4014000000000000              ; double 5
lCPI0_2:
	.quad	0x3ff0000000000000              ; double 1
	.quad	0x3fe0000000000000              ; double 0.5
lCPI0_3:
	.quad	0x3ff0000000000000              ; double 1
	.quad	0x3feb333333333333              ; double 0.84999999999999998
lCPI0_4:
	.quad	0x4090000000000000              ; double 1024
	.quad	0x407cc00000000000              ; double 460
lCPI0_5:
	.quad	0x4050000000000000              ; double 64
	.quad	0x4069000000000000              ; double 200
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xmb_layout_ps3:                        ; @xmb_layout_ps3
	.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	x20, x1
	mov	x19, x0
	bl	_config_get_ptr
	scvtf	s0, w20
	ldr	s1, [x0]
	fmul	s0, s1, s0
	mov	w8, #1156579328
	fmov	s1, w8
	fdiv	s0, s0, s1
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
Lloh2:
	adrp	x8, lCPI0_1@PAGE
Lloh3:
	ldr	q2, [x8, lCPI0_1@PAGEOFF]
	stp	q1, q2, [x19]
Lloh4:
	adrp	x8, lCPI0_2@PAGE
Lloh5:
	ldr	q1, [x8, lCPI0_2@PAGEOFF]
	stp	q1, q1, [x19, #32]
Lloh6:
	adrp	x8, lCPI0_3@PAGE
Lloh7:
	ldr	q1, [x8, lCPI0_3@PAGEOFF]
	stp	q1, q1, [x19, #64]
	mov	x8, #4611686018427387904
	str	x8, [x19, #96]
	fcvt	d1, s0
	fcvtzu	w8, d1, #5
	fmov	d2, #24.00000000
	fmul	d2, d1, d2
	mov	x9, #4638707616191610880
	fmov	d3, x9
	fcvtzu	w0, d1, #7
	fmul	d3, d1, d3
Lloh8:
	adrp	x9, lCPI0_4@PAGE
Lloh9:
	ldr	q4, [x9, lCPI0_4@PAGEOFF]
	fmul.2d	v4, v4, v1[0]
	stp	d2, d4, [x19, #104]
	stur	q4, [x19, #120]
Lloh10:
	adrp	x9, lCPI0_5@PAGE
Lloh11:
	ldr	q2, [x9, lCPI0_5@PAGEOFF]
	fmul.2d	v2, v2, v1[0]
	stur	q2, [x19, #136]
	str	d2, [x19, #152]
	mov	w9, #1133510656
	fmov	s2, w9
	fmul	s2, s0, s2
	fcvtzs	w9, s2
	str	w9, [x19, #160]
	mov	x9, #4644618590702534656
	fmov	d2, x9
	fmul	d2, d1, d2
	str	d2, [x19, #168]
	mov	w9, #1114636288
	fmov	s2, w9
	fmul	s4, s0, s2
	fcvtzs	w9, s4
	mov	w10, #43691
	movk	w10, #43690, lsl #16
	umull	x10, w8, w10
	lsr	x10, x10, #33
	ucvtf	s4, w10
	fmadd	s5, s0, s2, s4
	fcvtzs	w10, s5
	stp	w9, w10, [x19, #176]
	fnmsub	s2, s0, s2, s4
	fcvtzs	w9, s2
	str	w9, [x19, #184]
	mov	x9, #70368744177664
	movk	x9, #16469, lsl #48
	fmov	d2, x9
	fmul	d2, d1, d2
	str	d2, [x19, #192]
	ucvtf	d2, w8
	fmov	d4, #3.00000000
	fdiv	d2, d2, d4
	fcvtzu	w9, d2
	str	w9, [x19, #200]
	mov	x9, #211106232532992
	movk	x9, #16514, lsl #48
	fmov	d2, x9
	fmul	d1, d1, d2
Lloh12:
	adrp	x9, _scale_mod@GOTPAGE
Lloh13:
	ldr	x9, [x9, _scale_mod@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	d2, [x9, #48]
	fmul	d1, d1, d2
	str	d1, [x19, #208]
	mov	w9, #1111490560
	fmov	s1, w9
	fmul	s0, s0, s1
	fcvtzs	w9, s0
	mov	w10, #16
	stp	w9, w10, [x19, #216]
	str	d3, [x19, #224]
	str	w8, [x19, #232]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_menu_display_set_header_height
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_scale_mod,8,3                  ; @scale_mod
	.no_dead_strip	_xmb_layout_ps3
.subsections_via_symbols
