	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ltc_oneinit              ## -- Begin function gf100_ltc_oneinit
	.p2align	4, 0x90
_gf100_ltc_oneinit:                     ## @gf100_ltc_oneinit
	.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	%rdi, %r15
	movq	8(%rdi), %r12
	movq	%r12, %rdi
	movl	$140344, %esi                   ## imm = 0x22438
	callq	_nvkm_rd32
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	$140628, %esi                   ## imm = 0x22554
	callq	_nvkm_rd32
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	$1566940, %esi                  ## imm = 0x17E8DC
	callq	_nvkm_rd32
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.1:
	xorl	%ecx, %ecx
	cmpl	$1, %r14d
	jne	LBB0_2
LBB0_8:
	testb	$1, %r14b
	je	LBB0_11
## %bb.9:
	btl	%ecx, %ebx
	jb	LBB0_11
## %bb.10:
	incl	4(%r15)
LBB0_11:
	sarl	$28, %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gf100_ltc_oneinit_tag_ram      ## TAILCALL
LBB0_2:
	movl	%r14d, %edx
	andl	$-2, %edx
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$2, %ecx
	cmpl	%ecx, %edx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	btl	%ecx, %ebx
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	4(%r15)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %esi
	shrl	%cl, %esi
	testb	$2, %sil
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	4(%r15)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ltc_oneinit              ; -- Begin function gf100_ltc_oneinit
	.p2align	2
_gf100_ltc_oneinit:                     ; @gf100_ltc_oneinit
	.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, x0
	ldr	x22, [x0, #8]
	mov	w21, #9272
	movk	w21, #2, lsl #16
	mov	x0, x22
	mov	w1, #9272
	movk	w1, #2, lsl #16
	bl	_nvkm_rd32
	mov	x20, x0
	add	w1, w21, #284
	mov	x0, x22
	bl	_nvkm_rd32
	mov	x21, x0
	mov	x0, x22
	mov	w1, #59612
	movk	w1, #23, lsl #16
	bl	_nvkm_rd32
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w8, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w8, #1
	cmp	w20, w8
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w9, w21, w8
	tbnz	w9, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x19, #4]
	add	w9, w9, #1
	str	w9, [x19, #4]
	b	LBB0_2
LBB0_5:
	asr	w8, w0, #28
	str	w8, [x19]
	mov	x0, x19
	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
	b	_gf100_ltc_oneinit_tag_ram
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
