	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kmemcheck_opcode_decode        ## -- Begin function kmemcheck_opcode_decode
	.p2align	4, 0x90
_kmemcheck_opcode_decode:               ## @kmemcheck_opcode_decode
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_opcode_is_prefix
	movl	$4, %r15d
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	$2, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$102, (%rbx)
	movl	4(%rbx), %edi
	cmovel	%r12d, %r15d
	addq	$4, %rbx
	callq	_opcode_is_prefix
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movl	(%rbx), %edi
	callq	_opcode_is_rex_prefix
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	4(%rbx), %rax
	movq	_REX_W@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_5
## %bb.10:
	movl	(%rax), %eax
	cmpl	$99, %eax
	je	LBB0_11
## %bb.12:
	cmpl	$15, %eax
	jne	LBB0_14
## %bb.13:
	movl	$-182, %eax
	addl	8(%rbx), %eax
	cmpl	$10, %eax
	jae	LBB0_14
## %bb.15:
	cltq
	leaq	l_switch.table.kmemcheck_opcode_decode(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	jmp	LBB0_16
LBB0_5:
	movq	%rax, %rbx
LBB0_6:
	movl	(%rbx), %eax
	cmpl	$15, %eax
	jne	LBB0_9
## %bb.7:
	movl	4(%rbx), %eax
	movl	%eax, %ecx
	orl	$8, %ecx
	cmpl	$191, %ecx
	jne	LBB0_9
## %bb.8:
	movl	$2, %r15d
LBB0_9:
	testb	$1, %al
	movl	$1, %eax
	cmovnel	%r15d, %eax
	jmp	LBB0_16
LBB0_14:
	movl	$8, %eax
	jmp	LBB0_16
LBB0_11:
	movl	$4, %eax
LBB0_16:
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REX_W,4,2                      ## @REX_W
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.kmemcheck_opcode_decode
l_switch.table.kmemcheck_opcode_decode:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	1                               ## 0x1
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kmemcheck_opcode_decode        ; -- Begin function kmemcheck_opcode_decode
	.p2align	2
_kmemcheck_opcode_decode:               ; @kmemcheck_opcode_decode
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_opcode_is_prefix
	mov	w21, #4
	cbz	x0, LBB0_3
; %bb.1:
	mov	w22, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w8, #102
	csel	w21, w22, w21, eq
	ldr	w0, [x20, #4]!
	bl	_opcode_is_prefix
	cbnz	x0, LBB0_2
LBB0_3:
	ldr	w0, [x20]
	bl	_opcode_is_rex_prefix
	cbz	x0, LBB0_10
; %bb.4:
	mov	x8, x20
	ldr	w9, [x8], #4
Lloh0:
	adrp	x10, _REX_W@GOTPAGE
Lloh1:
	ldr	x10, [x10, _REX_W@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.5:
	ldr	w8, [x8]
	cmp	w8, #99
	b.eq	LBB0_14
; %bb.6:
	cmp	w8, #15
	b.ne	LBB0_13
; %bb.7:
	ldr	w8, [x20, #8]
	sub	w8, w8, #182
	cmp	w8, #10
	b.hs	LBB0_13
; %bb.8:
Lloh3:
	adrp	x9, l_switch.table.kmemcheck_opcode_decode@PAGE
Lloh4:
	add	x9, x9, l_switch.table.kmemcheck_opcode_decode@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_15
LBB0_9:
	mov	x20, x8
LBB0_10:
	ldr	w8, [x20]
	cmp	w8, #15
	b.ne	LBB0_12
; %bb.11:
	ldr	w8, [x20, #4]
	orr	w9, w8, #0x8
	mov	w10, #2
	cmp	w9, #191
	csel	w21, w10, w21, eq
LBB0_12:
	tst	w8, #0x1
	csinc	w8, w21, wzr, ne
	b	LBB0_15
LBB0_13:
	mov	w8, #8
	b	LBB0_15
LBB0_14:
	mov	w8, #4
LBB0_15:
	str	w8, [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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_REX_W,4,2                      ; @REX_W
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.kmemcheck_opcode_decode
l_switch.table.kmemcheck_opcode_decode:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	1                               ; 0x1
	.long	2                               ; 0x2

.subsections_via_symbols
