	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stack_topn_exprval
_stack_topn_exprval:                    ## @stack_topn_exprval
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %r14
	leal	1(%r15), %r12d
	movl	%r12d, %esi
	callq	_stack_topn
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jsval_type
	cmpl	$128, %eax
	je	LBB0_15
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_14
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_16
## %bb.3:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movl	%ebx, %edi
	movq	%rax, %rbx
	callq	_get_number
	movq	%rax, %r13
	movq	8(%rbx), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_12
## %bb.4:
	cmpl	%r13d, (%rbx)
	jbe	LBB0_5
LBB0_12:
	movq	_EXPRVAL_STACK_REF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 32(%rcx)
	movl	%r13d, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_15:
	movq	_EXPRVAL_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r13)
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_stack_topn
	movl	%eax, %edi
	callq	_is_number
	movl	%eax, %edi
	callq	_assert
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_stack_topn
	movl	%eax, %edi
	callq	_get_number
	movq	%rax, 8(%r13)
	jmp	LBB0_17
LBB0_14:
	movq	_EXPRVAL_IDREF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r13)
	movl	%ebx, %edi
	callq	_get_object
	movl	%eax, 24(%r13)
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_stack_topn
	movl	%eax, %edi
	callq	_is_number
	movl	%eax, %edi
	callq	_assert
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_stack_topn
	movl	%eax, %edi
	callq	_get_number
	movq	%rax, 16(%r13)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	xorl	%edi, %edi
	callq	_assert
LBB0_17:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	addl	4(%rbx), %eax
	xorl	%edi, %edi
	cmpl	%r13d, %eax
	seta	%dil
	callq	_assert
	movl	4(%rbx), %ecx
	movq	16(%rbx), %rax
	cmpl	%r13d, %ecx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jbe	LBB0_6
## %bb.7:
	subl	(%rbx), %r13d
	shlq	$2, %r13
	addq	8(%rax), %r13
	jmp	LBB0_8
LBB0_6:
	subl	%ecx, %r13d
	shlq	$2, %r13
	addq	16(%rax), %r13
LBB0_8:
	movl	(%r13), %esi
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %edi
	leaq	-56(%rbp), %rcx
	xorl	%edx, %edx
	callq	_jsdisp_get_id
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_FAILED
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	_EXPRVAL_INVALID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, 8(%rdx)
	movq	_FALSE@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_10:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rax
	movl	4(%rax), %edi
	callq	_jsdisp_addref
	movl	%eax, %edi
	callq	_jsval_obj
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_stack_top_ref
	movl	%ebx, (%rax)
	movq	-56(%rbp), %rdi
	callq	_jsval_number
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_stack_top_ref
	movl	%ebx, (%rax)
	movq	_EXPRVAL_IDREF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r13), %rcx
	movl	(%rcx), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, 24(%rdx)
	movq	-56(%rbp), %rcx
	movq	%rcx, 16(%rdx)
	movq	_TRUE@GOTPCREL(%rip), %rcx
LBB0_11:
	movq	%rax, 32(%rdx)
	movl	(%rcx), %eax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_EXPRVAL_INVALID,8,3            ## @EXPRVAL_INVALID
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_EXPRVAL_IDREF,8,3              ## @EXPRVAL_IDREF
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_EXPRVAL_STACK_REF,8,3          ## @EXPRVAL_STACK_REF
	.no_dead_strip	_stack_topn_exprval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stack_topn_exprval
_stack_topn_exprval:                    ; @stack_topn_exprval
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	w22, w1, #1
	mov	x1, x22
	bl	_stack_topn
	mov	x23, x0
	bl	_jsval_type
	cmp	w0, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_9
; %bb.3:
	ldr	x24, [x21]
	mov	x0, x23
	bl	_get_number
	mov	x23, x0
	ldr	x8, [x24, #8]
	ldr	w8, [x8, #8]
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	w8, [x24]
	cmp	w8, w23
	b.ls	LBB0_13
LBB0_5:
Lloh0:
	adrp	x8, _EXPRVAL_STACK_REF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXPRVAL_STACK_REF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	str	w23, [x19]
	b	LBB0_8
LBB0_6:
Lloh3:
	adrp	x8, _EXPRVAL_INVALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXPRVAL_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	mov	x0, x21
	mov	x1, x20
	bl	_stack_topn
	bl	_is_number
	bl	_assert
	mov	x0, x21
	mov	x1, x20
	bl	_stack_topn
	bl	_get_number
	str	x0, [x19, #8]
	b	LBB0_10
LBB0_7:
Lloh6:
	adrp	x8, _EXPRVAL_IDREF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EXPRVAL_IDREF@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	mov	x0, x23
	bl	_get_object
	str	w0, [x19, #24]
	mov	x0, x21
	mov	x1, x20
	bl	_stack_topn
	bl	_is_number
	bl	_assert
	mov	x0, x21
	mov	x1, x20
	bl	_stack_topn
	bl	_get_number
	str	x0, [x19, #16]
LBB0_8:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	mov	w0, #0
	bl	_assert
LBB0_10:
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	ldr	w8, [x24, #4]
	ldr	x9, [x24, #16]
	ldr	w9, [x9]
	add	w8, w9, w8
	cmp	w8, w23
	cset	w0, hi
	bl	_assert
	ldr	w8, [x24, #4]
	ldr	x9, [x24, #16]
	cmp	w8, w23
	b.ls	LBB0_15
; %bb.14:
	ldr	x8, [x9, #8]
	ldr	w9, [x24]
	sub	w9, w23, w9
	add	x8, x8, w9, uxtw #2
	b	LBB0_16
LBB0_15:
	ldr	x9, [x9, #16]
	sub	w8, w23, w8
	add	x8, x9, w8, uxtw #2
LBB0_16:
	ldr	w1, [x8]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w0, [x8, #4]
	add	x3, sp, #8
	mov	w2, #0
	bl	_jsdisp_get_id
	mov	x23, x0
	bl	_FAILED
	cbz	w0, LBB0_18
; %bb.17:
Lloh13:
	adrp	x8, _EXPRVAL_INVALID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EXPRVAL_INVALID@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x23, [x19, #8]
Lloh16:
	adrp	x9, _FALSE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
	ldr	x8, [x24, #8]
	ldr	w0, [x8, #4]
	bl	_jsdisp_addref
	bl	_jsval_obj
	mov	x23, x0
	mov	x0, x21
	mov	x1, x22
	bl	_stack_top_ref
	str	w23, [x0]
	ldr	x0, [sp, #8]
	bl	_jsval_number
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_stack_top_ref
	str	w22, [x0]
Lloh18:
	adrp	x8, _EXPRVAL_IDREF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EXPRVAL_IDREF@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x9, [x24, #8]
	ldr	w9, [x9]
	str	w9, [x19, #24]
	ldr	x9, [sp, #8]
	str	x9, [x19, #16]
Lloh21:
	adrp	x9, _TRUE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
LBB0_19:
	str	x8, [x19, #32]
	ldr	w0, [x9]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_EXPRVAL_INVALID,8,3            ; @EXPRVAL_INVALID
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_EXPRVAL_IDREF,8,3              ; @EXPRVAL_IDREF
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_EXPRVAL_STACK_REF,8,3          ; @EXPRVAL_STACK_REF
	.no_dead_strip	_stack_topn_exprval
.subsections_via_symbols
