	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_mpeg_cclass_bind
_nv50_mpeg_cclass_bind:                 ## @nv50_mpeg_cclass_bind
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movq	%rsi, %r8
	movq	(%rdi), %rax
	movl	(%rax), %edi
	movl	$512, %esi                      ## imm = 0x200
	movl	$1, %ecx
	movq	%r14, %r9
	callq	_nvkm_gpuobj_new
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %rdi
	callq	_nvkm_kmap
	movq	(%r14), %rdi
	movl	$112, %esi
	movl	$8396481, %edx                  ## imm = 0x801EC1
	callq	_nvkm_wo32
	movq	(%r14), %rdi
	movl	$124, %esi
	movl	$892, %edx                      ## imm = 0x37C
	callq	_nvkm_wo32
	movq	(%r14), %rdi
	callq	_nvkm_done
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nv50_mpeg_cclass_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_mpeg_cclass_bind
_nv50_mpeg_cclass_bind:                 ; @nv50_mpeg_cclass_bind
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x4, x1
	ldr	x8, [x0]
	ldr	w0, [x8]
	mov	w1, #512
	mov	w3, #1
	mov	x5, x19
	bl	_nvkm_gpuobj_new
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x19]
	bl	_nvkm_kmap
	ldr	x0, [x19]
	mov	w1, #112
	mov	w2, #7873
	movk	w2, #128, lsl #16
	bl	_nvkm_wo32
	ldr	x0, [x19]
	mov	w1, #124
	mov	w2, #892
	bl	_nvkm_wo32
	ldr	x0, [x19]
	bl	_nvkm_done
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nv50_mpeg_cclass_bind
.subsections_via_symbols
