	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_secboot_reset             ## -- Begin function nvkm_secboot_reset
	.p2align	4, 0x90
_nvkm_secboot_reset:                    ## @nvkm_secboot_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	(%rdi), %rdi
	movq	(%rdi), %rcx
	notq	%rcx
	testq	%rsi, %rcx
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %rdx
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rsi
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_1:
	addq	$8, %rax
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_nvkm_error
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot reset unmanaged falcon!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvkm_secboot_reset             ; -- Begin function nvkm_secboot_reset
	.p2align	2
_nvkm_secboot_reset:                    ; @nvkm_secboot_reset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x1
	mov	x1, x0
	ldr	x0, [x0]
	ldr	x8, [x0]
	orr	x9, x8, x2
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x3, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	br	x3
LBB0_2:
	add	x0, x1, #8
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_nvkm_error
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot reset unmanaged falcon!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
