	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shift_output
_shift_output:                          ## @shift_output
	.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	8(%rdi), %rax
	movl	(%rax), %ecx
	movl	$8, %r8d
	shrl	%cl, %r8d
	cmpl	$8, (%rdi)
	jle	LBB0_1
## %bb.8:
	cmpl	$3, %ecx
	ja	LBB0_15
## %bb.9:
	cmpl	$2, %r8d
	movl	$1, %r9d
	cmovael	%r8d, %r9d
	movslq	%edx, %r10
	movl	%r9d, %eax
	andl	$-2, %eax
	leaq	8(%rsi), %rdx
	leaq	(,%r10,4), %r11
	xorl	%r14d, %r14d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	addq	%r11, %rdx
	cmpq	%r9, %r14
	je	LBB0_15
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	xorl	%ebx, %ebx
	cmpl	$2, %r8d
	jb	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	$16, %cl
	subb	(%rdi), %cl
	shll	%cl, -8(%rdx,%rbx,8)
	movb	$16, %cl
	subb	(%rdi), %cl
	shll	%cl, (%rdx,%rbx,8)
	addq	$2, %rbx
	cmpq	%rbx, %rax
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	testb	$1, %r9b
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rcx
	imulq	%r10, %rcx
	leaq	(%rsi,%rcx,4), %r15
	movb	$16, %cl
	subb	(%rdi), %cl
	shll	%cl, (%r15,%rbx,8)
	jmp	LBB0_14
LBB0_1:
	cmpl	$3, %ecx
	jbe	LBB0_2
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	$2, %r8d
	movl	$1, %r9d
	cmovael	%r8d, %r9d
	movslq	%edx, %r10
	movl	%r9d, %eax
	andl	$-2, %eax
	leaq	4(%rsi), %rdx
	leaq	(,%r10,4), %r11
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	addq	%r11, %rdx
	cmpq	%r9, %r14
	je	LBB0_15
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	xorl	%ebx, %ebx
	cmpl	$2, %r8d
	jb	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movb	$8, %cl
	subb	(%rdi), %cl
	shll	%cl, -4(%rdx,%rbx,4)
	movb	$8, %cl
	subb	(%rdi), %cl
	shll	%cl, (%rdx,%rbx,4)
	addq	$2, %rbx
	cmpq	%rbx, %rax
	jne	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r9b
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rcx
	imulq	%r10, %rcx
	leaq	(%rsi,%rcx,4), %r15
	movb	$8, %cl
	subb	(%rdi), %cl
	shll	%cl, (%r15,%rbx,4)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_shift_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shift_output
_shift_output:                          ; @shift_output
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	mov	w9, #8
	lsr	w9, w9, w8
	ldr	w10, [x0]
	cmp	w10, #8
	b.le	LBB0_6
; %bb.1:
	cmp	w8, #3
	b.hi	LBB0_11
; %bb.2:
	mov	x8, #0
	cmp	w9, #1
	csinc	w9, w9, wzr, hi
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	sbfiz	x10, x2, #2, #32
	mov	w11, #16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x12, x9
	mov	x13, x1
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x0]
	sub	w14, w11, w14
	ldr	w15, [x13]
	lsl	w14, w15, w14
	str	w14, [x13], #8
	subs	x12, x12, #1
	b.ne	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x1, x1, x10
	cmp	x8, x9
	b.ne	LBB0_3
	b	LBB0_11
LBB0_6:
	cmp	w8, #3
	b.hi	LBB0_11
; %bb.7:
	mov	x8, #0
	cmp	w9, #1
	csinc	w9, w9, wzr, hi
	sbfiz	x10, x2, #2, #32
	mov	w11, #8
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x12, x9
	mov	x13, x1
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w14, [x0]
	sub	w14, w11, w14
	ldr	w15, [x13]
	lsl	w14, w15, w14
	str	w14, [x13], #4
	subs	x12, x12, #1
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x8, x8, #1
	add	x1, x1, x10
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_shift_output
.subsections_via_symbols
