	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_buf_shift_right                ## -- Begin function buf_shift_right
	.p2align	4, 0x90
_buf_shift_right:                       ## @buf_shift_right
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movq	%rsi, %rdx
	decq	%rdx
	je	LBB0_7
## %bb.1:
	movl	$8, %r11d
	subl	%r8d, %r11d
	testb	$1, %dl
	jne	LBB0_3
## %bb.2:
	movq	%rdx, %rcx
	movq	%rsi, %rdx
	cmpq	$2, %rsi
	jne	LBB0_5
	jmp	LBB0_7
LBB0_3:
	movl	-8(%rdi,%rsi,4), %r9d
	movl	%r11d, %ecx
	shll	%cl, %r9d
	movl	-4(%rdi,%rsi,4), %r10d
	movl	%r8d, %ecx
	sarl	%cl, %r10d
	leaq	-2(%rsi), %rcx
	orl	%r9d, %r10d
	movl	%r10d, -4(%rdi,%rsi,4)
	cmpq	$2, %rsi
	je	LBB0_7
LBB0_5:
	decq	%rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rsi
	movl	-8(%rdi,%rdx,4), %edx
	movl	%r11d, %ecx
	shll	%cl, %edx
	movl	4(%rdi,%rsi,4), %eax
	movl	%r8d, %ecx
	sarl	%cl, %eax
	orl	%edx, %eax
	movl	%eax, 4(%rdi,%rsi,4)
	movl	-4(%rdi,%rsi,4), %eax
	movl	%r11d, %ecx
	shll	%cl, %eax
	movl	(%rdi,%rsi,4), %edx
	movl	%r8d, %ecx
	sarl	%cl, %edx
	orl	%eax, %edx
	movl	%edx, (%rdi,%rsi,4)
	movq	%rsi, %rdx
	leaq	-2(%rsi), %rcx
	cmpq	$-1, %rcx
	jne	LBB0_6
LBB0_7:
	movl	%r8d, %ecx
	sarl	%cl, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_buf_shift_right                ; -- Begin function buf_shift_right
	.p2align	2
_buf_shift_right:                       ; @buf_shift_right
	.cfi_startproc
; %bb.0:
	cmp	x1, #1
	b.eq	LBB0_3
; %bb.1:
	mov	w8, #8
	sub	w8, w8, w2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x0, x1, lsl #2
	ldp	w10, w11, [x9, #-8]
	lsl	w10, w10, w8
	asr	w11, w11, w2
	orr	w10, w11, w10
	stur	w10, [x9, #-4]
	sub	x1, x1, #1
	cmp	x1, #1
	b.ne	LBB0_2
LBB0_3:
	ldr	w8, [x0]
	asr	w8, w8, w2
	str	w8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
