	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ce_new                   ## -- Begin function gf100_ce_new
	.p2align	4, 0x90
_gf100_ce_new:                          ## @gf100_ce_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r9
	movl	%esi, %edx
	movq	%rdi, %rsi
	movq	_NVKM_ENGINE_CE0@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_1
## %bb.3:
	movq	_gf100_ce0@GOTPCREL(%rip), %rdi
	movl	$1, %ecx
	movl	$1064960, %r8d                  ## imm = 0x104000
	popq	%rbp
	jmp	_nvkm_falcon_new_               ## TAILCALL
LBB0_1:
	movq	_NVKM_ENGINE_CE1@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.4:
	movq	_gf100_ce1@GOTPCREL(%rip), %rdi
	movl	$1, %ecx
	movl	$1069056, %r8d                  ## imm = 0x105000
	popq	%rbp
	jmp	_nvkm_falcon_new_               ## TAILCALL
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_ENGINE_CE0,4,2            ## @NVKM_ENGINE_CE0
	.comm	_gf100_ce0,4,2                  ## @gf100_ce0
	.comm	_NVKM_ENGINE_CE1,4,2            ## @NVKM_ENGINE_CE1
	.comm	_gf100_ce1,4,2                  ## @gf100_ce1
	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_ce_new                   ; -- Begin function gf100_ce_new
	.p2align	2
_gf100_ce_new:                          ; @gf100_ce_new
	.cfi_startproc
; %bb.0:
	mov	x5, x2
	mov	x2, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _NVKM_ENGINE_CE0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVKM_ENGINE_CE0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, _gf100_ce0@GOTPAGE
Lloh4:
	ldr	x0, [x0, _gf100_ce0@GOTPAGEOFF]
	mov	w3, #1
	mov	w4, #16384
	movk	w4, #16, lsl #16
	b	_nvkm_falcon_new_
LBB0_2:
Lloh5:
	adrp	x8, _NVKM_ENGINE_CE1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NVKM_ENGINE_CE1@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #16384
	movk	w8, #16, lsl #16
	orr	w4, w8, #0x1000
Lloh8:
	adrp	x0, _gf100_ce1@GOTPAGE
Lloh9:
	ldr	x0, [x0, _gf100_ce1@GOTPAGEOFF]
	mov	w3, #1
	b	_nvkm_falcon_new_
LBB0_4:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_ENGINE_CE0,4,2            ; @NVKM_ENGINE_CE0
	.comm	_gf100_ce0,4,2                  ; @gf100_ce0
	.comm	_NVKM_ENGINE_CE1,4,2            ; @NVKM_ENGINE_CE1
	.comm	_gf100_ce1,4,2                  ; @gf100_ce1
	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
