	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function agate_config_input
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x40af400000000000              ## double 4000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_agate_config_input:                    ## @agate_config_input
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movl	80(%rbx), %edi
	callq	_sqrt
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	cmpq	$0, 72(%rbx)
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm0
	je	LBB0_2
## %bb.1:
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_2:
	movl	(%r14), %eax
	imull	8(%rbx), %eax
	movsd	-24(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	mulsd	%xmm0, %xmm2
	movsd	%xmm2, -24(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_1(%rip), %xmm0
	divsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %esi
	movl	$1, %edi
	callq	_FFMIN
	movq	%rax, 64(%rbx)
	movl	(%r14), %eax
	imull	12(%rbx), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_1(%rip), %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %esi
	movl	$1, %edi
	callq	_FFMIN
	movq	%rax, 56(%rbx)
	movsd	-24(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm0
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	divsd	%xmm1, %xmm0
	mulsd	%xmm2, %xmm1
	movsd	%xmm1, 16(%rbx)
	movsd	%xmm0, 24(%rbx)
	movapd	%xmm2, %xmm0
	callq	_log
	movq	%rax, 48(%rbx)
	movsd	24(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	callq	_log
	movq	%rax, 40(%rbx)
	movsd	16(%rbx), %xmm0                 ## xmm0 = mem[0],zero
	callq	_log
	movq	%rax, 32(%rbx)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_agate_config_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function agate_config_input
_agate_config_input:                    ; @agate_config_input
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	ldr	d9, [x20]
	ldr	w0, [x20, #80]
	bl	_sqrt
	fmov	d8, d0
	ldr	x8, [x20, #72]
	cmp	x8, #0
	fmov	d10, #1.00000000
	fcsel	d0, d10, d9, eq
	fmul	d9, d9, d0
	ldr	w8, [x20, #8]
	ldr	w9, [x19]
	mul	w8, w9, w8
	scvtf	d0, w8
	mov	x8, #70368744177664
	movk	x8, #16559, lsl #48
	fmov	d11, x8
	fdiv	d0, d0, d11
	fdiv	d0, d10, d0
	fcvtzs	w1, d0
	mov	w0, #1
	bl	_FFMIN
	str	x0, [x20, #64]
	ldr	w8, [x20, #12]
	ldr	w9, [x19]
	mul	w8, w9, w8
	scvtf	d0, w8
	fdiv	d0, d0, d11
	fdiv	d0, d10, d0
	fcvtzs	w1, d0
	mov	w0, #1
	bl	_FFMIN
	str	x0, [x20, #56]
	fmul	d0, d8, d9
	fdiv	d1, d9, d8
	stp	d0, d1, [x20, #16]
	fmov	d0, d9
	bl	_log
	str	x0, [x20, #48]
	ldr	d0, [x20, #24]
	bl	_log
	str	x0, [x20, #40]
	ldr	d0, [x20, #16]
	bl	_log
	str	x0, [x20, #32]
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_agate_config_input
.subsections_via_symbols
