	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_register_operand
_decode_register_operand:               ## @decode_register_operand
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %eax
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rsi), %esi
	xorl	%edx, %edx
	testl	%esi, %esi
	sete	%r8b
	movl	8(%rbx), %ecx
	movq	_ModRM@GOTPCREL(%rip), %rdi
	testl	%ecx, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	jmp	LBB0_3
LBB0_2:
	movl	12(%rbx), %edi
	andl	$7, %edi
	andl	$1, %esi
	leal	(%rdi,%rsi,8), %edi
LBB0_3:
	movq	_OP_REG@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 24(%r14)
	movl	20(%rbx), %esi
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	_ByteOp@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	je	LBB0_6
## %bb.5:
	movb	%r8b, %dl
	callq	_decode_register
	movq	%rax, 16(%r14)
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movl	$1, (%r14)
	jmp	LBB0_11
LBB0_6:
	xorl	%edx, %edx
	callq	_decode_register
	movq	%rax, 16(%r14)
	movl	16(%rbx), %ecx
	movl	%ecx, (%r14)
	cmpl	$2, %ecx
	je	LBB0_10
## %bb.7:
	cmpl	$4, %ecx
	je	LBB0_10
## %bb.8:
	cmpl	$8, %ecx
	jne	LBB0_9
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_11
LBB0_9:
	movl	4(%r14), %eax
LBB0_11:
	movl	%eax, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ModRM,4,2                      ## @ModRM
	.comm	_OP_REG,4,2                     ## @OP_REG
	.comm	_ByteOp,4,2                     ## @ByteOp
	.no_dead_strip	_decode_register_operand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_register_operand
_decode_register_operand:               ; @decode_register_operand
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x2
	mov	x20, x1
	mov	x19, x0
	ldp	w10, w9, [x1, #4]
	cmp	w10, #0
	cset	w2, eq
Lloh0:
	adrp	x11, _ModRM@GOTPAGE
Lloh1:
	ldr	x11, [x11, _ModRM@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	b	LBB0_3
LBB0_2:
	ldr	w11, [x20, #12]
	and	w0, w11, #0x7
	bfi	w0, w10, #3, #1
LBB0_3:
Lloh3:
	adrp	x10, _OP_REG@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OP_REG@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	str	w10, [x19, #24]
	ldr	w1, [x20, #20]
	cbnz	w8, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _ByteOp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ByteOp@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w9
	cbz	w8, LBB0_6
; %bb.5:
	bl	_decode_register
	str	x0, [x19, #16]
	ldr	w8, [x0]
	mov	w9, #1
	stp	w9, w8, [x19]
	b	LBB0_11
LBB0_6:
	mov	w2, #0
	bl	_decode_register
	str	x0, [x19, #16]
	ldr	w8, [x20, #16]
	str	w8, [x19]
	cmp	w8, #2
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #4
	b.eq	LBB0_9
; %bb.8:
	cmp	w8, #8
	b.ne	LBB0_10
LBB0_9:
	ldr	w8, [x0]
	str	w8, [x19, #4]
	b	LBB0_11
LBB0_10:
	ldr	w8, [x19, #4]
LBB0_11:
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ModRM,4,2                      ; @ModRM
	.comm	_OP_REG,4,2                     ; @OP_REG
	.comm	_ByteOp,4,2                     ; @ByteOp
	.no_dead_strip	_decode_register_operand
.subsections_via_symbols
