	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compile_return_statement
_compile_return_statement:              ## @compile_return_statement
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	movq	_JS_E_MISPLACED_RETURN@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_compile_expression
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_3
## %bb.6:
	movq	_OP_setret@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_push_instr
	testl	%eax, %eax
	je	LBB0_9
LBB0_7:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pop_to_stat
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_3
## %bb.8:
	movq	_OP_ret@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpq	$0, (%r14)
	sete	%dl
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_push_instr_uint                ## TAILCALL
LBB0_9:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"misplaced return statement\n"

	.comm	_JS_E_MISPLACED_RETURN,4,2      ## @JS_E_MISPLACED_RETURN
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_OP_setret,4,2                  ## @OP_setret
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_OP_ret,4,2                     ## @OP_ret
	.no_dead_strip	_compile_return_statement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compile_return_statement
_compile_return_statement:              ; @compile_return_statement
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
Lloh2:
	adrp	x8, _JS_E_MISPLACED_RETURN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JS_E_MISPLACED_RETURN@GOTPAGEOFF]
LBB0_2:
	ldr	w21, [x8]
LBB0_3:
	mov	x0, x21
	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
LBB0_4:
	mov	x20, x1
	mov	x19, x0
	ldr	x1, [x1]
	cbz	x1, LBB0_7
; %bb.5:
Lloh4:
	adrp	x8, _TRUE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_compile_expression
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_3
; %bb.6:
Lloh7:
	adrp	x8, _OP_setret@GOTPAGE
Lloh8:
	ldr	x8, [x8, _OP_setret@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_push_instr
	cbz	w0, LBB0_9
LBB0_7:
	mov	x0, x19
	mov	x1, #0
	bl	_pop_to_stat
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_3
; %bb.8:
Lloh10:
	adrp	x8, _OP_ret@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OP_ret@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w2, eq
	mov	x0, x19
	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
	b	_push_instr_uint
LBB0_9:
Lloh13:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"misplaced return statement\n"

	.comm	_JS_E_MISPLACED_RETURN,4,2      ; @JS_E_MISPLACED_RETURN
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_OP_setret,4,2                  ; @OP_setret
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_OP_ret,4,2                     ; @OP_ret
	.no_dead_strip	_compile_return_statement
.subsections_via_symbols
