	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_bo_new                 ## -- Begin function nouveau_bo_new
	.p2align	4, 0x90
_nouveau_bo_new:                        ## @nouveau_bo_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %r14d
	movl	%esi, -24(%rbp)
	movl	%edx, -20(%rbp)
	leaq	-24(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	callq	_nouveau_bo_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	jmp	LBB0_4
LBB0_2:
	movq	24(%rbp), %r9
	movq	16(%rbp), %r8
	movl	-24(%rbp), %esi
	movl	-20(%rbp), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_nouveau_bo_init
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	32(%rbp), %rax
	movq	%rbx, (%rax)
	xorl	%eax, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_bo_new                 ; -- Begin function nouveau_bo_new
	.p2align	2
_nouveau_bo_new:                        ; @nouveau_bo_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x7
	mov	x20, x6
	mov	x21, x3
	stp	w2, w1, [sp, #8]
	add	x1, sp, #12
	add	x2, sp, #8
	bl	_nouveau_bo_alloc
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_PTR_ERR
	b	LBB0_4
LBB0_2:
	ldp	w2, w1, [sp, #8]
	mov	x0, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_nouveau_bo_init
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x29, #16]
	str	x22, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
