	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shiftimm_alloc                 ## -- Begin function shiftimm_alloc
	.p2align	4, 0x90
_shiftimm_alloc:                        ## @shiftimm_alloc
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_rs1@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movslq	%esi, %rbx
	movl	(%rax,%rbx,4), %esi
	callq	_clear_const
	movq	_rt1@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_clear_const
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_alloc_reg
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_dirty_reg
	movq	_opcode@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpl	$4, (%rax,%rbx,4)
	jne	LBB0_6
## %bb.1:
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	cmpl	$5, %eax
	jg	LBB0_6
## %bb.2:
	cmpl	$4, %eax
	jl	LBB0_4
## %bb.3:
	movq	_opcode3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$1, (%rax,%rbx,4)
	jg	LBB0_5
LBB0_4:
	movq	(%r15), %rax
	movq	_TBIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btq	%rcx, %rax
	jb	LBB0_6
LBB0_5:
	movq	_SR@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_alloc_reg
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_dirty_reg
LBB0_6:
	movq	(%r12), %rax
	cmpl	$2, (%rax,%rbx,4)
	jne	LBB0_8
## %bb.7:
	movq	_opcode2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$13, (%rax,%rbx,4)
	jne	LBB0_8
## %bb.9:
	movq	_rs2@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_clear_const
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_alloc_reg                      ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rs1,8,3                        ## @rs1
	.comm	_rt1,8,3                        ## @rt1
	.comm	_opcode,8,3                     ## @opcode
	.comm	_opcode2,8,3                    ## @opcode2
	.comm	_opcode3,8,3                    ## @opcode3
	.comm	_TBIT,8,3                       ## @TBIT
	.comm	_SR,4,2                         ## @SR
	.comm	_rs2,8,3                        ## @rs2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shiftimm_alloc                 ; -- Begin function shiftimm_alloc
	.p2align	2
_shiftimm_alloc:                        ; @shiftimm_alloc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _rs1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _rs1@GOTPAGEOFF]
	ldr	x8, [x22]
	sxtw	x21, w19
	sbfiz	x23, x19, #2, #32
	ldr	w1, [x8, x23]
	bl	_clear_const
Lloh2:
	adrp	x24, _rt1@GOTPAGE
Lloh3:
	ldr	x24, [x24, _rt1@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w1, [x8, x23]
	mov	x0, x20
	bl	_clear_const
	ldr	x8, [x22]
	ldr	w2, [x8, x23]
	mov	x0, x20
	mov	x1, x19
	bl	_alloc_reg
	ldr	x8, [x24]
	ldr	w2, [x8, x23]
	mov	x0, x20
	mov	x1, x19
	bl	_alloc_reg
	ldr	x8, [x24]
	ldr	w1, [x8, x23]
	mov	x0, x20
	bl	_dirty_reg
Lloh4:
	adrp	x22, _opcode@GOTPAGE
Lloh5:
	ldr	x22, [x22, _opcode@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w8, [x8, x23]
Lloh6:
	adrp	x23, _opcode2@GOTPAGE
Lloh7:
	ldr	x23, [x23, _opcode2@GOTPAGEOFF]
	cmp	w8, #4
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x23]
	ldr	w8, [x8, x21, lsl #2]
	cmp	w8, #5
	b.gt	LBB0_6
; %bb.2:
	cmp	w8, #4
	b.lt	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _opcode3@GOTPAGE
Lloh9:
	ldr	x8, [x8, _opcode3@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w8, [x8, x21, lsl #2]
	cmp	w8, #1
	b.gt	LBB0_5
LBB0_4:
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _TBIT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TBIT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	lsr	x8, x8, x9
	tbnz	w8, #0, LBB0_6
LBB0_5:
Lloh14:
	adrp	x24, _SR@GOTPAGE
Lloh15:
	ldr	x24, [x24, _SR@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x19
	bl	_alloc_reg
	ldr	w1, [x24]
	mov	x0, x20
	bl	_dirty_reg
LBB0_6:
	ldr	x8, [x22]
	lsl	x21, x21, #2
	ldr	w8, [x8, x21]
	ldr	x9, [x23]
	ldr	w9, [x9, x21]
	cmp	w8, #2
	ccmp	w9, #13, #0, eq
	b.eq	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh16:
	adrp	x22, _rs2@GOTPAGE
Lloh17:
	ldr	x22, [x22, _rs2@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w1, [x8, x21]
	mov	x0, x20
	bl	_clear_const
	ldr	x8, [x22]
	ldr	w2, [x8, x21]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_alloc_reg
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_rs1,8,3                        ; @rs1
	.comm	_rt1,8,3                        ; @rt1
	.comm	_opcode,8,3                     ; @opcode
	.comm	_opcode2,8,3                    ; @opcode2
	.comm	_opcode3,8,3                    ; @opcode3
	.comm	_TBIT,8,3                       ; @TBIT
	.comm	_SR,4,2                         ; @SR
	.comm	_rs2,8,3                        ; @rs2
.subsections_via_symbols
