	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prom_getsibling                ## -- Begin function prom_getsibling
	.p2align	4, 0x90
_prom_getsibling:                       ## @prom_getsibling
	.cfi_startproc
## %bb.0:
	cmpl	$-1, %edi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	___prom_getsibling
	movl	%eax, %ecx
	leal	1(%rcx), %edx
	xorl	%eax, %eax
	cmpl	$2, %edx
	cmovael	%ecx, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prom_getsibling                ; -- Begin function prom_getsibling
	.p2align	2
_prom_getsibling:                       ; @prom_getsibling
	.cfi_startproc
; %bb.0:
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	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
	bl	___prom_getsibling
	add	w8, w0, #1
	cmp	w8, #2
	csel	w0, wzr, w0, lo
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
