	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_arm_shift
_encode_arm_shift:                      ## @encode_arm_shift
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_inst@GOTPCREL(%rip), %rax
	movq	8(%rax), %rcx
	movslq	%edi, %rsi
	shlq	$4, %rsi
	movl	(%rcx,%rsi), %edx
	movq	_SHIFT_RRX@GOTPCREL(%rip), %rdi
	cmpl	(%rdi), %edx
	jne	LBB0_2
## %bb.1:
	movq	_SHIFT_ROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$5, %ecx
	orl	%ecx, (%rax)
	popq	%rbp
	retq
LBB0_2:
	shll	$5, %edx
	orl	(%rax), %edx
	movl	%edx, (%rax)
	cmpq	$0, 8(%rcx,%rsi)
	je	LBB0_4
## %bb.3:
	movq	_SHIFT_BY_REG@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	movl	4(%rcx,%rsi), %ecx
	shll	$8, %ecx
	orl	%edx, %ecx
	movl	%ecx, (%rax)
	popq	%rbp
	retq
LBB0_4:
	movq	_BFD_RELOC_ARM_SHIFT_IMM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inst,16,3                      ## @inst
	.comm	_SHIFT_RRX,4,2                  ## @SHIFT_RRX
	.comm	_SHIFT_ROR,4,2                  ## @SHIFT_ROR
	.comm	_SHIFT_BY_REG,4,2               ## @SHIFT_BY_REG
	.comm	_BFD_RELOC_ARM_SHIFT_IMM,4,2    ## @BFD_RELOC_ARM_SHIFT_IMM
	.no_dead_strip	_encode_arm_shift
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_arm_shift
_encode_arm_shift:                      ; @encode_arm_shift
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _inst@GOTPAGE
Lloh1:
	ldr	x8, [x8, _inst@GOTPAGEOFF]
	ldr	x9, [x8, #8]
	sbfiz	x10, x0, #4, #32
	ldr	w10, [x9, x10]
Lloh2:
	adrp	x11, _SHIFT_RRX@GOTPAGE
Lloh3:
	ldr	x11, [x11, _SHIFT_RRX@GOTPAGEOFF]
Lloh4:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _SHIFT_ROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SHIFT_ROR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9, lsl #5
	str	w9, [x8]
	ret
LBB0_2:
	sxtw	x11, w0
	ldr	w12, [x8]
	orr	w10, w12, w10, lsl #5
	str	w10, [x8]
	add	x9, x9, x11, lsl #4
	ldr	x11, [x9, #8]
	cbz	x11, LBB0_4
; %bb.3:
Lloh8:
	adrp	x11, _SHIFT_BY_REG@GOTPAGE
Lloh9:
	ldr	x11, [x11, _SHIFT_BY_REG@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	orr	w10, w11, w10
	ldr	w9, [x9, #4]
	orr	w9, w10, w9, lsl #8
	str	w9, [x8]
	ret
LBB0_4:
Lloh11:
	adrp	x9, _BFD_RELOC_ARM_SHIFT_IMM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BFD_RELOC_ARM_SHIFT_IMM@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	str	w9, [x8, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_inst,16,3                      ; @inst
	.comm	_SHIFT_RRX,4,2                  ; @SHIFT_RRX
	.comm	_SHIFT_ROR,4,2                  ; @SHIFT_ROR
	.comm	_SHIFT_BY_REG,4,2               ; @SHIFT_BY_REG
	.comm	_BFD_RELOC_ARM_SHIFT_IMM,4,2    ; @BFD_RELOC_ARM_SHIFT_IMM
	.no_dead_strip	_encode_arm_shift
.subsections_via_symbols
