	.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
	movq	_JERRY_FEATURE_PROMISE@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	_test_promise_resolve_fail
	xorl	%eax, %eax
	callq	_test_promise_resolve_success
	xorl	%eax, %eax
	callq	_test_promise_from_js
	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
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JERRY_FEATURE_PROMISE,4,2      ## @JERRY_FEATURE_PROMISE
	.comm	_JERRY_LOG_LEVEL_ERROR,4,2      ## @JERRY_LOG_LEVEL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Promise is disabled!\n"

	.comm	_JERRY_INIT_EMPTY,4,2           ## @JERRY_INIT_EMPTY
.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	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _JERRY_FEATURE_PROMISE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JERRY_FEATURE_PROMISE@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	_test_promise_resolve_fail
	bl	_test_promise_resolve_success
	bl	_test_promise_from_js
	bl	_jerry_cleanup
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _JERRY_LOG_LEVEL_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JERRY_LOG_LEVEL_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_jerry_port_log
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_JERRY_FEATURE_PROMISE,4,2      ; @JERRY_FEATURE_PROMISE
	.comm	_JERRY_LOG_LEVEL_ERROR,4,2      ; @JERRY_LOG_LEVEL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Promise is disabled!\n"

	.comm	_JERRY_INIT_EMPTY,4,2           ; @JERRY_INIT_EMPTY
.subsections_via_symbols
