	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tms320_disassemble
_tms320_disassemble:                    ## @tms320_disassemble
	.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, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movl	%ecx, %r14d
	movq	%rdx, %r15
	leaq	L_.str(%rip), %rsi
	callq	_r_str_casecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	callq	_r_str_casecmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	callq	_r_str_casecmp
	testq	%rax, %rax
	je	LBB0_8
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_r_asm_op_set_asm
	movl	$-1, (%r12)
	movl	$-1, %eax
	jmp	LBB0_10
LBB0_2:
	movq	_TMS320_F_CPU_C54X@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_TMS320_F_CPU_C55X_PLUS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_TMS320_F_CPU_C55X@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	_engine@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_tms320_f_set_cpu
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_tms320_dasm
	movl	%eax, (%r12)
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_r_asm_op_set_asm
	movl	(%r12), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"c54x"

	.comm	_engine,8,3                     ## @engine
	.comm	_TMS320_F_CPU_C54X,4,2          ## @TMS320_F_CPU_C54X
L_.str.1:                               ## @.str.1
	.asciz	"c55x+"

	.comm	_TMS320_F_CPU_C55X_PLUS,4,2     ## @TMS320_F_CPU_C55X_PLUS
L_.str.2:                               ## @.str.2
	.asciz	"c55x"

	.comm	_TMS320_F_CPU_C55X,4,2          ## @TMS320_F_CPU_C55X
L_.str.3:                               ## @.str.3
	.asciz	"unknown asm.cpu"

	.no_dead_strip	_tms320_disassemble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tms320_disassemble
_tms320_disassemble:                    ; @tms320_disassemble
	.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	x22, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x3
	mov	x21, x2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_r_str_casecmp
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x0, [x22]
	cbz	x0, LBB0_6
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_r_str_casecmp
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x0, [x22]
	cbz	x0, LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_r_str_casecmp
	cbz	x0, LBB0_9
LBB0_6:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_r_asm_op_set_asm
	mov	w0, #-1
	str	w0, [x19]
	b	LBB0_11
LBB0_7:
Lloh8:
	adrp	x8, _TMS320_F_CPU_C54X@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TMS320_F_CPU_C54X@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
Lloh10:
	adrp	x8, _TMS320_F_CPU_C55X_PLUS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TMS320_F_CPU_C55X_PLUS@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh12:
	adrp	x8, _TMS320_F_CPU_C55X@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TMS320_F_CPU_C55X@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
Lloh14:
	adrp	x22, _engine@GOTPAGE
Lloh15:
	ldr	x22, [x22, _engine@GOTPAGEOFF]
	mov	x0, x22
	bl	_tms320_f_set_cpu
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_tms320_dasm
	str	w0, [x19]
	ldr	x1, [x22]
	mov	x0, x19
	bl	_r_asm_op_set_asm
	ldr	w0, [x19]
LBB0_11:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"c54x"

	.comm	_engine,8,3                     ; @engine
	.comm	_TMS320_F_CPU_C54X,4,2          ; @TMS320_F_CPU_C54X
l_.str.1:                               ; @.str.1
	.asciz	"c55x+"

	.comm	_TMS320_F_CPU_C55X_PLUS,4,2     ; @TMS320_F_CPU_C55X_PLUS
l_.str.2:                               ; @.str.2
	.asciz	"c55x"

	.comm	_TMS320_F_CPU_C55X,4,2          ; @TMS320_F_CPU_C55X
l_.str.3:                               ; @.str.3
	.asciz	"unknown asm.cpu"

	.no_dead_strip	_tms320_disassemble
.subsections_via_symbols
