	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_natural_factor
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_natural_factor:                    ## @get_natural_factor
	.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
	subl	(%rdi), %esi
	imull	4(%rdi), %esi
	subl	8(%rdi), %edx
	imull	12(%rdi), %edx
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_hypot
	movapd	%xmm0, %xmm1
	divsd	16(%rbx), %xmm1
	xorpd	%xmm0, %xmm0
	ucomisd	LCPI0_0(%rip), %xmm1
	ja	LBB0_2
## %bb.1:
	mulsd	24(%rbx), %xmm1
	movapd	%xmm1, %xmm0
	callq	_cos
	mulsd	%xmm0, %xmm0
	mulsd	%xmm0, %xmm0
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_natural_factor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_natural_factor
_get_natural_factor:                    ; @get_natural_factor
	.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
	ldp	w8, w9, [x0]
	sub	w8, w1, w8
	mul	w0, w8, w9
	ldp	w8, w9, [x19, #8]
	sub	w8, w2, w8
	mul	w1, w8, w9
	bl	_hypot
	ldr	d1, [x19, #16]
	fdiv	d1, d0, d1
	movi	d0, #0000000000000000
	fmov	d2, #1.00000000
	fcmp	d1, d2
	b.gt	LBB0_2
; %bb.1:
	ldr	d0, [x19, #24]
	fmul	d0, d1, d0
	bl	_cos
	fmul	d0, d0, d0
	fmul	d0, d0, d0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_natural_factor
.subsections_via_symbols
