	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function hem_list_calc_ba_range
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_hem_list_calc_ba_range:                ## @hem_list_calc_ba_range
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	movl	%edi, %r8d
	subl	%esi, %r8d
	jle	LBB0_14
## %bb.1:
	testl	%r8d, %r8d
	jle	LBB0_2
## %bb.3:
	cmpl	$8, %r8d
	jae	LBB0_5
## %bb.4:
	movl	$1, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_2:
	movl	$1, %eax
	retq
LBB0_5:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%r8d, %ecx
	andl	$-8, %ecx
	movd	%edx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leal	-8(%rcx), %r10d
	movl	%r10d, %eax
	shrl	$3, %eax
	incl	%eax
	movl	%eax, %r9d
	andl	$7, %r9d
	cmpl	$56, %r10d
	jae	LBB0_7
## %bb.6:
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,1,1,1]
	movdqa	%xmm1, %xmm2
	jmp	LBB0_9
LBB0_7:
	andl	$-8, %eax
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,1,1,1]
	movdqa	%xmm1, %xmm2
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	addl	$-8, %eax
	jne	LBB0_8
LBB0_9:
	testl	%r9d, %r9d
	popq	%rbp
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	pmulld	%xmm0, %xmm1
	pmulld	%xmm0, %xmm2
	decl	%r9d
	jne	LBB0_10
LBB0_11:
	pmulld	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	pmulld	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	pmulld	%xmm0, %xmm1
	movd	%xmm1, %eax
	cmpl	%ecx, %r8d
	je	LBB0_14
LBB0_12:
	addl	%esi, %ecx
	subl	%edi, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	imull	%edx, %eax
	incl	%ecx
	jne	LBB0_13
LBB0_14:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hem_list_calc_ba_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hem_list_calc_ba_range
_hem_list_calc_ba_range:                ; @hem_list_calc_ba_range
	.cfi_startproc
; %bb.0:
	subs	w10, w0, w1
	b.le	LBB0_4
; %bb.1:
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.2:
	cmp	w10, #16
	b.hs	LBB0_6
; %bb.3:
	mov	w9, #0
	mov	w8, #1
	b	LBB0_9
LBB0_4:
	mov	w0, #0
	ret
LBB0_5:
	mov	w0, #1
	ret
LBB0_6:
	dup.4s	v1, w2
	and	w9, w10, #0xfffffff0
	movi.4s	v0, #1
	mov	x8, x9
	movi.4s	v2, #1
	movi.4s	v3, #1
	movi.4s	v4, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mul.4s	v0, v0, v1
	mul.4s	v2, v2, v1
	mul.4s	v3, v3, v1
	mul.4s	v4, v4, v1
	subs	w8, w8, #16
	b.ne	LBB0_7
; %bb.8:
	mul.4s	v0, v2, v0
	mul.4s	v0, v3, v0
	mul.4s	v0, v4, v0
	ext.16b	v1, v0, v0, #8
	mul.2s	v0, v0, v1
	fmov	w8, s0
	mov.s	w11, v0[1]
	mul	w8, w8, w11
	cmp	w10, w9
	b.eq	LBB0_11
LBB0_9:
	add	w9, w9, w1
	sub	w9, w9, w0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mul	w8, w8, w2
	adds	w9, w9, #1
	b.lo	LBB0_10
LBB0_11:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hem_list_calc_ba_range
.subsections_via_symbols
