	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ecx
	movq	_main_opts@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leal	-1(%rcx), %esi
	leaq	8(%r15), %rdx
	callq	_cli_init
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_cli_consume_option
	movq	_CLI_OPT_END@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_1
LBB0_14:
	leaq	-48(%rbp), %rdi
	callq	_check_cli_error
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_JERRY_STANDALONE_EXIT_CODE_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_1:
	leaq	-48(%rbp), %r12
	leaq	L_.str.4(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -48(%rbp)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_cli_consume_option
	cmpl	(%r13), %eax
	je	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$128, %eax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_cli_consume_string
	cmpq	$0, -48(%rbp)
	jne	LBB0_13
## %bb.5:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	_JERRY_LOG_LEVEL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_jerry_port_log
	movq	(%r15), %rdi
	callq	_print_commands
	movq	_JERRY_STANDALONE_EXIT_CODE_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	(%r15), %rdi
	callq	_print_commands
	movq	_JERRY_STANDALONE_EXIT_CODE_OK@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r15), %rdx
	leaq	-48(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_process_merge
	jmp	LBB0_18
LBB0_8:
	movq	(%r15), %rdx
	leaq	-48(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_process_literal_dump
	jmp	LBB0_18
LBB0_10:
	movq	(%r15), %rdx
	leaq	-48(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_process_generate
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_main_opts,4,2                  ## @main_opts
	.comm	_CLI_OPT_END,4,2                ## @CLI_OPT_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"merge"

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

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

	.comm	_JERRY_LOG_LEVEL_ERROR,4,2      ## @JERRY_LOG_LEVEL_ERROR
L_.str.3:                               ## @.str.3
	.asciz	"Error: unknown command: %s\n\n"

	.comm	_JERRY_STANDALONE_EXIT_CODE_FAIL,4,2 ## @JERRY_STANDALONE_EXIT_CODE_FAIL
L_.str.4:                               ## @.str.4
	.asciz	"Internal error"

	.comm	_JERRY_STANDALONE_EXIT_CODE_OK,4,2 ## @JERRY_STANDALONE_EXIT_CODE_OK
.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _main_opts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _main_opts@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	sub	w1, w20, #1
	add	x2, x19, #8
	bl	_cli_init
	str	x0, [sp, #8]
	add	x0, sp, #8
	bl	_cli_consume_option
Lloh3:
	adrp	x22, _CLI_OPT_END@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CLI_OPT_END@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_3
LBB0_1:
	add	x0, sp, #8
	bl	_check_cli_error
	cbz	x0, LBB0_13
LBB0_2:
Lloh5:
	adrp	x8, _JERRY_STANDALONE_EXIT_CODE_FAIL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _JERRY_STANDALONE_EXIT_CODE_FAIL@GOTPAGEOFF]
	b	LBB0_14
LBB0_3:
Lloh7:
	adrp	x23, l_.str.4@PAGE
Lloh8:
	add	x23, x23, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	x23, [sp, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_cli_consume_option
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w0, #129
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	bl	_cli_consume_string
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_5
; %bb.9:
	mov	x21, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.10:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.11:
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.12:
Lloh15:
	adrp	x8, _JERRY_LOG_LEVEL_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _JERRY_LOG_LEVEL_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x21
	bl	_jerry_port_log
	ldr	x0, [x19]
	bl	_print_commands
	b	LBB0_2
LBB0_13:
	ldr	x0, [x19]
	bl	_print_commands
Lloh20:
	adrp	x8, _JERRY_STANDALONE_EXIT_CODE_OK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _JERRY_STANDALONE_EXIT_CODE_OK@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
	ldr	x2, [x19]
	add	x0, sp, #8
	mov	x1, x20
	bl	_process_merge
	b	LBB0_15
LBB0_17:
	ldr	x2, [x19]
	add	x0, sp, #8
	mov	x1, x20
	bl	_process_literal_dump
	b	LBB0_15
LBB0_18:
	ldr	x2, [x19]
	add	x0, sp, #8
	mov	x1, x20
	bl	_process_generate
	b	LBB0_15
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_main_opts,4,2                  ; @main_opts
	.comm	_CLI_OPT_END,4,2                ; @CLI_OPT_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"merge"

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

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

	.comm	_JERRY_LOG_LEVEL_ERROR,4,2      ; @JERRY_LOG_LEVEL_ERROR
l_.str.3:                               ; @.str.3
	.asciz	"Error: unknown command: %s\n\n"

	.comm	_JERRY_STANDALONE_EXIT_CODE_FAIL,4,2 ; @JERRY_STANDALONE_EXIT_CODE_FAIL
l_.str.4:                               ; @.str.4
	.asciz	"Internal error"

	.comm	_JERRY_STANDALONE_EXIT_CODE_OK,4,2 ; @JERRY_STANDALONE_EXIT_CODE_OK
.subsections_via_symbols
