	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tms320_dasm_init               ## -- Begin function tms320_dasm_init
	.p2align	4, 0x90
_tms320_dasm_init:                      ## @tms320_dasm_init
	.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
	cmpq	$0, (%rdi)
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_ht_up_new0
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	_c55x_list@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	(%r14), %rdx
	movl	(%rdx,%rbx), %esi
	addq	%rbx, %rdx
	callq	_ht_up_insert
	incq	%r12
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_4
LBB0_5:
	movq	_TMS320_F_CPU_C55X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_tms320_f_set_cpu
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_c55x_list,8,3                  ## @c55x_list
	.comm	_TMS320_F_CPU_C55X,4,2          ## @TMS320_F_CPU_C55X
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tms320_dasm_init               ; -- Begin function tms320_dasm_init
	.p2align	2
_tms320_dasm_init:                      ; @tms320_dasm_init
	.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
	ldr	x8, [x0]
	cbnz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	bl	_ht_up_new0
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x20, _c55x_list@GOTPAGE
Lloh1:
	ldr	x20, [x20, _c55x_list@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	ldr	x8, [x20]
	add	x2, x8, x21
	ldr	w1, [x2]
	bl	_ht_up_insert
	add	x22, x22, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	add	x21, x21, #4
	cmp	x22, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
Lloh2:
	adrp	x8, _TMS320_F_CPU_C55X@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TMS320_F_CPU_C55X@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tms320_f_set_cpu
LBB0_6:
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_c55x_list,8,3                  ; @c55x_list
	.comm	_TMS320_F_CPU_C55X,4,2          ; @TMS320_F_CPU_C55X
.subsections_via_symbols
