	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prom_feval                     ## -- Begin function prom_feval
	.p2align	4, 0x90
_prom_feval:                            ## @prom_feval
	.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
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_6
## %bb.2:
	movq	_prom_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_prom_vers@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_PROM_V0@GOTPCREL(%rip), %rdx
	movq	_romvec@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	8(%rax), %r14
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	*%r14
	jmp	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_5:
	xorl	%eax, %eax
	callq	_restore_current
	movq	_prom_lock@GOTPCREL(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_prom_lock,4,2                  ## @prom_lock
	.comm	_prom_vers,8,3                  ## @prom_vers
	.comm	_PROM_V0,8,3                    ## @PROM_V0
	.comm	_romvec,8,3                     ## @romvec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prom_feval                     ; -- Begin function prom_feval
	.p2align	2
_prom_feval:                            ; @prom_feval
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x0, _prom_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _prom_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x8, _prom_vers@GOTPAGE
Lloh3:
	ldr	x8, [x8, _prom_vers@GOTPAGEOFF]
Lloh4:
	adrp	x9, _PROM_V0@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PROM_V0@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x8]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x8, _romvec@GOTPAGE
Lloh9:
	ldr	x8, [x8, _romvec@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x10, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x20, [x8, #8]
	mov	x0, x19
	bl	_strlen
	mov	x1, x19
	blr	x20
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_6:
	bl	_restore_current
Lloh11:
	adrp	x0, _prom_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _prom_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_prom_lock,4,2                  ; @prom_lock
	.comm	_prom_vers,8,3                  ; @prom_vers
	.comm	_PROM_V0,8,3                    ; @PROM_V0
	.comm	_romvec,8,3                     ; @romvec
.subsections_via_symbols
