	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function polygon_area
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_polygon_area:                          ## @polygon_area
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r9
	negq	%rsi
	xorps	%xmm0, %xmm0
	movl	$1, %ecx
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdx,%rcx,8), %rdi
	movq	%rsi, %rax
	addq	%rcx, %rax
	movq	%rcx, %rax
	cmoveq	%r8, %rax
	movq	(%rdx,%rax,8), %rax
	movq	(%r9,%rdi,8), %rdi
	movss	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movq	(%r9,%rax,8), %rax
	subss	(%rax), %xmm1
	movss	4(%rdi), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	addss	4(%rax), %xmm2
	mulss	%xmm1, %xmm2
	addss	%xmm2, %xmm0
	leaq	(%rsi,%rcx), %rax
	incq	%rax
	incq	%rcx
	cmpq	$1, %rax
	jne	LBB0_3
## %bb.4:
	mulss	LCPI0_0(%rip), %xmm0
	popq	%rbp
	retq
LBB0_1:
	xorps	%xmm0, %xmm0
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_polygon_area
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function polygon_area
_polygon_area:                          ; @polygon_area
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	mov	x10, #0
	ldr	x8, [x0]
	sub	x9, x1, #1
	movi	d0, #0000000000000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x2, x10, lsl #3]
	cmp	x9, x10
	csinc	x12, xzr, x10, eq
	add	x13, x10, #1
	ldr	x10, [x2, x12, lsl #3]
	ldr	x11, [x8, x11, lsl #3]
	ldp	s1, s2, [x11]
	ldr	x10, [x8, x10, lsl #3]
	ldp	s3, s4, [x10]
	fsub	s1, s1, s3
	fadd	s2, s2, s4
	fmul	s1, s1, s2
	fadd	s0, s0, s1
	mov	x10, x13
	cmp	x1, x13
	b.ne	LBB0_2
; %bb.3:
	fmov	s1, #0.50000000
	fmul	s0, s0, s1
	ret
LBB0_4:
	movi	d0, #0000000000000000
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_polygon_area
.subsections_via_symbols
