	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_adapt_vect
_create_adapt_vect:                     ## @create_adapt_vect
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rdi, %r12
	movq	_BUFFERSIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movslq	%edx, %rax
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	subq	%rax, %rcx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rcx,4), %r14
	movq	_BLOCKSIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %esi
	callq	_FFMIN
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%r14,%r13,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r12,%r13,4)
	incq	%r13
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_FFMIN
	cltq
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movl	(%r15), %ecx
	subl	%ebx, %ecx
	jle	LBB0_23
## %bb.4:
	testl	%ecx, %ecx
	jle	LBB0_23
## %bb.5:
	movl	%ecx, %eax
	cmpl	$8, %ecx
	jb	LBB0_6
## %bb.7:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(,%rdx,4), %rcx
	leaq	(%r12,%rdx,4), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	leaq	(%rsi,%r9,4), %rsi
	subq	%rsi, %rcx
	addq	%rdx, %rcx
	cmpq	$32, %rcx
	jae	LBB0_9
LBB0_6:
	xorl	%ecx, %ecx
LBB0_17:
	movq	%rcx, %rdx
	notq	%rdx
	addq	%rax, %rdx
	movq	%rax, %rsi
	andq	$3, %rsi
	je	LBB0_20
## %bb.18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%r12,%rdi,4), %rdi
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movss	(%r14,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rdi,%rcx,4)
	incq	%rcx
	decq	%rsi
	jne	LBB0_19
LBB0_20:
	cmpq	$3, %rdx
	jb	LBB0_23
## %bb.21:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%r12,%rdx,4), %rdx
	addq	$12, %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rsi,%rdi,4), %rsi
	addq	$12, %rsi
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movss	-12(%rsi,%rcx,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -12(%rdx,%rcx,4)
	movss	-8(%rsi,%rcx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -8(%rdx,%rcx,4)
	movss	-4(%rsi,%rcx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rdx,%rcx,4)
	movss	(%rsi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rdx,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_22
	jmp	LBB0_23
LBB0_9:
	movl	%eax, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rdx
	jae	LBB0_11
## %bb.10:
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_11:
	andq	$-4, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdx,%rdi,4), %rbx
	addq	$112, %rbx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%r12,%rdx,4), %rdx
	addq	$112, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	-112(%rbx,%rdi,4), %xmm0
	movups	-96(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -112(%rdx,%rdi,4)
	movups	%xmm1, -96(%rdx,%rdi,4)
	movups	-80(%rbx,%rdi,4), %xmm0
	movups	-64(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -80(%rdx,%rdi,4)
	movups	%xmm1, -64(%rdx,%rdi,4)
	movups	-48(%rbx,%rdi,4), %xmm0
	movups	-32(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -48(%rdx,%rdi,4)
	movups	%xmm1, -32(%rdx,%rdi,4)
	movups	-16(%rbx,%rdi,4), %xmm0
	movups	(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -16(%rdx,%rdi,4)
	movups	%xmm1, (%rdx,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_12
LBB0_13:
	testq	%r8, %r8
	je	LBB0_16
## %bb.14:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rdi,%rsi), %rdx
	leaq	(%r12,%rdx,4), %rdx
	addq	$16, %rdx
	addq	%rdi, %r9
	subq	%rsi, %r9
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%r9,4), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rdi), %xmm0
	movups	(%rsi,%rdi), %xmm1
	movups	%xmm0, -16(%rdx,%rdi)
	movups	%xmm1, (%rdx,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_15
LBB0_16:
	cmpq	%rax, %rcx
	jne	LBB0_17
LBB0_23:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFERSIZE,4,2                 ## @BUFFERSIZE
	.comm	_BLOCKSIZE,4,2                  ## @BLOCKSIZE
	.no_dead_strip	_create_adapt_vect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_adapt_vect
_create_adapt_vect:                     ; @create_adapt_vect
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _BUFFERSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFFERSIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x22, [x8]
Lloh3:
	adrp	x23, _BLOCKSIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _BLOCKSIZE@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x2
	bl	_FFMIN
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
	sub	w8, w22, w21
	add	x25, x19, w8, sxtw #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x24, #2
	ldr	s0, [x25, x8]
	str	s0, [x20, x8]
	add	x24, x24, #1
	ldr	w0, [x23]
	mov	x1, x21
	bl	_FFMIN
	cmp	x24, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	ldr	w8, [x23]
	subs	w8, w8, w21
	b.le	LBB0_10
; %bb.4:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.5:
	sxtw	x9, w21
	cmp	w8, #16
	b.lo	LBB0_7
; %bb.6:
	lsl	x10, x9, #2
	add	x11, x10, x20
	add	x12, x19, x22, lsl #2
	sub	x10, x10, x12
	add	x10, x10, x11
	cmp	x10, #64
	b.hs	LBB0_11
LBB0_7:
	mov	x10, #0
LBB0_8:
	add	x11, x10, x9
	add	x11, x20, x11, lsl #2
	add	x12, x10, x22
	sub	x9, x12, x9
	add	x9, x19, x9, lsl #2
	sub	x8, x8, x10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x9], #4
	str	s0, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	and	x10, x8, #0xfffffff0
	add	x11, x20, x9, lsl #2
	add	x11, x11, #32
	sub	x12, x22, x9
	add	x12, x19, x12, lsl #2
	add	x12, x12, #32
	mov	x13, x10
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_12
; %bb.13:
	cmp	x10, x8
	b.eq	LBB0_10
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFERSIZE,4,2                 ; @BUFFERSIZE
	.comm	_BLOCKSIZE,4,2                  ; @BLOCKSIZE
	.no_dead_strip	_create_adapt_vect
.subsections_via_symbols
