// File: /workspace/github_c_makefile_star2_O0/PoulinV[P]AxiCLASS/build/../tools/quadrature.c
// Function: quadrature_in_rectangle
int quadrature_in_rectangle(
			    double xl,
			    double xr,
			    double yl,
			    double yr,
			    int *n,
			    double ** x,
			    double ** y,
			    double ** w,
			    ErrorMsg error_message) {


  double xl_tile,xr_tile,yl_tile,yr_tile;
  int N;

  N=24;
  xl_tile = xl;
  xr_tile = xr;
  yl_tile = yl;
  yr_tile = yr;

  *n = N;


  class_alloc(*x,sizeof(double)*N,error_message);
  class_alloc(*y,sizeof(double)*N,error_message);
  class_alloc(*w,sizeof(double)*N,error_message);
  class_call(cubature_order_eleven(xl_tile,
				   xr_tile,
				   yl_tile,
				   yr_tile,
				   *x+0,
				   *y+0,
				   *w+0,
				   error_message),
	     error_message,
	     error_message);


  return _SUCCESS_;
}

// Assembly:
subq $0x2098, %rsp           # imm = 0x2098
movsd %xmm0, 0x2088(%rsp)
movsd %xmm1, 0x2080(%rsp)
movsd %xmm2, 0x2078(%rsp)
movsd %xmm3, 0x2070(%rsp)
movq %rdi, 0x2068(%rsp)
movq %rsi, 0x2060(%rsp)
movq %rdx, 0x2058(%rsp)
movq %rcx, 0x2050(%rsp)
movq %r8, 0x2048(%rsp)
movl $0x18, 0x2024(%rsp)
movsd 0x2088(%rsp), %xmm0
movsd %xmm0, 0x2040(%rsp)
movsd 0x2080(%rsp), %xmm0
movsd %xmm0, 0x2038(%rsp)
movsd 0x2078(%rsp), %xmm0
movsd %xmm0, 0x2030(%rsp)
movsd 0x2070(%rsp), %xmm0
movsd %xmm0, 0x2028(%rsp)
movl 0x2024(%rsp), %ecx
movq 0x2068(%rsp), %rax
movl %ecx, (%rax)
movslq 0x2024(%rsp), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x2060(%rsp), %rax
movq %rcx, (%rax)
movq 0x2060(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x3e115
movslq 0x2024(%rsp), %rax
shlq $0x3, %rax
movl %eax, 0x2020(%rsp)
leaq 0x1820(%rsp), %rdi
movl 0x2020(%rsp), %ecx
leaq 0x193f37(%rip), %rsi    # 0x1d2004
leaq 0x194505(%rip), %rdx    # 0x1d25d9
movb $0x0, %al
callq 0x5b9c0
movq 0x2048(%rsp), %rdi
leaq 0x1820(%rsp), %r8
leaq 0x193f42(%rip), %rsi    # 0x1d2034
leaq 0x197314(%rip), %rdx    # 0x1d540d
movl $0x327, %ecx            # imm = 0x327
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2094(%rsp)
jmp 0x3e305
movslq 0x2024(%rsp), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x2058(%rsp), %rax
movq %rcx, (%rax)
movq 0x2058(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x3e1b3
movslq 0x2024(%rsp), %rax
shlq $0x3, %rax
movl %eax, 0x181c(%rsp)
leaq 0x1010(%rsp), %rdi
movl 0x181c(%rsp), %ecx
leaq 0x193e99(%rip), %rsi    # 0x1d2004
leaq 0x1972b3(%rip), %rdx    # 0x1d5425
movb $0x0, %al
callq 0x5b9c0
movq 0x2048(%rsp), %rdi
leaq 0x1010(%rsp), %r8
leaq 0x193ea4(%rip), %rsi    # 0x1d2034
leaq 0x197276(%rip), %rdx    # 0x1d540d
movl $0x328, %ecx            # imm = 0x328
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2094(%rsp)
jmp 0x3e305
movslq 0x2024(%rsp), %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x2050(%rsp), %rax
movq %rcx, (%rax)
movq 0x2050(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x3e251
movslq 0x2024(%rsp), %rax
shlq $0x3, %rax
movl %eax, 0x100c(%rsp)
leaq 0x800(%rsp), %rdi
movl 0x100c(%rsp), %ecx
leaq 0x193dfb(%rip), %rsi    # 0x1d2004
leaq 0x197218(%rip), %rdx    # 0x1d5428
movb $0x0, %al
callq 0x5b9c0
movq 0x2048(%rsp), %rdi
leaq 0x800(%rsp), %r8
leaq 0x193e06(%rip), %rsi    # 0x1d2034
leaq 0x1971d8(%rip), %rdx    # 0x1d540d
movl $0x329, %ecx            # imm = 0x329
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2094(%rsp)
jmp 0x3e305
movsd 0x2040(%rsp), %xmm0
movsd 0x2038(%rsp), %xmm1
movsd 0x2030(%rsp), %xmm2
movsd 0x2028(%rsp), %xmm3
movq 0x2060(%rsp), %rax
movq (%rax), %rdi
movq 0x2058(%rsp), %rax
movq (%rax), %rsi
movq 0x2050(%rsp), %rax
movq (%rax), %rdx
movq 0x2048(%rsp), %rcx
callq 0x3e320
cmpl $0x1, %eax
jne 0x3e2fa
movq %rsp, %rdi
movq 0x2048(%rsp), %rcx
leaq 0x19411e(%rip), %rsi    # 0x1d23d8
leaq 0x19716a(%rip), %rdx    # 0x1d542b
movb $0x0, %al
callq 0x5b9c0
movq 0x2048(%rsp), %rdi
movq %rsp, %r8
leaq 0x193d5a(%rip), %rsi    # 0x1d2034
leaq 0x19712c(%rip), %rdx    # 0x1d540d
movl $0x333, %ecx            # imm = 0x333
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2094(%rsp)
jmp 0x3e305
movl $0x0, 0x2094(%rsp)
movl 0x2094(%rsp), %eax
addq $0x2098, %rsp           # imm = 0x2098
retq
nopw %cs:(%rax,%rax)