	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modrm_dec
_modrm_dec:                             ## @modrm_dec
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_pti_get_map
	movq	_PTI_MAP_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_4
## %bb.5:
	leaq	_modrm_dec.has_modrm_2d(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,8), %r15d
	jmp	LBB0_6
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_PTI_MODRM_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_6:
	movq	_PTI_MODRM_FALSE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_13
## %bb.7:
	movq	_PTI_MODRM_UNDEF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_13
## %bb.8:
	cmpq	%r14, 8(%rbx)
	jle	LBB0_9
## %bb.10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_get_byte
	movl	%eax, 40(%rbx)
	movq	_PTI_MODRM_IGNORE_MOD@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_12
## %bb.11:
	movq	_eamode_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rbx), %rcx
	movq	32(%rbx), %rdx
	movq	(%rax,%rdx,8), %rax
	movq	(%rax,%rcx,8), %r15
	movq	%rbx, %rdi
	callq	_pti_get_modrm_mod
	movslq	%eax, %r12
	movq	%rbx, %rdi
	callq	_pti_get_modrm_rm
	cltq
	movq	_disp_default@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movq	(%rcx,%r12,8), %rcx
	movl	(%rcx,%rax,4), %ecx
	movl	%ecx, 24(%rbx)
	movq	_has_sib@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %rcx
	movq	(%rcx,%r12,8), %rcx
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_12
## %bb.14:
	incq	%r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sib_dec                        ## TAILCALL
LBB0_9:
	movq	_pte_bad_insn@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	incq	%r14
LBB0_13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_disp_dec                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @modrm_dec.has_modrm_2d
_modrm_dec.has_modrm_2d:
	.quad	129
	.quad	128

	.comm	_PTI_MODRM_FALSE,4,2            ## @PTI_MODRM_FALSE
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_PTI_MAP_2,8,3                  ## @PTI_MAP_2
	.comm	_PTI_MODRM_TRUE,4,2             ## @PTI_MODRM_TRUE
	.comm	_PTI_MODRM_UNDEF,4,2            ## @PTI_MODRM_UNDEF
	.comm	_pte_bad_insn,4,2               ## @pte_bad_insn
	.comm	_PTI_MODRM_IGNORE_MOD,4,2       ## @PTI_MODRM_IGNORE_MOD
	.comm	_eamode_table,8,3               ## @eamode_table
	.comm	_disp_default,8,3               ## @disp_default
	.comm	_has_sib,8,3                    ## @has_sib
	.no_dead_strip	_modrm_dec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modrm_dec
_modrm_dec:                             ; @modrm_dec
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_pti_get_map
Lloh0:
	adrp	x8, _PTI_MAP_2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTI_MAP_2@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _modrm_dec.has_modrm_2d@PAGE
Lloh4:
	add	x8, x8, _modrm_dec.has_modrm_2d@PAGEOFF
	ldr	x8, [x8, x0, lsl #3]
	ldr	x9, [x19]
	ldr	x21, [x8, x9, lsl #3]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _pte_internal@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
Lloh7:
	adrp	x8, _PTI_MODRM_TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PTI_MODRM_TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
LBB0_5:
Lloh10:
	adrp	x8, _PTI_MODRM_FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PTI_MODRM_FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _PTI_MODRM_UNDEF@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PTI_MODRM_UNDEF@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w21, w8
	ccmp	w21, w9, #4, ne
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	b	LBB0_14
LBB0_7:
	ldr	x8, [x19, #8]
	cmp	x8, x20
	b.le	LBB0_11
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_get_byte
	str	w0, [x19, #40]
Lloh16:
	adrp	x8, _PTI_MODRM_IGNORE_MOD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PTI_MODRM_IGNORE_MOD@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_13
; %bb.9:
Lloh19:
	adrp	x8, _eamode_table@GOTPAGE
Lloh20:
	ldr	x8, [x8, _eamode_table@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x19, #16]
	ldr	x22, [x8, x9, lsl #3]
	mov	x0, x19
	bl	_pti_get_modrm_mod
	mov	x21, x0
	mov	x0, x19
	bl	_pti_get_modrm_rm
Lloh22:
	adrp	x8, _disp_default@GOTPAGE
Lloh23:
	ldr	x8, [x8, _disp_default@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	lsl	x9, x22, #3
	ldr	x8, [x8, x9]
	sbfiz	x10, x21, #3, #32
	ldr	x8, [x8, x10]
	ldr	w8, [x8, w0, sxtw #2]
	str	w8, [x19, #24]
Lloh25:
	adrp	x8, _has_sib@GOTPAGE
Lloh26:
	ldr	x8, [x8, _has_sib@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x8, [x8, x9]
	ldr	x8, [x8, x10]
	ldr	x8, [x8, w0, sxtw #3]
	cbz	x8, LBB0_13
; %bb.10:
	add	x1, x20, #1
	mov	x0, x19
	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
	b	_sib_dec
LBB0_11:
Lloh28:
	adrp	x8, _pte_bad_insn@GOTPAGE
Lloh29:
	ldr	x8, [x8, _pte_bad_insn@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
	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
LBB0_13:
	add	x1, x20, #1
	mov	x0, x19
LBB0_14:
	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
	b	_disp_dec
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @modrm_dec.has_modrm_2d
_modrm_dec.has_modrm_2d:
	.quad	129
	.quad	128

	.comm	_PTI_MODRM_FALSE,4,2            ; @PTI_MODRM_FALSE
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_PTI_MAP_2,8,3                  ; @PTI_MAP_2
	.comm	_PTI_MODRM_TRUE,4,2             ; @PTI_MODRM_TRUE
	.comm	_PTI_MODRM_UNDEF,4,2            ; @PTI_MODRM_UNDEF
	.comm	_pte_bad_insn,4,2               ; @pte_bad_insn
	.comm	_PTI_MODRM_IGNORE_MOD,4,2       ; @PTI_MODRM_IGNORE_MOD
	.comm	_eamode_table,8,3               ; @eamode_table
	.comm	_disp_default,8,3               ; @disp_default
	.comm	_has_sib,8,3                    ; @has_sib
	.no_dead_strip	_modrm_dec
.subsections_via_symbols
