	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ror
_parse_ror:                             ## @parse_ror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	_inst@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_1:
	addq	$3, %rbx
	movq	%rbx, -24(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-24(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	xorl	%edx, %edx
	movl	$24, %ecx
	callq	_parse_immediate
	movq	_FAIL@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_2
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	-28(%rbp), %eax
	roll	$29, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	-24(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	_inst@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	jmp	LBB0_9
LBB0_5:
	movq	-24(%rbp), %rax
	movq	%rax, (%r14)
	movl	$1, %eax
	jmp	LBB0_9
LBB0_6:
	movq	-24(%rbp), %rax
	movq	%rax, (%r14)
	movl	$2, %eax
	jmp	LBB0_9
LBB0_7:
	movq	-24(%rbp), %rax
	movq	%rax, (%r14)
	movl	$3, %eax
	jmp	LBB0_9
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ROR"

L_.str.1:                               ## @.str.1
	.asciz	"missing rotation field after comma"

	.comm	_inst,8,3                       ## @inst
	.comm	_FAIL,4,2                       ## @FAIL
	.comm	_FALSE,4,2                      ## @FALSE
L_.str.2:                               ## @.str.2
	.asciz	"rotation can only be 0, 8, 16, or 24"

	.no_dead_strip	_parse_ror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ror
_parse_ror:                             ; @parse_ror
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	w2, #3
	bl	_strncasecmp
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
Lloh4:
	adrp	x8, _inst@GOTPAGE
Lloh5:
	ldr	x8, [x8, _inst@GOTPAGEOFF]
Lloh6:
	str	x0, [x8]
Lloh7:
	adrp	x8, _FAIL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	add	x8, x20, #3
	str	x8, [sp]
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x0, sp
	add	x1, sp, #12
	mov	w2, #0
	mov	w3, #24
	bl	_parse_immediate
Lloh13:
	adrp	x20, _FAIL@GOTPAGE
Lloh14:
	ldr	x20, [x20, _FAIL@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	ldr	w8, [sp, #12]
	ror	w8, w8, #3
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.5:
Lloh15:
	adrp	x9, lJTI0_0@PAGE
Lloh16:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	mov	w0, #0
	ldr	x8, [sp]
	str	x8, [x19]
	b	LBB0_3
LBB0_7:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
Lloh19:
	adrp	x8, _inst@GOTPAGE
Lloh20:
	ldr	x8, [x8, _inst@GOTPAGEOFF]
Lloh21:
	str	x0, [x8]
	ldr	w0, [x20]
	b	LBB0_3
LBB0_8:
	ldr	x8, [sp]
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_3
LBB0_9:
	ldr	x8, [sp]
	str	x8, [x19]
	mov	w0, #2
	b	LBB0_3
LBB0_10:
	ldr	x8, [sp]
	str	x8, [x19]
	mov	w0, #3
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ROR"

l_.str.1:                               ; @.str.1
	.asciz	"missing rotation field after comma"

	.comm	_inst,8,3                       ; @inst
	.comm	_FAIL,4,2                       ; @FAIL
	.comm	_FALSE,4,2                      ; @FALSE
l_.str.2:                               ; @.str.2
	.asciz	"rotation can only be 0, 8, 16, or 24"

	.no_dead_strip	_parse_ror
.subsections_via_symbols
