	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecma_builtin_function_helper_get_function_arguments
_ecma_builtin_function_helper_get_function_arguments: ## @ecma_builtin_function_helper_get_function_arguments
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	testl	%esi, %esi
	sete	%al
	testq	%rdi, %rdi
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_JERRY_ASSERT
	cmpl	$1, %r15d
	jg	LBB0_1
## %bb.9:
	movq	_LIT_MAGIC_STRING__EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ecma_make_magic_string_value   ## TAILCALL
LBB0_1:
	movl	(%r14), %edi
	callq	_ecma_op_to_string
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_JERRY_UNLIKELY
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	_ECMA_VALUE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	$2, %r15d
	je	LBB0_8
## %bb.3:
	decl	%r15d
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r13,4), %edi
	callq	_ecma_op_to_string
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_JERRY_UNLIKELY
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_LIT_MAGIC_STRING_COMMA_CHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_ecma_append_magic_string_to_string
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_ecma_concat_ecma_strings
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_ecma_deref_ecma_string
	incq	%r13
	cmpq	%r13, %r15
	jne	LBB0_4
LBB0_8:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ecma_make_string_value         ## TAILCALL
LBB0_5:
	movq	%r12, %rdi
	callq	_ecma_deref_ecma_string
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_LIT_MAGIC_STRING__EMPTY,4,2    ## @LIT_MAGIC_STRING__EMPTY
	.comm	_ECMA_VALUE_ERROR,4,2           ## @ECMA_VALUE_ERROR
	.comm	_LIT_MAGIC_STRING_COMMA_CHAR,4,2 ## @LIT_MAGIC_STRING_COMMA_CHAR
	.no_dead_strip	_ecma_builtin_function_helper_get_function_arguments
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecma_builtin_function_helper_get_function_arguments
_ecma_builtin_function_helper_get_function_arguments: ; @ecma_builtin_function_helper_get_function_arguments
	.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
	mov	x21, x1
	mov	x20, x0
	cmp	x0, #0
	ccmp	w1, #0, #4, eq
	cset	w0, eq
	bl	_JERRY_ASSERT
	subs	w22, w21, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _LIT_MAGIC_STRING__EMPTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIT_MAGIC_STRING__EMPTY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	b	_ecma_make_magic_string_value
LBB0_2:
	ldr	w0, [x20]
	bl	_ecma_op_to_string
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_JERRY_UNLIKELY
	cbz	x0, LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _ECMA_VALUE_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECMA_VALUE_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
LBB0_4:
	cmp	w21, #2
	b.eq	LBB0_8
; %bb.5:
	add	x21, x20, #4
	sub	x22, x22, #1
Lloh6:
	adrp	x23, _LIT_MAGIC_STRING_COMMA_CHAR@GOTPAGE
Lloh7:
	ldr	x23, [x23, _LIT_MAGIC_STRING_COMMA_CHAR@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_ecma_op_to_string
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_JERRY_UNLIKELY
	cbnz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_ecma_append_magic_string_to_string
	mov	x1, x20
	bl	_ecma_concat_ecma_strings
	mov	x19, x0
	mov	x0, x20
	bl	_ecma_deref_ecma_string
	add	x21, x21, #4
	subs	x22, x22, #1
	b.ne	LBB0_6
LBB0_8:
	mov	x0, x19
	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
	b	_ecma_make_string_value
LBB0_9:
	mov	x0, x19
	bl	_ecma_deref_ecma_string
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LIT_MAGIC_STRING__EMPTY,4,2    ; @LIT_MAGIC_STRING__EMPTY
	.comm	_ECMA_VALUE_ERROR,4,2           ; @ECMA_VALUE_ERROR
	.comm	_LIT_MAGIC_STRING_COMMA_CHAR,4,2 ; @LIT_MAGIC_STRING_COMMA_CHAR
	.no_dead_strip	_ecma_builtin_function_helper_get_function_arguments
.subsections_via_symbols
