	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PeekHistory                    ## -- Begin function PeekHistory
	.p2align	4, 0x90
_PeekHistory:                           ## @PeekHistory
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_curr_ptr@GOTPCREL(%rip), %rax
	movq	_Top@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	setne	%cl
	movq	_Bottom@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	movq	(%rax), %r14
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_ASSERT
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	js	LBB0_3
## %bb.4:
	movq	8(%r14), %rcx
	movq	(%r12), %rdx
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	movq	16(%r14), %rcx
	movq	(%r15), %rdx
LBB0_5:
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	je	LBB0_8
## %bb.6:
	cmpq	%rdx, %r14
	je	LBB0_8
## %bb.7:
	movq	(%rcx), %rax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curr_ptr,8,3                   ## @curr_ptr
	.comm	_Top,8,3                        ## @Top
	.comm	_Bottom,8,3                     ## @Bottom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PeekHistory                    ; -- Begin function PeekHistory
	.p2align	2
_PeekHistory:                           ; @PeekHistory
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _curr_ptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curr_ptr@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x21, _Top@GOTPAGE
Lloh4:
	ldr	x21, [x21, _Top@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #0
Lloh5:
	adrp	x22, _Bottom@GOTPAGE
Lloh6:
	ldr	x22, [x22, _Bottom@GOTPAGEOFF]
	ldr	x8, [x22]
	ccmp	x8, #0, #4, ne
	cset	w0, ne
	bl	_ASSERT
	cbz	x19, LBB0_5
; %bb.1:
	tbnz	x19, #63, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x9, [x22]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20, #16]
	ldr	x9, [x21]
LBB0_4:
	cmp	x8, x9
	ccmp	x20, x9, #4, ne
	b.ne	LBB0_6
LBB0_5:
	mov	x0, #0
	b	LBB0_7
LBB0_6:
	ldr	x0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_curr_ptr,8,3                   ; @curr_ptr
	.comm	_Top,8,3                        ; @Top
	.comm	_Bottom,8,3                     ; @Bottom
.subsections_via_symbols
