	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shifted_reg_val
_shifted_reg_val:                       ## @shifted_reg_val
	.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
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	xorl	%esi, %esi
	movl	$3, %edx
	callq	_bits
	movq	%rax, %r13
	movq	%r12, %rdi
	movl	$5, %esi
	movl	$6, %edx
	callq	_bits
	movq	%rax, %rbx
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_bit
	testq	%rax, %rax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	je	LBB0_4
## %bb.1:
	movl	$8, %esi
	movl	$11, %edx
	callq	_bits
	cmpl	$15, %eax
	jne	LBB0_6
## %bb.2:
	leaq	8(%r15), %rax
	jmp	LBB0_3
LBB0_4:
	movl	$7, %esi
	movl	$11, %edx
	callq	_bits
	movq	%rax, %r14
	cmpl	$15, %r13d
	je	LBB0_5
LBB0_7:
	movl	%r13d, %edi
	callq	_read_register
	jmp	LBB0_8
LBB0_6:
	movl	%eax, %edi
	callq	_read_register
LBB0_3:
	movzbl	%al, %r14d
	cmpl	$15, %r13d
	jne	LBB0_7
LBB0_5:
	movq	_ARM_PC_32@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	cmoveq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	orq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_bit
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	leaq	(%rbx,%rcx,4), %rax
	addq	$8, %rax
LBB0_8:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpq	$3, %rdx
	ja	LBB0_17
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_10:
	movl	%r14d, %ecx
	shlq	%cl, %rax
	jmp	LBB0_12
LBB0_11:
	movl	%r14d, %ecx
	shrq	%cl, %rax
LBB0_12:
	xorl	%ecx, %ecx
	cmpq	$32, %r14
	cmovaeq	%rcx, %rax
	jmp	LBB0_17
LBB0_13:
	cmpq	$31, %r14
	movl	$31, %ecx
	cmovbq	%r14, %rcx
	movq	%rax, %rdx
	notq	%rdx
	shrq	%cl, %rdx
	movq	%rax, %rsi
                                        ## kill: def $cl killed $cl killed $rcx
	shrq	%cl, %rsi
	testl	$-2147483648, %eax              ## imm = 0x80000000
	notq	%rdx
	cmoveq	%rsi, %rdx
	movq	%rdx, %rax
	jmp	LBB0_17
LBB0_14:
	andq	$31, %r14
	je	LBB0_16
## %bb.15:
	movq	%rax, %rdx
	movl	%r14d, %ecx
	shrq	%cl, %rdx
	addq	$32, %r14
	negq	%r14
	movl	%r14d, %ecx
	shlq	%cl, %rax
	orq	%rdx, %rax
	jmp	LBB0_17
LBB0_16:
	shrq	%rax
	xorl	%ecx, %ecx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%cl
	shlq	$31, %rcx
	orq	%rcx, %rax
LBB0_17:
	movl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_ARM_PC_32,8,3                  ## @ARM_PC_32
	.no_dead_strip	_shifted_reg_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shifted_reg_val
_shifted_reg_val:                       ; @shifted_reg_val
	.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, x3
	mov	x22, x2
	mov	x19, x1
	mov	x21, x0
	mov	w1, #0
	mov	w2, #3
	bl	_bits
	mov	x24, x0
	mov	x0, x21
	mov	w1, #5
	mov	w2, #6
	bl	_bits
	mov	x20, x0
	mov	x0, x21
	mov	w1, #4
	bl	_bit
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	mov	w1, #8
	mov	w2, #11
	bl	_bits
	cmp	w0, #15
	b.ne	LBB0_5
; %bb.2:
	add	x0, x22, #8
	b	LBB0_6
LBB0_3:
	mov	x0, x21
	mov	w1, #7
	mov	w2, #11
	bl	_bits
	mov	x25, x0
	cmp	w24, #15
	b.eq	LBB0_7
LBB0_4:
	mov	x0, x24
	bl	_read_register
	cmp	x20, #3
	b.ls	LBB0_8
	b	LBB0_16
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_read_register
LBB0_6:
	and	x25, x0, #0xff
	cmp	w24, #15
	b.ne	LBB0_4
LBB0_7:
Lloh0:
	adrp	x8, _ARM_PC_32@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARM_PC_32@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #0
	csel	x8, x23, xzr, eq
	orr	x22, x8, x22
	mov	x0, x21
	mov	w1, #4
	bl	_bit
	mov	w8, #12
	mov	w9, #8
	cmp	x0, #0
	csel	x8, x9, x8, eq
	add	x0, x22, x8
	cmp	x20, #3
	b.hi	LBB0_16
LBB0_8:
Lloh3:
	adrp	x8, lJTI0_0@PAGE
Lloh4:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_9
	ldrb	w10, [x8, x20]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_9:
	lsl	x8, x0, x25
	b	LBB0_11
LBB0_10:
	lsr	x8, x0, x25
LBB0_11:
	cmp	x25, #31
	csel	x0, xzr, x8, hi
	b	LBB0_16
LBB0_12:
	mov	w8, #31
	cmp	x25, #31
	csel	x8, x25, x8, lo
	mvn	x9, x0
	lsr	x9, x9, x8
	lsr	x8, x0, x8
	tst	x0, #0x80000000
	csinv	x0, x8, x9, eq
	b	LBB0_16
LBB0_13:
	ands	x8, x25, #0x1f
	b.eq	LBB0_15
; %bb.14:
	lsr	x9, x0, x8
	mov	w10, #32
	sub	x8, x10, x8
	lsl	x8, x0, x8
	orr	x0, x9, x8
	b	LBB0_16
LBB0_15:
	lsr	x8, x0, #1
	cmp	w19, #0
	cset	w9, ne
	orr	x0, x8, x9, lsl #31
LBB0_16:
	and	x0, x0, #0xffffffff
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
                                        ; -- End function
	.comm	_ARM_PC_32,8,3                  ; @ARM_PC_32
	.no_dead_strip	_shifted_reg_val
.subsections_via_symbols
