	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stack_peek                     ## -- Begin function stack_peek
	.p2align	4, 0x90
_stack_peek:                            ## @stack_peek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rax
	cmpq	$-1, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %rcx
	movq	(%rcx,%rax,8), %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stack_peek                     ; -- Begin function stack_peek
	.p2align	2
_stack_peek:                            ; @stack_peek
	.cfi_startproc
; %bb.0:
	ldrsw	x8, [x0]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x0, [x9, x8, lsl #3]
	ret
LBB0_2:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
