	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseOpcode
_parseOpcode:                           ## @parseOpcode
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$0, (%rdx)
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	$1, (%r15)
	addq	$4, %rbx
LBB0_2:
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%r12d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_r_str_ndup
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_strdup
LBB0_5:
	movq	%rax, 8(%r15)
	movq	24(%r15), %rax
	movq	$0, 88(%rax)
	movq	$0, 40(%rax)
	movl	$0, 48(%rax)
	movl	$0, (%rax)
	movq	_X86R_UNDEFINED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	24(%rax), %rax
	movq	%rdx, 8(%rax)
	movq	24(%r15), %rax
	movq	24(%rax), %rax
	movq	%rdx, (%rax)
	movq	24(%r15), %rax
	movq	%rdx, 32(%rax)
	movq	(%rcx), %rcx
	movq	72(%rax), %rax
	movq	%rcx, 8(%rax)
	movq	24(%r15), %rax
	movq	72(%rax), %rax
	movq	%rcx, (%rax)
	movq	24(%r15), %rax
	movq	%rcx, 80(%rax)
	movq	$0, 64(%rax)
	movq	$0, 16(%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, 52(%rax)
	movq	%rcx, 4(%rax)
	movq	$0, 16(%r15)
	testq	%r12, %r12
	je	LBB0_6
## %bb.7:
	leaq	1(%r12), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_r_str_ncasecmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movl	$1, 16(%r15)
	addq	$6, %r12
	movq	%r12, %rbx
LBB0_9:
	movq	8(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	xorl	%r12d, %r12d
	testl	%eax, %eax
	sete	%r12b
	movq	24(%r15), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r12d, %ecx
	callq	_parseOperand
	movl	$1, 20(%r15)
	movq	_MAX_OPERANDS@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	cmpl	$2, (%r13)
	jl	LBB0_14
## %bb.10:
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %rbx
	incq	%rbx
	movslq	%r14d, %rax
	leaq	(%rax,%rax,2), %rdx
	shlq	$4, %rdx
	addq	24(%r15), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r12d, %ecx
	callq	_parseOperand
	movl	20(%r15), %r14d
	incl	%r14d
	movl	%r14d, 20(%r15)
	cmpl	(%r13), %r14d
	jl	LBB0_11
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_6:
	movl	$1, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bnd "

	.comm	_X86R_UNDEFINED,8,3             ## @X86R_UNDEFINED
L_.str.1:                               ## @.str.1
	.asciz	"short"

L_.str.2:                               ## @.str.2
	.asciz	"rep"

	.comm	_MAX_OPERANDS,4,2               ## @MAX_OPERANDS
	.no_dead_strip	_parseOpcode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseOpcode
_parseOpcode:                           ; @parseOpcode
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	str	wzr, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	w2, #4
	bl	_strncmp
	cbnz	w0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
	add	x22, x22, #4
LBB0_2:
	mov	x0, x22
	mov	w1, #32
	bl	_strchr
	mov	x21, x0
	cbz	x0, LBB0_4
; %bb.3:
	sub	w1, w21, w22
	mov	x0, x22
	bl	_r_str_ndup
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	bl	_strdup
LBB0_5:
	str	x0, [x19, #8]
	ldr	x8, [x19, #24]
	str	xzr, [x8, #88]
	str	xzr, [x8, #40]
	str	wzr, [x8, #48]
Lloh2:
	adrp	x9, _X86R_UNDEFINED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _X86R_UNDEFINED@GOTPAGEOFF]
	str	wzr, [x8]
	ldr	x10, [x9]
	ldr	x8, [x8, #24]
	str	x10, [x8, #8]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #24]
	str	x10, [x8]
	ldr	x8, [x19, #24]
	str	x10, [x8, #32]
	ldr	x9, [x9]
	ldr	x8, [x8, #72]
	str	x9, [x8, #8]
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #72]
	str	x9, [x8]
	ldr	x8, [x19, #24]
	str	x9, [x8, #80]
	str	xzr, [x8, #64]
	str	xzr, [x8, #16]
	movi.2s	v0, #1
	stur	d0, [x8, #52]
	stur	d0, [x8, #4]
	str	xzr, [x19, #16]
	cbz	x21, LBB0_13
; %bb.6:
	add	x22, x21, #1
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	w2, #5
	bl	_r_str_ncasecmp
	cbnz	w0, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #16]
	add	x22, x21, #6
LBB0_8:
	ldr	x0, [x19, #8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	cmp	w0, #0
	cset	w21, eq
	ldr	x2, [x19, #24]
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_parseOperand
	mov	w8, #1
	str	w8, [x19, #20]
Lloh8:
	adrp	x23, _MAX_OPERANDS@GOTPAGE
Lloh9:
	ldr	x23, [x23, _MAX_OPERANDS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #2
	b.lt	LBB0_12
; %bb.9:
	mov	w25, #1
	mov	w24, #48
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #44
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x0, #1
	ldr	x8, [x19, #24]
	smaddl	x2, w25, w24, x8
	mov	x0, x20
	mov	x1, x22
	mov	x3, x21
	bl	_parseOperand
	ldr	w8, [x19, #20]
	add	w25, w8, #1
	str	w25, [x19, #20]
	ldr	w8, [x23]
	cmp	w25, w8
	b.lt	LBB0_10
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bnd "

	.comm	_X86R_UNDEFINED,8,3             ; @X86R_UNDEFINED
l_.str.1:                               ; @.str.1
	.asciz	"short"

l_.str.2:                               ; @.str.2
	.asciz	"rep"

	.comm	_MAX_OPERANDS,4,2               ; @MAX_OPERANDS
	.no_dead_strip	_parseOpcode
.subsections_via_symbols
