	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_client_fini
_nvkm_client_fini:                      ## @nvkm_client_fini
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_nvkm_client
	movq	%rax, %r14
	movslq	%r15d, %rax
	leaq	l_reltable.nvkm_client_fini(%rip), %rcx
	movslq	(%rcx,%rax,4), %rdx
	addq	%rcx, %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nvif_debug
	movl	(%r14), %edi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nvkm_client_notify_put
	incl	%ebx
	movl	(%r14), %edi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jl	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fini"

L_.str.1:                               ## @.str.1
	.asciz	"suspend"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.nvkm_client_fini
l_reltable.nvkm_client_fini:
	.long	L_.str-l_reltable.nvkm_client_fini
	.long	L_.str.1-l_reltable.nvkm_client_fini

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"%s notify\n"

	.no_dead_strip	_nvkm_client_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_client_fini
_nvkm_client_fini:                      ; @nvkm_client_fini
	.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	x20, x1
	mov	x21, x0
	bl	_nvkm_client
	mov	x19, x0
Lloh0:
	adrp	x8, l___const.nvkm_client_fini.name@PAGE
Lloh1:
	add	x8, x8, l___const.nvkm_client_fini.name@PAGEOFF
	ldr	x2, [x8, w20, sxtw #3]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_nvif_debug
	ldr	w0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_nvkm_client_notify_put
	add	w20, w20, #1
	ldr	w0, [x19]
	bl	_ARRAY_SIZE
	cmp	w20, w0
	b.lt	LBB0_2
LBB0_3:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fini"

l_.str.1:                               ; @.str.1
	.asciz	"suspend"

	.section	__DATA,__const
	.p2align	3                               ; @__const.nvkm_client_fini.name
l___const.nvkm_client_fini.name:
	.quad	l_.str
	.quad	l_.str.1

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"%s notify\n"

	.no_dead_strip	_nvkm_client_fini
.subsections_via_symbols
