	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function is_last_field
LCPI0_0:
	.quad	2147483648                      ## 0x80000000
	.quad	2147483648                      ## 0x80000000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_is_last_field:                         ## @is_last_field
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	cmpl	%edx, %esi
	jge	LBB0_12
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %rax
	movslq	%edx, %r11
	movq	%r11, %r10
	subq	%rax, %r10
	xorl	%ecx, %ecx
	cmpq	$4, %r10
	jb	LBB0_10
## %bb.2:
	movq	%r10, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rcx
	movq	%rcx, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	movq	%r9, %rdx
	andq	$-2, %rdx
	leaq	(%rdi,%rax,8), %rcx
	addq	$48, %rcx
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [2147483648,2147483648]
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-48(%rcx,%rsi,8), %xmm5
	movdqu	-32(%rcx,%rsi,8), %xmm6
	movdqu	-16(%rcx,%rsi,8), %xmm4
	movdqu	(%rcx,%rsi,8), %xmm3
	pxor	%xmm8, %xmm5
	movdqa	%xmm5, %xmm7
	pcmpgtd	%xmm8, %xmm7
	pshufd	$232, %xmm7, %xmm2              ## xmm2 = xmm7[0,2,2,3]
	pcmpeqd	%xmm8, %xmm5
	pshufd	$253, %xmm5, %xmm5              ## xmm5 = xmm5[1,3,3,3]
	pand	%xmm2, %xmm5
	pshufd	$253, %xmm7, %xmm2              ## xmm2 = xmm7[1,3,3,3]
	por	%xmm5, %xmm2
	psubd	%xmm2, %xmm0
	pxor	%xmm8, %xmm6
	movdqa	%xmm6, %xmm2
	pcmpgtd	%xmm8, %xmm2
	pshufd	$232, %xmm2, %xmm5              ## xmm5 = xmm2[0,2,2,3]
	pcmpeqd	%xmm8, %xmm6
	pshufd	$253, %xmm6, %xmm6              ## xmm6 = xmm6[1,3,3,3]
	pand	%xmm5, %xmm6
	pshufd	$253, %xmm2, %xmm2              ## xmm2 = xmm2[1,3,3,3]
	por	%xmm6, %xmm2
	psubd	%xmm2, %xmm1
	pxor	%xmm8, %xmm4
	movdqa	%xmm4, %xmm2
	pcmpgtd	%xmm8, %xmm2
	pshufd	$232, %xmm2, %xmm5              ## xmm5 = xmm2[0,2,2,3]
	pcmpeqd	%xmm8, %xmm4
	pshufd	$253, %xmm4, %xmm4              ## xmm4 = xmm4[1,3,3,3]
	pand	%xmm5, %xmm4
	pshufd	$253, %xmm2, %xmm2              ## xmm2 = xmm2[1,3,3,3]
	por	%xmm4, %xmm2
	psubd	%xmm2, %xmm0
	pxor	%xmm8, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm8, %xmm2
	pshufd	$232, %xmm2, %xmm4              ## xmm4 = xmm2[0,2,2,3]
	pcmpeqd	%xmm8, %xmm3
	pshufd	$253, %xmm3, %xmm3              ## xmm3 = xmm3[1,3,3,3]
	pand	%xmm4, %xmm3
	pshufd	$253, %xmm2, %xmm2              ## xmm2 = xmm2[1,3,3,3]
	por	%xmm3, %xmm2
	psubd	%xmm2, %xmm1
	addq	$8, %rsi
	addq	$-2, %rdx
	jne	LBB0_5
## %bb.6:
	testb	$1, %r9b
	je	LBB0_8
LBB0_7:
	addq	%rax, %rsi
	movdqu	(%rdi,%rsi,8), %xmm2
	movdqu	16(%rdi,%rsi,8), %xmm3
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = [2147483648,2147483648]
	pxor	%xmm4, %xmm2
	movdqa	%xmm2, %xmm5
	pcmpgtd	%xmm4, %xmm5
	pshufd	$232, %xmm5, %xmm6              ## xmm6 = xmm5[0,2,2,3]
	pcmpeqd	%xmm4, %xmm2
	pshufd	$253, %xmm2, %xmm2              ## xmm2 = xmm2[1,3,3,3]
	pand	%xmm6, %xmm2
	pshufd	$253, %xmm5, %xmm5              ## xmm5 = xmm5[1,3,3,3]
	por	%xmm2, %xmm5
	psubd	%xmm5, %xmm0
	pxor	%xmm4, %xmm3
	movdqa	%xmm3, %xmm2
	pcmpgtd	%xmm4, %xmm2
	pshufd	$232, %xmm2, %xmm5              ## xmm5 = xmm2[0,2,2,3]
	pcmpeqd	%xmm4, %xmm3
	pshufd	$253, %xmm3, %xmm3              ## xmm3 = xmm3[1,3,3,3]
	pand	%xmm5, %xmm3
	pshufd	$253, %xmm2, %xmm2              ## xmm2 = xmm2[1,3,3,3]
	por	%xmm3, %xmm2
	psubd	%xmm2, %xmm1
LBB0_8:
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %ecx
	cmpq	%r8, %r10
	je	LBB0_11
## %bb.9:
	addq	%r8, %rax
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	xorl	%edx, %edx
	cmpq	$0, (%rdi,%rax,8)
	setg	%dl
	addl	%edx, %ecx
	incq	%rax
	cmpq	%rax, %r11
	jne	LBB0_10
LBB0_11:
	xorl	%eax, %eax
	cmpl	$1, %ecx
	sete	%al
	popq	%rbp
LBB0_12:
	retq
LBB0_3:
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	pxor	%xmm1, %xmm1
	testb	$1, %r9b
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_is_last_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_last_field
_is_last_field:                         ; @is_last_field
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w1, w2
	b.ge	LBB0_3
; %bb.1:
	sxtw	x13, w1
	sxtw	x8, w2
	sub	x10, x8, x13
	cmp	x10, #8
	b.hs	LBB0_4
; %bb.2:
	mov	w12, #0
	mov	x9, x13
	b	LBB0_7
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	and	x11, x10, #0xfffffffffffffff8
	add	x9, x11, x13
	add	x12, x0, x13, lsl #3
	add	x12, x12, #32
	movi.2d	v0, #0000000000000000
	mov	x13, x11
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x12, #-32]
	ldp	q6, q7, [x12], #64
	cmgt.2d	v4, v4, #0
	xtn.2s	v4, v4
	cmgt.2d	v5, v5, #0
	xtn.2s	v5, v5
	cmgt.2d	v6, v6, #0
	xtn.2s	v6, v6
	cmgt.2d	v7, v7, #0
	xtn.2s	v7, v7
	sub.2s	v0, v0, v4
	sub.2s	v1, v1, v5
	sub.2s	v2, v2, v6
	sub.2s	v3, v3, v7
	subs	x13, x13, #8
	b.ne	LBB0_5
; %bb.6:
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w12, s0
	cmp	x10, x11
	b.eq	LBB0_9
LBB0_7:
	add	x10, x0, x9, lsl #3
	sub	x8, x8, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x10], #8
	cmp	x9, #0
	cinc	w12, w12, gt
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	cmp	w12, #1
	cset	w0, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_is_last_field
.subsections_via_symbols
