	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_ltc_init
_nvkm_ltc_init:                         ## @nvkm_ltc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_nvkm_ltc
	movq	%rax, %r15
	movl	(%rax), %r14d
	cmpl	4(%rax), %r14d
	jle	LBB0_1
LBB0_5:
	movq	8(%r15), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movslq	%r14d, %rbx
	decq	%rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%r15), %rax
	incq	%rbx
	incl	%r14d
	cmpq	%rax, %rbx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	32(%r15), %rcx
	movl	4(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*24(%rax)
	movq	8(%r15), %rax
	movq	24(%r15), %rcx
	movl	4(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*16(%rax)
	movq	8(%r15), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rcx
	movl	4(%rcx,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	*%rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvkm_ltc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_ltc_init
_nvkm_ltc_init:                         ; @nvkm_ltc_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
	bl	_nvkm_ltc
	mov	x19, x0
	ldp	w20, w8, [x0]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	cmp	w20, w8
	b.le	LBB0_3
LBB0_1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	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
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x20, #1
	ldrsw	x9, [x19, #4]
	cmp	x20, x9
	mov	x20, x8
	b.ge	LBB0_1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #24]
	ldr	x9, [x19, #32]
	lsl	x21, x20, #2
	ldr	w2, [x9, x21]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	ldr	x9, [x19, #24]
	ldr	w2, [x9, x21]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #16]
	ldr	w2, [x9, x20, lsl #2]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvkm_ltc_init
.subsections_via_symbols
