	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_propeller_decode_command       ## -- Begin function propeller_decode_command
	.p2align	4, 0x90
_propeller_decode_command:              ## @propeller_decode_command
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_r_read_be32
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_get_opcode
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_get_con
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leal	-128(%r15), %eax
	cmpl	$42, %eax
	jb	LBB0_7
## %bb.3:
	leal	-172(%r15), %eax
	cmpl	$15, %eax
	jae	LBB0_4
LBB0_7:
	movq	(%r14), %rdi
	movq	_instrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ecx
	movq	(%rax,%rcx,8), %rcx
	leaq	L_.str.1(%rip), %rdx
	movl	$8, %esi
	xorl	%eax, %eax
	callq	_snprintf
	leal	-147(%r15), %eax
	cmpl	$2, %eax
	ja	LBB0_10
## %bb.8:
	movl	%r12d, %edi
	callq	_get_zcri
	testb	$2, %al
	jne	LBB0_10
## %bb.9:
	movq	(%r14), %rax
	movb	$119, (%rax)
	movq	(%r14), %rax
	movb	$114, 1(%rax)
LBB0_10:
	testl	$134217728, %r12d               ## imm = 0x8000000
	je	LBB0_13
## %bb.11:
	movq	_PROP_SUB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_16
LBB0_1:
	movq	(%r14), %rdi
	movq	_PROP_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movq	8(%r14), %rax
	movb	$0, (%rax)
	movl	$4, %ebx
	jmp	LBB0_30
LBB0_13:
	testl	$134217728, %r12d               ## imm = 0x8000000
	je	LBB0_17
## %bb.14:
	movq	_PROP_SUBX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_17
## %bb.15:
	leaq	L_.str.3(%rip), %rdx
LBB0_16:
	movq	(%r14), %rdi
	movq	_PROP_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	decl	%esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_17:
	movl	%r12d, %edi
	callq	_is_immediate
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_get_src
	testl	%ebx, %ebx
	je	LBB0_19
