	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prom_alloc                     ## -- Begin function prom_alloc
	.p2align	4, 0x90
_prom_alloc:                            ## @prom_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_prom_vers@GOTPCREL(%rip), %rax
	movq	_PROM_V0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	je	LBB0_2
## %bb.3:
	movq	_romvec@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_alloc                     ; -- Begin function prom_alloc
	.p2align	2
_prom_alloc:                            ; @prom_alloc
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _prom_vers@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prom_vers@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PROM_V0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PROM_V0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _romvec@GOTPAGE
Lloh7:
	ldr	x8, [x8, _romvec@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x2, [x8]
	br	x2
LBB0_3:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_prom_vers,8,3                  ; @prom_vers
	.comm	_PROM_V0,8,3                    ; @PROM_V0
	.comm	_romvec,8,3                     ; @romvec
.subsections_via_symbols
