	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lshift
_lshift:                                ## @lshift
	.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, %r13d
	movq	%rsi, %r12
	movl	%edx, %r15d
	sarl	$4, %r15d
	movl	(%rsi), %esi
	movl	4(%r12), %ecx
	leal	(%rcx,%r15), %r14d
	movl	8(%r12), %eax
	cmpl	%eax, %r14d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jl	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%esi
	addl	%eax, %eax
	cmpl	%eax, %r14d
	jge	LBB0_1
LBB0_2:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_Balloc
	movq	16(%rax), %rbx
	cmpl	$16, %r13d
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jl	LBB0_4
## %bb.3:
	cmpl	$2, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	cmovgel	%r15d, %r12d
	leaq	(,%r12,4), %rsi
	movq	%rbx, %rdi
	callq	___bzero
	decl	%r12d
	leaq	(%rbx,%r12,4), %rbx
	addq	$4, %rbx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r15), %r9d
	incl	%r9d
	movq	16(%r12), %rsi
	movslq	4(%r12), %rax
	leaq	(%rsi,%rax,4), %r15
	andl	$15, %r13d
	je	LBB0_5
## %bb.19:
	movl	$16, %eax
	subl	%r13d, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %edi
	movl	%r13d, %ecx
	shll	%cl, %edi
	andl	$65534, %edi                    ## imm = 0xFFFE
	orl	%edx, %edi
	movl	%edi, (%rbx)
	addq	$4, %rbx
	movl	(%rsi), %edx
	addq	$4, %rsi
	movl	%eax, %ecx
	sarl	%cl, %edx
	cmpq	%r15, %rsi
	jb	LBB0_20
## %bb.21:
	movl	%edx, (%rbx)
	addl	$2, %r14d
	testl	%edx, %edx
	cmovnel	%r14d, %r9d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_22
LBB0_5:
	leaq	4(%rsi), %rax
	cmpq	%rax, %r15
	cmovaq	%r15, %rax
	movq	%rsi, %r10
	notq	%r10
	addq	%rax, %r10
	cmpq	$28, %r10
	jb	LBB0_6
## %bb.7:
	movq	%rbx, %rax
	subq	%rsi, %rax
	cmpq	$32, %rax
	jb	LBB0_8
## %bb.9:
	shrq	$2, %r10
	incq	%r10
	movq	%r10, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rax
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movl	%ecx, %r11d
	andl	$3, %r11d
	cmpq	$24, %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jae	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_8:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_11:
	andq	$-4, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rax,4), %xmm0
	movups	16(%rsi,%rax,4), %xmm1
	movups	%xmm0, (%rbx,%rax,4)
	movups	%xmm1, 16(%rbx,%rax,4)
	movups	32(%rsi,%rax,4), %xmm0
	movups	48(%rsi,%rax,4), %xmm1
	movups	%xmm0, 32(%rbx,%rax,4)
	movups	%xmm1, 48(%rbx,%rax,4)
	movups	64(%rsi,%rax,4), %xmm0
	movups	80(%rsi,%rax,4), %xmm1
	movups	%xmm0, 64(%rbx,%rax,4)
	movups	%xmm1, 80(%rbx,%rax,4)
	movups	96(%rsi,%rax,4), %xmm0
	movups	112(%rsi,%rax,4), %xmm1
	movups	%xmm0, 96(%rbx,%rax,4)
	movups	%xmm1, 112(%rbx,%rax,4)
	addq	$32, %rax
	addq	$-4, %rcx
	jne	LBB0_12
LBB0_13:
	testq	%r11, %r11
	je	LBB0_16
## %bb.14:
	leaq	(%rbx,%rax,4), %rcx
	addq	$16, %rcx
	leaq	(%rsi,%rax,4), %rax
	addq	$16, %rax
	shlq	$5, %r11
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rdx), %xmm0
	movups	(%rax,%rdx), %xmm1
	movups	%xmm0, -16(%rcx,%rdx)
	movups	%xmm1, (%rcx,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r11
	jne	LBB0_15
LBB0_16:
	cmpq	%r8, %r10
	je	LBB0_22
## %bb.17:
	leaq	(%rsi,%r8,4), %rsi
	leaq	(%rbx,%r8,4), %rbx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %eax
	addq	$4, %rsi
	movl	%eax, (%rbx)
	addq	$4, %rbx
	cmpq	%r15, %rsi
	jb	LBB0_18
LBB0_22:
	decl	%r9d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	%r9d, 4(%rbx)
	movq	%r12, %rsi
	callq	_Bfree
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lshift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lshift
_lshift:                                ; @lshift
	.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	x23, x2
	mov	x19, x1
	mov	x20, x0
	asr	w25, w2, #4
	ldr	w1, [x1]
	ldp	w9, w8, [x19, #4]
	add	w24, w9, w25
	cmp	w24, w8
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w1, #1
	lsl	w8, w8, #1
	cmp	w24, w8
	b.ge	LBB0_1
LBB0_2:
	mov	x0, x20
	bl	_Balloc
	mov	x21, x0
	ldr	x22, [x0, #16]
	cmp	w23, #16
	b.lt	LBB0_4
; %bb.3:
	cmp	w25, #1
	csinc	w25, w25, wzr, gt
	lsl	x1, x25, #2
	mov	x0, x22
	bl	_bzero
	sub	w8, w25, #1
	add	x8, x22, w8, uxtw #2
	add	x22, x8, #4
LBB0_4:
	add	w8, w24, #1
	ldr	x11, [x19, #16]
	ldrsw	x9, [x19, #4]
	add	x9, x11, x9, lsl #2
	ands	w10, w23, #0xf
	b.eq	LBB0_8
; %bb.5:
	mov	w13, #0
	mov	w12, #16
	sub	w12, w12, w10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x11]
	lsl	w14, w14, w10
	and	w14, w14, #0xfffe
	orr	w13, w14, w13
	str	w13, [x22], #4
	ldr	w13, [x11], #4
	asr	w13, w13, w12
	cmp	x11, x9
	b.lo	LBB0_6
; %bb.7:
	str	w13, [x22]
	add	w9, w24, #2
	cmp	w13, #0
	csel	w8, w8, w9, eq
	b	LBB0_15
LBB0_8:
	add	x10, x11, #4
	cmp	x9, x10
	csel	x10, x9, x10, hi
	mvn	x12, x11
	add	x10, x10, x12
	cmp	x10, #60
	b.lo	LBB0_13
; %bb.9:
	sub	x12, x22, x11
	cmp	x12, #64
	b.lo	LBB0_13
; %bb.10:
	lsr	x10, x10, #2
	add	x13, x10, #1
	and	x14, x13, #0x7ffffffffffffff0
	lsl	x12, x14, #2
	add	x10, x11, x12
	add	x12, x22, x12
	add	x11, x11, #32
	add	x15, x22, #32
	mov	x16, x14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	stp	q0, q1, [x15, #-32]
	stp	q2, q3, [x15], #64
	subs	x16, x16, #16
	b.ne	LBB0_11
; %bb.12:
	cmp	x13, x14
	b.ne	LBB0_14
	b	LBB0_15
LBB0_13:
	mov	x10, x11
	mov	x12, x22
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	str	w11, [x12], #4
	cmp	x10, x9
	b.lo	LBB0_14
LBB0_15:
	sub	w8, w8, #1
	str	w8, [x21, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_Bfree
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lshift
.subsections_via_symbols