## %bb.18:
	movl	%eax, 16(%r14)
	movl	%r12d, %edi
	callq	_get_dst
	movl	%eax, 20(%r14)
	movq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_PROP_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	decl	%ebx
	movl	%r12d, %edi
	callq	_get_dst
	movq	%r14, %r13
	movq	%r15, %r14
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_get_src
	leaq	L_.str.4(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%r15d, %ecx
	movq	%r14, %rbx
	movq	%r13, %r14
	movl	%eax, %r8d
	jmp	LBB0_20
LBB0_19:
	shll	$2, %eax
	movl	%eax, 16(%r14)
	movl	%r12d, %edi
	callq	_get_dst
	movl	%eax, 20(%r14)
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rbx
	movq	_PROP_INSTR_MAXLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	decl	%r15d
	movl	%r12d, %edi
	callq	_get_dst
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_get_src
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %r8d
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r13d, %ecx
LBB0_20:
	xorl	%eax, %eax
	callq	_snprintf
LBB0_26:
	movl	%ebx, 24(%r14)
	movl	$4, %ebx
LBB0_29:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_decode_prefix
LBB0_30:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpl	$170, %r15d
	je	LBB0_27
## %bb.5:
	cmpl	$171, %r15d
	jne	LBB0_6
## %bb.21:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_decode_ext_cmd
	movl	%eax, %ebx
	cmpl	$-1, %eax
	jne	LBB0_28
## %bb.22:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	movq	_PROP_INSTR_MAXLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	decl	%esi
	movq	_instrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	1368(%rax), %rcx
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	%r12d, %edi
	callq	_is_immediate
	movl	%eax, %r15d
	movl	%r12d, %edi
	callq	_get_src
	movl	%eax, 16(%r14)
	movl	%r12d, %edi
	callq	_get_dst
	movl	%eax, 20(%r14)
	movq	8(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	decl	%ebx
	movl	%r12d, %edi
	callq	_get_dst
	movl	%eax, %r13d
	testl	%r15d, %r15d
	je	LBB0_24
## %bb.23:
	shll	$2, %r13d
	movl	%r12d, %edi
	callq	_get_src
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_25
LBB0_27:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_decode_jmp
	movl	%eax, %ebx
LBB0_28:
	movl	%r15d, 24(%r14)
	testl	%ebx, %ebx
	jg	LBB0_29
	jmp	LBB0_30
LBB0_6:
	movl	%r15d, 24(%r14)
	movl	$-1, %ebx
	jmp	LBB0_30
LBB0_24:
	movl	%r12d, %edi
	callq	_get_src
	leaq	L_.str.5(%rip), %rdx
LBB0_25:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%r13d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_PROP_INSTR_MAXLEN,4,2          ## @PROP_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nop"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_instrs,8,3                     ## @instrs
	.comm	_PROP_SUB,4,2                   ## @PROP_SUB
L_.str.2:                               ## @.str.2
	.asciz	"sub"

	.comm	_PROP_SUBX,4,2                  ## @PROP_SUBX
L_.str.3:                               ## @.str.3
	.asciz	"subx"

L_.str.4:                               ## @.str.4
	.asciz	"0x%x, #%d"

L_.str.5:                               ## @.str.5
	.asciz	"0x%x, 0x%x"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_propeller_decode_command       ; -- Begin function propeller_decode_command
	.p2align	2
_propeller_decode_command:              ; @propeller_decode_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	bl	_r_read_be32
	mov	x20, x0
	bl	_get_opcode
	mov	x21, x0
	mov	x0, x20
	bl	_get_con
	cbz	w0, LBB0_9
; %bb.1:
	sub	w8, w21, #128
	cmp	w8, #42
	b.lo	LBB0_3
; %bb.2:
	sub	w8, w21, #172
	cmp	w8, #15
	b.hs	LBB0_22
LBB0_3:
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _instrs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _instrs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w21, uxtw #3]
	str	x8, [sp]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #8
	bl	_snprintf
	sub	w8, w21, #147
	cmp	w8, #2
	b.hi	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_get_zcri
	tbnz	w0, #1, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	mov	w9, #119
	strb	w9, [x8]
	ldr	x8, [x19]
	mov	w9, #114
	strb	w9, [x8, #1]
LBB0_6:
	tbz	w20, #27, LBB0_10
; %bb.7:
Lloh5:
	adrp	x8, _PROP_SUB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PROP_SUB@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_10
; %bb.8:
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_9:
	ldr	x0, [x19]
Lloh10:
	adrp	x8, _PROP_INSTR_MAXLEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PROP_INSTR_MAXLEN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	bl	_snprintf
	ldr	x8, [x19, #8]
	strb	wzr, [x8]
	mov	w22, #4
	b	LBB0_21
LBB0_10:
	tbz	w20, #27, LBB0_14
; %bb.11:
Lloh15:
	adrp	x8, _PROP_SUBX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PROP_SUBX@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_14
; %bb.12:
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_13:
	ldr	x0, [x19]
Lloh20:
	adrp	x8, _PROP_INSTR_MAXLEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PROP_INSTR_MAXLEN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	sub	w1, w8, #1
	bl	_snprintf
LBB0_14:
	mov	x0, x20
	bl	_is_immediate
	mov	x22, x0
	mov	x0, x20
	bl	_get_src
	cbz	w22, LBB0_17
; %bb.15:
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_get_dst
	str	w0, [x19, #20]
	ldr	x22, [x19, #8]
Lloh23:
	adrp	x8, _PROP_INSTR_MAXLEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PROP_INSTR_MAXLEN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	sub	w23, w8, #1
	mov	x0, x20
	bl	_get_dst
	mov	x24, x0
LBB0_16:
	mov	x0, x20
	bl	_get_src
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp]
Lloh26:
	adrp	x2, l_.str.4@PAGE
Lloh27:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_17:
	lsl	w8, w0, #2
	str	w8, [x19, #16]
	mov	x0, x20
	bl	_get_dst
	str	w0, [x19, #20]
	ldr	x22, [x19, #8]
Lloh28:
	adrp	x8, _PROP_INSTR_MAXLEN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PROP_INSTR_MAXLEN@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	sub	w23, w8, #1
	mov	x0, x20
	bl	_get_dst
	mov	x24, x0
	mov	x0, x20
	bl	_get_src
	lsl	w8, w0, #2
	str	x8, [sp, #8]
LBB0_18:
	str	x24, [sp]
Lloh31:
	adrp	x2, l_.str.5@PAGE
Lloh32:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_19:
	mov	x0, x22
	mov	x1, x23
	bl	_snprintf
	str	w21, [x19, #24]
	mov	w22, #4
LBB0_20:
	mov	x0, x19
	mov	x1, x20
	bl	_decode_prefix
LBB0_21:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_22:
	cmp	w21, #170
	b.eq	LBB0_27
; %bb.23:
	cmp	w21, #171
	b.ne	LBB0_29
; %bb.24:
	mov	x0, x19
	mov	x1, x20
	bl	_decode_ext_cmd
	mov	x22, x0
	cmn	w0, #1
	b.ne	LBB0_28
; %bb.25:
	ldr	x0, [x19]
Lloh33:
	adrp	x23, _PROP_INSTR_MAXLEN@GOTPAGE
Lloh34:
	ldr	x23, [x23, _PROP_INSTR_MAXLEN@GOTPAGEOFF]
	ldr	w8, [x23]
	sub	w1, w8, #1
Lloh35:
	adrp	x8, _instrs@GOTPAGE
Lloh36:
	ldr	x8, [x8, _instrs@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	ldr	x8, [x8, #1368]
	str	x8, [sp]
Lloh38:
	adrp	x2, l_.str.1@PAGE
Lloh39:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	mov	x0, x20
	bl	_is_immediate
	mov	x25, x0
	mov	x0, x20
	bl	_get_src
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_get_dst
	str	w0, [x19, #20]
	ldr	x22, [x19, #8]
	ldr	w8, [x23]
	sub	w23, w8, #1
	mov	x0, x20
	bl	_get_dst
	mov	x24, x0
	cbz	w25, LBB0_30
; %bb.26:
	lsl	w24, w24, #2
	b	LBB0_16
LBB0_27:
	mov	x0, x19
	mov	x1, x20
	bl	_decode_jmp
	mov	x22, x0
LBB0_28:
	str	w21, [x19, #24]
	cmp	w22, #1
	b.ge	LBB0_20
	b	LBB0_21
LBB0_29:
	str	w21, [x19, #24]
	mov	w22, #-1
	b	LBB0_21
LBB0_30:
	mov	x0, x20
	bl	_get_src
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #8]
	b	LBB0_18
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_PROP_INSTR_MAXLEN,4,2          ; @PROP_INSTR_MAXLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nop"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_instrs,8,3                     ; @instrs
	.comm	_PROP_SUB,4,2                   ; @PROP_SUB
l_.str.2:                               ; @.str.2
	.asciz	"sub"

	.comm	_PROP_SUBX,4,2                  ; @PROP_SUBX
l_.str.3:                               ; @.str.3
	.asciz	"subx"

l_.str.4:                               ; @.str.4
	.asciz	"0x%x, #%d"

l_.str.5:                               ; @.str.5
	.asciz	"0x%x, 0x%x"

.subsections_via_symbols
