	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ud_decode                      ## -- Begin function ud_decode
	.p2align	4, 0x90
_ud_decode:                             ## @ud_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_inp_start
	movq	%rbx, %rdi
	callq	_clear_insn
	movq	_ud_lookup_table_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	movq	%rbx, %rdi
	callq	_decode_prefixes
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_decode_opcode
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	setne	%al
	movl	%eax, (%rbx)
	jne	LBB0_5
## %bb.3:
	movq	48(%rbx), %rax
	jmp	LBB0_6
LBB0_4:
	movl	$1, (%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_clear_insn
	movq	_ud_itab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
	movl	4(%rax), %ecx
	movl	%ecx, 56(%rbx)
LBB0_6:
	movl	(%rax), %edi
	callq	_P_SEG
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	40(%rbx), %rax
	movq	_UD_OP_MEM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	je	LBB0_10
## %bb.8:
	cmpq	%rcx, 8(%rax)
	je	LBB0_10
## %bb.9:
	movq	$0, 32(%rbx)
LBB0_10:
	movl	4(%rbx), %eax
	movl	8(%rbx), %ecx
	movl	%ecx, 24(%rbx)
	movq	$0, 16(%rbx)
	addl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ud_lookup_table_list,8,3       ## @ud_lookup_table_list
	.comm	_ud_itab,8,3                    ## @ud_itab
	.comm	_UD_OP_MEM,8,3                  ## @UD_OP_MEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ud_decode                      ; -- Begin function ud_decode
	.p2align	2
_ud_decode:                             ; @ud_decode
	.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	x19, x0
	bl	_inp_start
	mov	x0, x19
	bl	_clear_insn
Lloh0:
	adrp	x8, _ud_lookup_table_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ud_lookup_table_list@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #64]
	mov	x0, x19
	bl	_decode_prefixes
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_decode_opcode
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w9, ne
	str	w9, [x19]
	cbnz	w8, LBB0_5
; %bb.3:
	ldr	x8, [x19, #48]
	b	LBB0_6
LBB0_4:
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
	mov	x0, x19
	bl	_clear_insn
Lloh3:
	adrp	x8, _ud_itab@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ud_itab@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #48]
	ldr	w9, [x8, #4]
	str	w9, [x19, #56]
LBB0_6:
	ldr	w0, [x8]
	bl	_P_SEG
	cbnz	w0, LBB0_10
; %bb.7:
	ldr	x8, [x19, #40]
	ldr	x10, [x8]
Lloh6:
	adrp	x9, _UD_OP_MEM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UD_OP_MEM@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x10, x9
	b.eq	LBB0_10
; %bb.8:
	ldr	x8, [x8, #8]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
	str	xzr, [x19, #32]
LBB0_10:
	ldp	w0, w8, [x19, #4]
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
	add	w8, w0, w8
	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	_ud_lookup_table_list,8,3       ; @ud_lookup_table_list
	.comm	_ud_itab,8,3                    ; @ud_itab
	.comm	_UD_OP_MEM,8,3                  ; @UD_OP_MEM
.subsections_via_symbols
