	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_engine
_init_engine:                           ## @init_engine
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	callq	_jerry_init
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	%r14, %rdi
	callq	_jerryx_debugger_serial_create
	jmp	LBB0_4
LBB0_3:
	movl	%r12d, %edi
	callq	_jerryx_debugger_tcp_create
LBB0_4:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.6:
	xorl	%eax, %eax
	callq	_jerryx_debugger_ws_create
	jmp	LBB0_9
LBB0_7:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.8:
	xorl	%eax, %eax
	callq	_jerryx_debugger_rp_create
LBB0_9:
	testq	%rax, %rax
	setne	%al
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	movzbl	%al, %edi
	callq	_jerryx_debugger_after_connect
LBB0_13:
	movq	_jerryx_handler_assert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_register_js_function
	movq	_jerryx_handler_gc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdi
	callq	_register_js_function
	movq	_jerryx_handler_print@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdi
	callq	_register_js_function
	movq	_jerryx_handler_resource_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_register_js_function           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"tcp"

L_.str.2:                               ## @.str.2
	.asciz	"serial"

L_.str.3:                               ## @.str.3
	.asciz	"rawpacket"

L_.str.4:                               ## @.str.4
	.asciz	"websocket"

L_.str.5:                               ## @.str.5
	.asciz	"assert"

	.comm	_jerryx_handler_assert,4,2      ## @jerryx_handler_assert
L_.str.6:                               ## @.str.6
	.asciz	"gc"

	.comm	_jerryx_handler_gc,4,2          ## @jerryx_handler_gc
L_.str.7:                               ## @.str.7
	.asciz	"print"

	.comm	_jerryx_handler_print,4,2       ## @jerryx_handler_print
L_.str.8:                               ## @.str.8
	.asciz	"resourceName"

	.comm	_jerryx_handler_resource_name,4,2 ## @jerryx_handler_resource_name
	.no_dead_strip	_init_engine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_engine
_init_engine:                           ; @init_engine
	.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
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	bl	_jerry_init
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_jerryx_debugger_serial_create
	b	LBB0_4
LBB0_3:
	mov	x0, x22
	bl	_jerryx_debugger_tcp_create
LBB0_4:
	mov	x20, x0
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.5:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	cbz	w20, LBB0_10
; %bb.6:
	bl	_jerryx_debugger_ws_create
	b	LBB0_9
LBB0_7:
	cbz	w20, LBB0_10
; %bb.8:
	bl	_jerryx_debugger_rp_create
LBB0_9:
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	bl	_jerryx_debugger_after_connect
LBB0_12:
Lloh10:
	adrp	x8, _jerryx_handler_assert@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jerryx_handler_assert@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_register_js_function
Lloh15:
	adrp	x8, _jerryx_handler_gc@GOTPAGE
Lloh16:
	ldr	x8, [x8, _jerryx_handler_gc@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_register_js_function
Lloh20:
	adrp	x8, _jerryx_handler_print@GOTPAGE
Lloh21:
	ldr	x8, [x8, _jerryx_handler_print@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_register_js_function
Lloh25:
	adrp	x8, _jerryx_handler_resource_name@GOTPAGE
Lloh26:
	ldr	x8, [x8, _jerryx_handler_resource_name@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x0, l_.str.8@PAGE
Lloh29:
	add	x0, x0, l_.str.8@PAGEOFF
	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	_register_js_function
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"tcp"

l_.str.2:                               ; @.str.2
	.asciz	"serial"

l_.str.3:                               ; @.str.3
	.asciz	"rawpacket"

l_.str.4:                               ; @.str.4
	.asciz	"websocket"

l_.str.5:                               ; @.str.5
	.asciz	"assert"

	.comm	_jerryx_handler_assert,4,2      ; @jerryx_handler_assert
l_.str.6:                               ; @.str.6
	.asciz	"gc"

	.comm	_jerryx_handler_gc,4,2          ; @jerryx_handler_gc
l_.str.7:                               ; @.str.7
	.asciz	"print"

	.comm	_jerryx_handler_print,4,2       ; @jerryx_handler_print
l_.str.8:                               ; @.str.8
	.asciz	"resourceName"

	.comm	_jerryx_handler_resource_name,4,2 ; @jerryx_handler_resource_name
	.no_dead_strip	_init_engine
.subsections_via_symbols
