	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fix_bitshift
_fix_bitshift:                          ## @fix_bitshift
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.1:
	cmpl	$32, %ecx
	jne	LBB0_5
## %bb.2:
	cmpl	$0, 4(%rdi)
	jle	LBB0_9
## %bb.3:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rsi,%rax,4)
	incq	%rax
	movslq	4(%rdi), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_4
	jmp	LBB0_9
LBB0_5:
	cmpl	$0, 4(%rdi)
	jle	LBB0_9
## %bb.6:
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, (%rsi)
	cmpl	$2, 4(%rdi)
	jl	LBB0_9
## %bb.7:
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %ecx
	shll	%cl, (%rsi,%rax,4)
	incq	%rax
	movslq	4(%rdi), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_8
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fix_bitshift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fix_bitshift
_fix_bitshift:                          ; @fix_bitshift
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	cmp	w8, #32
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x8, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x1, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x9, [x0, #4]
	cmp	x8, x9
	b.lt	LBB0_4
	b	LBB0_9
LBB0_5:
	ldr	w9, [x0, #4]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.6:
	ldr	w9, [x1]
	lsl	w8, w9, w8
	str	w8, [x1]
	ldr	w8, [x0, #4]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.7:
	mov	w8, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0]
	lsl	x10, x8, #2
	ldr	w11, [x1, x10]
	lsl	w9, w11, w9
	str	w9, [x1, x10]
	add	x8, x8, #1
	ldrsw	x9, [x0, #4]
	cmp	x8, x9
	b.lt	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fix_bitshift
.subsections_via_symbols
