	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function PM_CmdScale
LCPI0_0:
	.quad	0x405fc00000000000              ## double 127
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_PM_CmdScale:                           ## @PM_CmdScale
	.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
	movl	(%rdi), %ecx
	movl	4(%rdi), %eax
	movl	%ecx, %edx
	negl	%edx
	cmovsl	%ecx, %edx
	movl	%eax, %esi
	negl	%esi
	cmovsl	%eax, %esi
	cmpl	%edx, %esi
	cmovbel	%edx, %esi
	movl	8(%rdi), %edi
	movl	%edi, %ebx
	negl	%ebx
	cmovsl	%edi, %ebx
	cmpl	%esi, %ebx
	cmovbel	%esi, %ebx
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	imull	%ecx, %ecx
	imull	%eax, %eax
	addl	%ecx, %eax
	imull	%edi, %edi
	addl	%eax, %edi
	callq	_sqrt
	movq	_pm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cvtsi2ssq	(%rax), %xmm1
	cvtsi2ss	%ebx, %xmm2
	mulss	%xmm1, %xmm2
	cvtss2sd	%xmm0, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	jmp	LBB0_3
LBB0_1:
	xorps	%xmm0, %xmm0
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pm,8,3                         ## @pm
	.no_dead_strip	_PM_CmdScale
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PM_CmdScale
_PM_CmdScale:                           ; @PM_CmdScale
	.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
	ldp	w8, w9, [x0]
	cmp	w8, #0
	cneg	w10, w8, mi
	cmp	w9, #0
	cneg	w11, w9, mi
	cmp	w11, w10
	csel	w11, w11, w10, hi
	ldr	w10, [x0, #8]
	cmp	w10, #0
	cneg	w12, w10, mi
	cmp	w12, w11
	csel	w19, w12, w11, hi
	cbz	w19, LBB0_2
; %bb.1:
	mul	w8, w8, w8
	madd	w8, w9, w9, w8
	madd	w0, w10, w10, w8
	bl	_sqrt
Lloh0:
	adrp	x8, _pm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pm@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	scvtf	s1, x8
	scvtf	s2, w19
	fmul	s1, s2, s1
	fcvt	d1, s1
	fcvt	d0, s0
	mov	x8, #211106232532992
	movk	x8, #16479, lsl #48
	fmov	d2, x8
	fmul	d0, d0, d2
	fdiv	d0, d1, d0
	fcvt	s0, d0
	b	LBB0_3
LBB0_2:
	movi	d0, #0000000000000000
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pm,8,3                         ; @pm
	.no_dead_strip	_PM_CmdScale
.subsections_via_symbols
