	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_ufault_new                ## -- Begin function nvkm_ufault_new
	.p2align	4, 0x90
_nvkm_ufault_new:                       ## @nvkm_ufault_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdx, -56(%rbp)
	movl	%ecx, -44(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r12
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	movq	(%rdx), %rcx
	movl	8(%rdx), %r8d
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_nvif_unpack
	addq	$16, %rsp
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	12(%r12), %eax
	movl	%eax, 8(%rbx)
	movl	8(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	4(%r12), %eax
	movl	%eax, (%rbx)
	movq	_nvkm_ufault@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_nvkm_object_ctor
	movq	%r12, (%r14)
LBB0_2:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_nvkm_ufault,4,2                ## @nvkm_ufault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_ufault_new                ; -- Begin function nvkm_ufault_new
	.p2align	2
_nvkm_ufault_new:                       ; @nvkm_ufault_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x21, x2
	mov	x20, x1
	str	x2, [sp, #8]
	str	w3, [sp, #4]
	ldr	x8, [x0]
	ldp	x8, x9, [x8]
	ldr	x8, [x8]
	ldr	x22, [x9, x8, lsl #3]
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldr	x3, [x2]
	ldr	w4, [x2, #8]
	add	x1, sp, #8
	add	x2, sp, #4
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_nvif_unpack
	mov	x23, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [x22, #12]
	str	w8, [x21, #8]
	ldr	w8, [x22, #8]
	str	w8, [x21, #4]
	ldr	w8, [x22, #4]
	str	w8, [x21]
Lloh3:
	adrp	x0, _nvkm_ufault@GOTPAGE
Lloh4:
	ldr	x0, [x0, _nvkm_ufault@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, x22
	bl	_nvkm_object_ctor
	str	x22, [x19]
LBB0_2:
	mov	x0, x23
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_nvkm_ufault,4,2                ; @nvkm_ufault
.subsections_via_symbols
