	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_gpuobj_new             ## -- Begin function nouveau_gpuobj_new
	.p2align	4, 0x90
_nouveau_gpuobj_new:                    ## @nouveau_gpuobj_new
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%rdi, %r15
	movl	%r8d, -48(%rbp)
	movl	%ecx, -44(%rbp)
	movl	%edx, -40(%rbp)
	movq	%rsi, -32(%rbp)
	movq	_NV_SUBDEV_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nv_iclass
	movq	%r15, %rbx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rbx
LBB0_2:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_BUG_ON
	movq	__nouveau_gpuobj_oclass@GOTPCREL(%rip), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$24, %r8d
	movq	%r14, %r9
	callq	_nouveau_object_ctor
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NV_SUBDEV_CLASS,4,2            ## @NV_SUBDEV_CLASS
	.comm	__nouveau_gpuobj_oclass,4,2     ## @_nouveau_gpuobj_oclass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_gpuobj_new             ; -- Begin function nouveau_gpuobj_new
	.p2align	2
_nouveau_gpuobj_new:                    ; @nouveau_gpuobj_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x5
	mov	x20, x0
	stp	w4, w3, [sp, #8]
	str	w2, [sp, #16]
	str	x1, [sp, #24]
Lloh0:
	adrp	x8, _NV_SUBDEV_CLASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NV_SUBDEV_CLASS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nv_iclass
	mov	x21, x20
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x21, [x20]
LBB0_2:
	cmp	x21, #0
	cset	w0, eq
	bl	_BUG_ON
Lloh3:
	adrp	x2, __nouveau_gpuobj_oclass@GOTPAGE
Lloh4:
	ldr	x2, [x2, __nouveau_gpuobj_oclass@GOTPAGEOFF]
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w4, #24
	mov	x5, x19
	bl	_nouveau_object_ctor
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NV_SUBDEV_CLASS,4,2            ; @NV_SUBDEV_CLASS
	.comm	__nouveau_gpuobj_oclass,4,2     ; @_nouveau_gpuobj_oclass
.subsections_via_symbols
