	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acr_boot_falcon_callback
_acr_boot_falcon_callback:              ## @acr_boot_falcon_callback
	.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	(%rdi), %rax
	movq	(%rax), %r14
	movq	8(%rsi), %rbx
	movq	_NVKM_SECBOOT_FALCON_END@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_1
## %bb.2:
	movq	_nvkm_secboot_falcon_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nvkm_debug                     ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_nvkm_error
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nvkm_error                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NVKM_SECBOOT_FALCON_END,8,3    ## @NVKM_SECBOOT_FALCON_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in bootstrap falcon callback:\n"

L_.str.1:                               ## @.str.1
	.asciz	"invalid falcon ID 0x%x\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s booted\n"

	.comm	_nvkm_secboot_falcon_name,8,3   ## @nvkm_secboot_falcon_name
	.no_dead_strip	_acr_boot_falcon_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acr_boot_falcon_callback
_acr_boot_falcon_callback:              ; @acr_boot_falcon_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	x20, [x1, #8]
Lloh0:
	adrp	x8, _NVKM_SECBOOT_FALCON_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVKM_SECBOOT_FALCON_END@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x20, x8
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _nvkm_secboot_falcon_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvkm_secboot_falcon_name@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w2, [x8, x20, lsl #2]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_nvkm_debug
LBB0_2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	str	x20, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_nvkm_error
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NVKM_SECBOOT_FALCON_END,8,3    ; @NVKM_SECBOOT_FALCON_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in bootstrap falcon callback:\n"

l_.str.1:                               ; @.str.1
	.asciz	"invalid falcon ID 0x%x\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s booted\n"

	.comm	_nvkm_secboot_falcon_name,8,3   ; @nvkm_secboot_falcon_name
	.no_dead_strip	_acr_boot_falcon_callback
.subsections_via_symbols
