	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mda_get_range                  ## -- Begin function mda_get_range
	.p2align	4, 0x90
_mda_get_range:                         ## @mda_get_range
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	jle	LBB0_16
## %bb.1:
	movl	%edi, %r8d
	cmpl	$8, %edi
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
LBB0_12:
	movq	%rdi, %r9
	notq	%r9
	testb	$1, %r8b
	je	LBB0_14
## %bb.13:
	movl	(%rcx,%rdi,4), %eax
	subl	(%rdx,%rdi,4), %eax
	incl	%eax
	movl	%eax, (%rsi,%rdi,4)
	orq	$1, %rdi
LBB0_14:
	addq	%r8, %r9
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdi,4), %eax
	subl	(%rdx,%rdi,4), %eax
	incl	%eax
	movl	%eax, (%rsi,%rdi,4)
	movl	4(%rcx,%rdi,4), %eax
	subl	4(%rdx,%rdi,4), %eax
	incl	%eax
	movl	%eax, 4(%rsi,%rdi,4)
	addq	$2, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_15
	jmp	LBB0_16
LBB0_3:
	movq	%rsi, %rax
	subq	%rcx, %rax
	xorl	%edi, %edi
	cmpq	$32, %rax
	jb	LBB0_12
## %bb.4:
	movq	%rsi, %rax
	subq	%rdx, %rax
	cmpq	$32, %rax
	jb	LBB0_12
## %bb.5:
	movl	%r8d, %edi
	andl	$-8, %edi
	leaq	-8(%rdi), %rax
	movq	%rax, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r9, %r10
	andq	$-2, %r10
	xorl	%eax, %eax
	pcmpeqd	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rax,4), %xmm1
	movdqu	16(%rcx,%rax,4), %xmm2
	movdqu	(%rdx,%rax,4), %xmm3
	psubd	%xmm3, %xmm1
	movdqu	16(%rdx,%rax,4), %xmm3
	psubd	%xmm3, %xmm2
	psubd	%xmm0, %xmm1
	psubd	%xmm0, %xmm2
	movdqu	%xmm1, (%rsi,%rax,4)
	movdqu	%xmm2, 16(%rsi,%rax,4)
	movdqu	32(%rcx,%rax,4), %xmm1
	movdqu	48(%rcx,%rax,4), %xmm2
	movdqu	32(%rdx,%rax,4), %xmm3
	psubd	%xmm3, %xmm1
	movdqu	48(%rdx,%rax,4), %xmm3
	psubd	%xmm3, %xmm2
	psubd	%xmm0, %xmm1
	psubd	%xmm0, %xmm2
	movdqu	%xmm1, 32(%rsi,%rax,4)
	movdqu	%xmm2, 48(%rsi,%rax,4)
	addq	$16, %rax
	addq	$-2, %r10
	jne	LBB0_8
## %bb.9:
	testb	$1, %r9b
	je	LBB0_11
LBB0_10:
	movdqu	(%rcx,%rax,4), %xmm0
	movdqu	16(%rcx,%rax,4), %xmm1
	movdqu	(%rdx,%rax,4), %xmm2
	psubd	%xmm2, %xmm0
	movdqu	16(%rdx,%rax,4), %xmm2
	psubd	%xmm2, %xmm1
	pcmpeqd	%xmm2, %xmm2
	psubd	%xmm2, %xmm0
	psubd	%xmm2, %xmm1
	movdqu	%xmm0, (%rsi,%rax,4)
	movdqu	%xmm1, 16(%rsi,%rax,4)
LBB0_11:
	cmpq	%r8, %rdi
	jne	LBB0_12
LBB0_16:
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	testb	$1, %r9b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mda_get_range                  ; -- Begin function mda_get_range
	.p2align	2
_mda_get_range:                         ; @mda_get_range
	.cfi_startproc
; %bb.0:
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w8, w0
	cmp	w0, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_8
LBB0_3:
	mov	x9, #0
	sub	x10, x1, x3
	cmp	x10, #64
	b.lo	LBB0_8
; %bb.4:
	sub	x10, x1, x2
	cmp	x10, #64
	b.lo	LBB0_8
; %bb.5:
	and	x9, x8, #0xfffffff0
	add	x10, x1, #32
	add	x11, x3, #32
	add	x12, x2, #32
	movi.4s	v0, #1
	mov	x13, x9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11], #64
	ldp	q5, q6, [x12, #-32]
	ldp	q7, q16, [x12], #64
	sub.4s	v1, v1, v5
	add.4s	v1, v1, v0
	sub.4s	v2, v2, v6
	add.4s	v2, v2, v0
	sub.4s	v3, v3, v7
	add.4s	v3, v3, v0
	sub.4s	v4, v4, v16
	add.4s	v4, v4, v0
	stp	q1, q2, [x10, #-32]
	stp	q3, q4, [x10], #64
	subs	x13, x13, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_8:
	lsl	x12, x9, #2
	add	x10, x1, x12
	add	x11, x2, x12
	add	x12, x3, x12
	sub	x8, x8, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x12], #4
	ldr	w13, [x11], #4
	sub	w9, w9, w13
	add	w9, w9, #1
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
