	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_instanceof
_test_instanceof:                       ## @test_instanceof
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	%esi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_jerry_construct_object
	movl	%eax, %r14d
	movl	%eax, -40(%rbp)
	movl	%ebx, -36(%rbp)
	xorl	%eax, %eax
	callq	_jerry_create_undefined
	movl	%eax, %ebx
	leaq	-40(%rbp), %rdx
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$2, %ecx
	callq	_jerry_call_function
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r15d, %edi
	callq	_jerry_value_is_error
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r15d, %edi
	callq	_jerry_value_is_boolean
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%r15d, %edi
	callq	_jerry_get_boolean_value
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%r14d, %edi
	callq	_jerry_release_value
	movl	%r15d, %edi
	callq	_jerry_release_value
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_instanceof
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_instanceof
_test_instanceof:                       ; @test_instanceof
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	mov	x0, x1
	mov	x1, #0
	mov	w2, #0
	bl	_jerry_construct_object
	mov	x21, x0
	stp	w0, w19, [sp]
	bl	_jerry_create_undefined
	mov	x19, x0
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	mov	w3, #2
	bl	_jerry_call_function
	mov	x20, x0
	mov	x0, x19
	bl	_jerry_release_value
	mov	x0, x20
	bl	_jerry_value_is_error
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_jerry_value_is_boolean
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_jerry_get_boolean_value
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_release_value
	mov	x0, x20
	bl	_jerry_release_value
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_instanceof
.subsections_via_symbols
