	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_falcon_v1_wait_for_halt
_nvkm_falcon_v1_wait_for_halt:          ## @nvkm_falcon_v1_wait_for_halt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	$256, %edx                      ## imm = 0x100
	addq	(%rdi), %rdx
	movq	%rax, %rdi
	movl	$16, %ecx
	movl	$16, %r8d
	callq	_nvkm_wait_msec
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvkm_falcon_v1_wait_for_halt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_falcon_v1_wait_for_halt
_nvkm_falcon_v1_wait_for_halt:          ; @nvkm_falcon_v1_wait_for_halt
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	x9, x8, [x0]
	ldr	x0, [x8]
	add	x2, x9, #256
	mov	w3, #16
	mov	w4, #16
	bl	_nvkm_wait_msec
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvkm_falcon_v1_wait_for_halt
.subsections_via_symbols
