	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modrm_compute
_modrm_compute:                         ## @modrm_compute
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rcx, %rdx
	callq	_modrm_decode32
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rdi
	callq	_regptr_from_reg
	movl	%eax, (%r12)
	movq	8(%rbx), %rdi
	callq	_regptr_from_reg
	movl	%eax, (%r15)
	movq	16(%rbx), %rcx
	movq	_modrm_reg@GOTPCREL(%rip), %rdx
	movl	$1, %r15d
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.3:
	movq	8(%rbx), %rdx
	movq	_reg_none@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_5:
	movl	%eax, %edi
	movl	$32, %esi
	callq	_REGISTER
	addl	(%r14), %eax
	movq	16(%rbx), %rcx
LBB0_6:
	addl	40(%rbx), %eax
	movl	%eax, (%r14)
	movq	_modrm_mem_si@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_8
## %bb.7:
	movq	24(%rbx), %rdi
	callq	_regptr_from_reg
	movl	%eax, %edi
	movl	$32, %esi
	callq	_REGISTER
	movb	32(%rbx), %cl
	shll	%cl, %eax
	addl	%eax, (%r14)
LBB0_8:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_modrm_reg,8,3                  ## @modrm_reg
	.comm	_reg_none,8,3                   ## @reg_none
	.comm	_modrm_mem_si,8,3               ## @modrm_mem_si
	.no_dead_strip	_modrm_compute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modrm_compute
_modrm_compute:                         ; @modrm_compute
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x5
	mov	x22, x4
	mov	x20, x3
	mov	x19, x2
	mov	x2, x3
	bl	_modrm_decode32
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x0, [x20]
	bl	_regptr_from_reg
	str	w0, [x22]
	ldr	x0, [x20, #8]
	bl	_regptr_from_reg
	str	w0, [x21]
	ldr	x8, [x20, #16]
Lloh0:
	adrp	x9, _modrm_reg@GOTPAGE
Lloh1:
	ldr	x9, [x9, _modrm_reg@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.2:
	ldr	x9, [x20, #8]
Lloh3:
	adrp	x10, _reg_none@GOTPAGE
Lloh4:
	ldr	x10, [x10, _reg_none@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x19]
	b	LBB0_5
LBB0_4:
	mov	w0, w0
	mov	w1, #32
	bl	_REGISTER
	ldr	w8, [x19]
	add	w9, w8, w0
	ldr	x8, [x20, #16]
LBB0_5:
	ldr	w10, [x20, #40]
	add	w9, w9, w10
	str	w9, [x19]
Lloh6:
	adrp	x9, _modrm_mem_si@GOTPAGE
Lloh7:
	ldr	x9, [x9, _modrm_mem_si@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x0, [x20, #24]
	bl	_regptr_from_reg
	mov	w0, w0
	mov	w1, #32
	bl	_REGISTER
	ldr	w8, [x20, #32]
	lsl	w8, w0, w8
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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_reg,8,3                  ; @modrm_reg
	.comm	_reg_none,8,3                   ; @reg_none
	.comm	_modrm_mem_si,8,3               ; @modrm_mem_si
	.no_dead_strip	_modrm_compute
.subsections_via_symbols
