	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_object_decs
_nouveau_object_decs:                   ## @nouveau_object_decs
	.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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_nv_trace
	movq	%rbx, %rdi
	callq	_nv_ofuncs
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_nv_error
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	callq	_nv_subdev
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rdi
	movl	$1, %esi
	callq	_nouveau_object_dec
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_nv_subdev
	movq	%rax, %rdi
	callq	_mutex_unlock
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_nv_warn
	jmp	LBB0_10
LBB0_5:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.6:
	movl	$1, %esi
	callq	_nouveau_object_dec
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_nv_warn
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.8:
	callq	_nv_subdev
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	(%rbx), %rdi
	callq	_nouveau_object_inc
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	callq	_nv_subdev
	movq	%rax, %rdi
	callq	_mutex_unlock
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_nv_fatal
LBB0_10:
	movq	%rbx, %rdi
	callq	_nv_ofuncs
	movq	%rbx, %rdi
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_nv_fatal
	jmp	LBB0_12
LBB0_13:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nv_debug
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"suspending...\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed suspend, %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"engine failed suspend, %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"parent failed suspend, %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"suspended\n"

L_.str.5:                               ## @.str.5
	.asciz	"engine failed to reinit, %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"failed to reinit, %d\n"

	.no_dead_strip	_nouveau_object_decs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_object_decs
_nouveau_object_decs:                   ; @nouveau_object_decs
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nv_trace
	mov	x0, x19
	bl	_nv_ofuncs
	ldr	x8, [x0]
	mov	x0, x19
	mov	w1, #1
	blr	x8
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_nv_error
LBB0_2:
	mov	x0, x20
	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_3:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.4:
	bl	_nv_subdev
	bl	_mutex_lock
	ldr	x0, [x19]
	mov	w1, #1
	bl	_nouveau_object_dec
	mov	x20, x0
	ldr	x0, [x19]
	bl	_nv_subdev
	bl	_mutex_unlock
	cbz	w20, LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_nv_warn
	b	LBB0_11
LBB0_6:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_13
; %bb.7:
	mov	w1, #1
	bl	_nouveau_object_dec
	cbz	w0, LBB0_13
; %bb.8:
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_nv_warn
	ldr	x0, [x19]
	cbz	x0, LBB0_11
; %bb.9:
	bl	_nv_subdev
	bl	_mutex_lock
	ldr	x0, [x19]
	bl	_nouveau_object_inc
	mov	x21, x0
	ldr	x0, [x19]
	bl	_nv_subdev
	bl	_mutex_unlock
	cbz	w21, LBB0_11
; %bb.10:
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_nv_fatal
LBB0_11:
	mov	x0, x19
	bl	_nv_ofuncs
	ldr	x8, [x0, #8]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_2
; %bb.12:
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.6@PAGE
Lloh11:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_nv_fatal
	b	LBB0_2
LBB0_13:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_nv_debug
	mov	w20, #0
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"suspending...\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed suspend, %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"engine failed suspend, %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"parent failed suspend, %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"suspended\n"

l_.str.5:                               ; @.str.5
	.asciz	"engine failed to reinit, %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"failed to reinit, %d\n"

	.no_dead_strip	_nouveau_object_decs
.subsections_via_symbols
