	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_TEST_INIT
	movq	_JERRY_FEATURE_LINE_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jerry_is_feature_enabled
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_JERRY_INIT_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jerry_init
	xorl	%eax, %eax
	callq	_jerry_get_global_object
	movl	%eax, %r14d
	movq	_resource_name_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_jerry_create_external_function
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	callq	_jerry_create_string
	movl	%eax, %ebx
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_jerry_set_property
	movl	%eax, %edi
	callq	_jerry_release_value
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r15d, %edi
	callq	_jerry_release_value
	movl	%r14d, %edi
	callq	_jerry_release_value
	leaq	L_.str.3(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %r15
	movq	%r15, %rdi
	callq	_strlen
	movq	_JERRY_PARSE_NO_OPTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_jerry_parse
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_jerry_value_is_error
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r15d, %edi
	callq	_jerry_run
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_jerry_value_is_error
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r13d, %edi
	callq	_jerry_value_is_object
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%r13d, %edi
	callq	_jerry_get_resource_name
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_jerry_create_string
	movl	%eax, %ebx
	movq	_JERRY_BIN_OP_STRICT_EQUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_jerry_binary_operation
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r12d, %edi
	callq	_jerry_release_value
	movl	%r13d, %edi
	callq	_jerry_release_value
	movl	%r15d, %edi
	callq	_jerry_release_value
	leaq	L_.str.5(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %r15
	movq	%r15, %rdi
	callq	_strlen
	movq	_JERRY_PARSE_NO_OPTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_jerry_parse
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_jerry_value_is_error
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r15d, %edi
	callq	_jerry_run
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_jerry_value_is_error
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%r13d, %edi
	callq	_jerry_value_is_object
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%r13d, %edi
	callq	_jerry_get_resource_name
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_jerry_create_string
	movl	%eax, %ebx
	movq	_JERRY_BIN_OP_STRICT_EQUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_jerry_binary_operation
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_release_value
	movl	%r12d, %edi
	callq	_jerry_release_value
	movl	%r13d, %edi
	callq	_jerry_release_value
	movl	%r15d, %edi
	callq	_jerry_release_value
	xorl	%eax, %eax
	callq	_jerry_cleanup
	jmp	LBB0_3
LBB0_1:
	movq	_JERRY_LOG_LEVEL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_jerry_port_log
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JERRY_FEATURE_LINE_INFO,4,2    ## @JERRY_FEATURE_LINE_INFO
	.comm	_JERRY_LOG_LEVEL_ERROR,4,2      ## @JERRY_LOG_LEVEL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Line info support is disabled!\n"

	.comm	_JERRY_INIT_EMPTY,4,2           ## @JERRY_INIT_EMPTY
	.comm	_resource_name_handler,4,2      ## @resource_name_handler
L_.str.1:                               ## @.str.1
	.asciz	"resourceName"

L_.str.2:                               ## @.str.2
	.asciz	"function f1 () {\n  if (resourceName() !== 'demo1.js') return false; \n  if (resourceName(f1) !== 'demo1.js') return false; \n  if (resourceName(5) !== '<anonymous>') return false; \n  return f1; \n} \nf1();"

L_.str.3:                               ## @.str.3
	.asciz	"demo1.js"

	.comm	_JERRY_PARSE_NO_OPTS,4,2        ## @JERRY_PARSE_NO_OPTS
	.comm	_JERRY_BIN_OP_STRICT_EQUAL,4,2  ## @JERRY_BIN_OP_STRICT_EQUAL
L_.str.4:                               ## @.str.4
	.asciz	"function f2 () { \n  if (resourceName() !== 'demo2.js') return false; \n  if (resourceName(f2) !== 'demo2.js') return false; \n  if (resourceName(f1) !== 'demo1.js') return false; \n  if (resourceName(Object.prototype) !== '<anonymous>') return false; \n  if (resourceName(Function) !== '<anonymous>') return false; \n  return f2; \n} \nf2(); \n"

L_.str.5:                               ## @.str.5
	.asciz	"demo2.js"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	bl	_TEST_INIT
Lloh0:
	adrp	x8, _JERRY_FEATURE_LINE_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JERRY_FEATURE_LINE_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_jerry_is_feature_enabled
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _JERRY_INIT_EMPTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JERRY_INIT_EMPTY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_jerry_init
	bl	_jerry_get_global_object
	mov	x19, x0
Lloh6:
	adrp	x8, _resource_name_handler@GOTPAGE
Lloh7:
	ldr	x8, [x8, _resource_name_handler@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_jerry_create_external_function
	mov	x20, x0
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_jerry_create_string
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_jerry_set_property
	bl	_jerry_release_value
	mov	x0, x21
	bl	_jerry_release_value
	mov	x0, x20
	bl	_jerry_release_value
	mov	x0, x19
	bl	_jerry_release_value
Lloh11:
	adrp	x20, l_.str.3@PAGE
Lloh12:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strlen
	mov	x19, x0
Lloh13:
	adrp	x21, l_.str.2@PAGE
Lloh14:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strlen
	mov	x3, x0
Lloh15:
	adrp	x23, _JERRY_PARSE_NO_OPTS@GOTPAGE
Lloh16:
	ldr	x23, [x23, _JERRY_PARSE_NO_OPTS@GOTPAGEOFF]
	ldr	w4, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_jerry_parse
	mov	x19, x0
	bl	_jerry_value_is_error
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_jerry_run
	mov	x21, x0
	bl	_jerry_value_is_error
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_value_is_object
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_get_resource_name
	mov	x22, x0
	mov	x0, x20
	bl	_jerry_create_string
	mov	x20, x0
Lloh17:
	adrp	x24, _JERRY_BIN_OP_STRICT_EQUAL@GOTPAGE
Lloh18:
	ldr	x24, [x24, _JERRY_BIN_OP_STRICT_EQUAL@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x22
	mov	x2, x20
	bl	_jerry_binary_operation
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_jerry_release_value
	mov	x0, x22
	bl	_jerry_release_value
	mov	x0, x21
	bl	_jerry_release_value
	mov	x0, x19
	bl	_jerry_release_value
Lloh19:
	adrp	x20, l_.str.5@PAGE
Lloh20:
	add	x20, x20, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strlen
	mov	x19, x0
Lloh21:
	adrp	x21, l_.str.4@PAGE
Lloh22:
	add	x21, x21, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_strlen
	mov	x3, x0
	ldr	w4, [x23]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_jerry_parse
	mov	x19, x0
	bl	_jerry_value_is_error
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_jerry_run
	mov	x21, x0
	bl	_jerry_value_is_error
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_value_is_object
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_get_resource_name
	mov	x22, x0
	mov	x0, x20
	bl	_jerry_create_string
	mov	x20, x0
	ldr	w0, [x24]
	mov	x1, x22
	mov	x2, x20
	bl	_jerry_binary_operation
	bl	_TEST_ASSERT
	mov	x0, x20
	bl	_jerry_release_value
	mov	x0, x22
	bl	_jerry_release_value
	mov	x0, x21
	bl	_jerry_release_value
	mov	x0, x19
	bl	_jerry_release_value
	bl	_jerry_cleanup
	b	LBB0_3
LBB0_2:
Lloh23:
	adrp	x8, _JERRY_LOG_LEVEL_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _JERRY_LOG_LEVEL_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_jerry_port_log
LBB0_3:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_JERRY_FEATURE_LINE_INFO,4,2    ; @JERRY_FEATURE_LINE_INFO
	.comm	_JERRY_LOG_LEVEL_ERROR,4,2      ; @JERRY_LOG_LEVEL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Line info support is disabled!\n"

	.comm	_JERRY_INIT_EMPTY,4,2           ; @JERRY_INIT_EMPTY
	.comm	_resource_name_handler,4,2      ; @resource_name_handler
l_.str.1:                               ; @.str.1
	.asciz	"resourceName"

l_.str.2:                               ; @.str.2
	.asciz	"function f1 () {\n  if (resourceName() !== 'demo1.js') return false; \n  if (resourceName(f1) !== 'demo1.js') return false; \n  if (resourceName(5) !== '<anonymous>') return false; \n  return f1; \n} \nf1();"

l_.str.3:                               ; @.str.3
	.asciz	"demo1.js"

	.comm	_JERRY_PARSE_NO_OPTS,4,2        ; @JERRY_PARSE_NO_OPTS
	.comm	_JERRY_BIN_OP_STRICT_EQUAL,4,2  ; @JERRY_BIN_OP_STRICT_EQUAL
l_.str.4:                               ; @.str.4
	.asciz	"function f2 () { \n  if (resourceName() !== 'demo2.js') return false; \n  if (resourceName(f2) !== 'demo2.js') return false; \n  if (resourceName(f1) !== 'demo1.js') return false; \n  if (resourceName(Object.prototype) !== '<anonymous>') return false; \n  if (resourceName(Function) !== '<anonymous>') return false; \n  return f2; \n} \nf2(); \n"

l_.str.5:                               ; @.str.5
	.asciz	"demo2.js"

.subsections_via_symbols
