	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_uclient_new
_nvkm_uclient_new:                      ## @nvkm_uclient_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	%rcx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, -48(%rbp)
	movl	%edx, -28(%rbp)
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	movl	(%rsi), %ecx
	movq	8(%rsi), %r8
	leaq	-48(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_nvif_unpack
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rax
	movq	$0, 56(%rax)
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	movq	(%r15), %rax
	movl	4(%rax), %r8d
	leaq	-40(%rbp), %r9
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_nvkm_client_new
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	(%r15), %rax
	movq	-40(%rbp), %rcx
	movq	%rax, 16(%rcx)
	movups	8(%r15), %xmm0
	movups	%xmm0, (%rcx)
	movl	(%rax), %eax
	movl	%eax, 24(%rcx)
	movq	%rcx, (%r14)
	xorl	%eax, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_nvkm_uclient_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_uclient_new
_nvkm_uclient_new:                      ; @nvkm_uclient_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, x3
	mov	x21, x1
	mov	x20, x0
	str	x1, [sp, #24]
	str	w2, [sp, #20]
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x3, x4, [x1]
	add	x1, sp, #24
	add	x2, sp, #20
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_nvif_unpack
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x21, #8]
	str	xzr, [x8, #56]
	ldr	x0, [x21, #8]
	ldr	w1, [x21]
	ldr	x8, [x20]
	ldr	w4, [x8, #4]
	add	x5, sp, #8
	mov	x2, #0
	mov	x3, #0
	bl	_nvkm_client_new
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [sp, #8]
	str	x8, [x9, #16]
	ldur	q0, [x20, #8]
	str	q0, [x9]
	ldr	w8, [x8]
	str	w8, [x9, #24]
	str	x9, [x19]
LBB0_3:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_nvkm_uclient_new
.subsections_via_symbols
