	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function generate_response
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_generate_response:                     ## @generate_response
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
	movss	LCPI0_0(%rip), %xmm9            ## xmm9 = mem[0],zero,zero,zero
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movss	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	movss	4(%rsi), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	decl	%edx
	addq	$8, %rsi
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
	movaps	%xmm9, %xmm4
	movaps	%xmm9, %xmm0
LBB0_3:
	movl	%ecx, %eax
	cvtsi2ss	%rax, %xmm3
	leal	(%rcx,%rcx), %r8d
	incl	%ecx
	xorps	%xmm5, %xmm5
	xorl	%r10d, %r10d
	movss	LCPI0_1(%rip), %xmm8            ## xmm8 = mem[0],zero,zero,zero
	movaps	%xmm9, %xmm7
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movaps	%xmm9, %xmm2
	subss	%xmm1, %xmm2
	mulss	%xmm0, %xmm1
	mulss	%xmm7, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, (%rdi,%r10,8)
	movl	$0, 4(%rdi,%r10,8)
	movl	%r8d, %eax
	subl	%r10d, %eax
	movss	%xmm2, (%rdi,%rax,8)
	movl	$0, 4(%rdi,%rax,8)
	incq	%r10
	cmpq	%rcx, %r10
	je	LBB0_16
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movl	%r10d, %eax
	xorps	%xmm6, %xmm6
	cvtsi2ss	%rax, %xmm6
	divss	%xmm3, %xmm6
	ucomiss	%xmm4, %xmm6
	jb	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%edx, %eax
	leaq	(%rsi,%rax,8), %r9
	testl	%edx, %edx
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	decl	%edx
	addq	$8, %rsi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	-8(%rsi), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	movss	-4(%rsi), %xmm2                 ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm6
	jb	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_11 Depth=2
	addq	$8, %rsi
	movaps	%xmm1, %xmm4
	movaps	%xmm2, %xmm0
	addl	$-1, %edx
	jb	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	movq	%r9, %rsi
	movaps	%xmm1, %xmm5
	movaps	%xmm2, %xmm7
	jmp	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edx, %edx
	movq	%r9, %rsi
	movaps	%xmm4, %xmm5
	movaps	%xmm0, %xmm7
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movaps	%xmm9, %xmm4
	movaps	%xmm9, %xmm0
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movaps	%xmm4, %xmm5
	movaps	%xmm0, %xmm7
	movaps	%xmm1, %xmm4
	movaps	%xmm2, %xmm0
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	ucomiss	%xmm5, %xmm4
	movaps	%xmm8, %xmm1
	jbe	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	subss	%xmm5, %xmm6
	movaps	%xmm4, %xmm1
	subss	%xmm5, %xmm1
	divss	%xmm1, %xmm6
	movaps	%xmm6, %xmm1
	jmp	LBB0_15
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_generate_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_response
_generate_response:                     ; @generate_response
	.cfi_startproc
; %bb.0:
	fmov	s0, #1.00000000
	cbz	w2, LBB0_2
; %bb.1:
	ldp	s1, s3, [x1], #8
	sub	w8, w2, #1
	b	LBB0_3
LBB0_2:
	mov	w8, #0
	fmov	s1, #1.00000000
	fmov	s3, #1.00000000
LBB0_3:
	mov	x9, #0
	ucvtf	s2, w3
	lsl	w10, w3, #1
	add	w11, w3, #1
	movi	d4, #0000000000000000
	fmov	s6, #1.00000000
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	fsub	s5, s0, s7
	fmul	s7, s3, s7
	fmadd	s5, s5, s6, s7
	add	x12, x0, x9, lsl #3
	str	s5, [x12]
	str	wzr, [x12, #4]
	sub	w12, w10, w9
	add	x12, x0, w12, uxtw #3
	str	s5, [x12]
	str	wzr, [x12, #4]
	add	x9, x9, #1
	cmp	x9, x11
	b.eq	LBB0_16
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ucvtf	s5, w9
	fdiv	s5, s5, s2
	fcmp	s5, s1
	b.lt	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x12, x1, w8, uxtw #3
	cbz	w8, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w8, #1
	add	x1, x1, #8
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	s16, s7, [x1, #-8]
	fcmp	s5, s16
	b.lt	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	sub	w8, w8, #1
	add	x1, x1, #8
	fmov	s1, s16
	fmov	s3, s7
	cmn	w8, #1
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	mov	x1, x12
	fmov	s4, s16
	fmov	s6, s7
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x12
	fmov	s4, s1
	fmov	s6, s3
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	fmov	s1, #1.00000000
	fmov	s3, #1.00000000
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	fmov	s4, s1
	fmov	s6, s3
	fmov	s1, s16
	fmov	s3, s7
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	fmov	s7, #0.50000000
	fcmp	s1, s4
	b.le	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	fsub	s5, s5, s4
	fsub	s7, s1, s4
	fdiv	s7, s5, s7
	b	LBB0_4
LBB0_16:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_generate_response
.subsections_via_symbols
