	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isHorizDC_C
_isHorizDC_C:                           ## @isHorizDC_C
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	testl	%r11d, %r11d
	jle	LBB0_1
## %bb.2:
	movl	4(%rdx), %eax
	imull	(%rdx), %eax
	sarl	$8, %eax
	leal	(%rax,%rax), %r8d
	addl	$3, %r8d
	movl	%eax, %r10d
	incl	%r10d
	movslq	%esi, %r9
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movd	%r8d, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	addq	$56, %rdi
	shlq	$3, %r9
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-24(%rdi), %rbx
	movdqu	-56(%rdi), %xmm2
	movdqu	-40(%rdi), %xmm3
	movq	%rbx, %xmm4
	palignr	$8, %xmm3, %xmm4                ## xmm4 = xmm3[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
	movdqa	%xmm3, %xmm5
	palignr	$8, %xmm2, %xmm5                ## xmm5 = xmm2[8,9,10,11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7]
	psubq	%xmm5, %xmm2
	psubq	%xmm4, %xmm3
	shufps	$136, %xmm3, %xmm2              ## xmm2 = xmm2[0,2],xmm3[0,2]
	paddd	%xmm0, %xmm2
	movl	-16(%rdi), %ecx
	subl	%ecx, %ebx
	addl	%r10d, %ebx
	xorl	%r15d, %r15d
	cmpl	%r8d, %ebx
	setb	%r15b
	movl	-8(%rdi), %ebx
	subl	%ebx, %ecx
	addl	%r10d, %ecx
	subl	(%rdi), %ebx
	addl	%r10d, %ebx
	movdqa	%xmm2, %xmm3
	pmaxud	%xmm1, %xmm3
	pcmpeqd	%xmm2, %xmm3
	movmskps	%xmm3, %esi
	xorl	$15, %esi
	movl	%esi, %eax
	shrb	%al
	andb	$5, %al
	subb	%al, %sil
	movl	%esi, %eax
	andb	$51, %al
	shrb	$2, %sil
	andb	$51, %sil
	addb	%al, %sil
	movl	%esi, %eax
	shrb	$4, %al
	addb	%sil, %al
	andb	$15, %al
	cmpl	%r8d, %ecx
	movzbl	%al, %eax
	adcl	%r15d, %eax
	cmpl	%r8d, %ebx
	adcl	%eax, %r14d
	addq	%r9, %rdi
	decl	%r11d
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
LBB0_4:
	xorl	%eax, %eax
	cmpl	8(%rdx), %r14d
	setg	%al
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCK_SIZE,4,2                 ## @BLOCK_SIZE
	.no_dead_strip	_isHorizDC_C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isHorizDC_C
_isHorizDC_C:                           ; @isHorizDC_C
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLOCK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, #0
	ldp	w10, w11, [x2]
	mul	w10, w11, w10
	asr	w10, w10, #8
	add	w10, w10, #1
	mov	w11, #1
	bfi	w11, w10, #1, #31
	dup.4s	v0, w10
	dup.4s	v1, w11
	add	x12, x0, #56
	sbfiz	x13, x1, #3, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x14, [x12, #-24]
	ldur	q2, [x12, #-56]
	ldur	q3, [x12, #-40]
	dup.2d	v4, v3[1]
	mov.d	v4[1], x14
	ext.16b	v5, v2, v3, #8
	sub.2d	v2, v2, v5
	sub.2d	v3, v3, v4
	uzp1.4s	v2, v2, v3
	add.4s	v2, v0, v2
	cmhi.4s	v2, v1, v2
	xtn.4h	v2, v2
	umov.h	w15, v2[0]
	umov.h	w16, v2[1]
	and	w16, w16, #0x1
	bfi	w15, w16, #1, #1
	umov.h	w16, v2[2]
	and	w16, w16, #0x1
	umov.h	w17, v2[3]
	bfi	w15, w16, #2, #1
	bfi	w15, w17, #3, #29
	and	w15, w15, #0xf
	ldur	w16, [x12, #-16]
	ldur	w17, [x12, #-8]
	sub	w14, w14, w16
	add	w14, w10, w14
	sub	w16, w16, w17
	add	w16, w10, w16
	ldr	w0, [x12]
	fmov	d2, x15
	sub	w15, w17, w0
	add	w15, w10, w15
	cnt.8b	v2, v2
	uaddlv.8b	h2, v2
	fmov	w17, s2
	cmp	w14, w11
	cinc	w14, w17, lo
	cmp	w16, w11
	cinc	w14, w14, lo
	cmp	w15, w11
	cinc	w14, w14, lo
	add	w8, w14, w8
	add	x12, x12, x13
	subs	w9, w9, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	ldr	w9, [x2, #8]
	cmp	w8, w9
	cset	w0, gt
	add	sp, sp, #16
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCK_SIZE,4,2                 ; @BLOCK_SIZE
	.no_dead_strip	_isHorizDC_C
.subsections_via_symbols
