	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function test_validator_array1_handler
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x4000000000000000              ## double 2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_test_validator_array1_handler:         ## @test_validator_array1_handler
	.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
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_JERRY_UNUSED
	movl	%ebx, %edi
	callq	_JERRY_UNUSED
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	_JERRYX_ARG_COERCE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_JERRYX_ARG_REQUIRED@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-80(%rbp), %rdi
	callq	_jerryx_arg_number
	movl	%eax, -52(%rbp)
	movl	(%rbx), %esi
	movl	(%r12), %edx
	leaq	-72(%rbp), %rdi
	callq	_jerryx_arg_number
	movl	%eax, -48(%rbp)
	movl	(%rbx), %esi
	movq	_JERRYX_ARG_OPTIONAL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-64(%rbp), %rdi
	callq	_jerryx_arg_number
	movl	%eax, -44(%rbp)
	leaq	-52(%rbp), %rax
	movq	%rax, -88(%rbp)
	movl	$3, -96(%rbp)
	movl	(%rbx), %esi
	leaq	-96(%rbp), %rdi
	callq	_jerryx_arg_array
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_jerryx_arg_transform_args
	movl	%eax, %edi
	callq	_jerry_value_is_error
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movq	_validator_array_count@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	cmpeqsd	-80(%rbp), %xmm0
	movq	%xmm0, %rdi
	andl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_TEST_ASSERT
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	cmpeqsd	-72(%rbp), %xmm0
	movq	%xmm0, %rdi
	andl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_TEST_ASSERT
	xorpd	%xmm0, %xmm0
	cmpeqsd	-64(%rbp), %xmm0
	movq	%xmm0, %rdi
	andl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_TEST_ASSERT
	movq	(%rbx), %rax
LBB0_2:
	incq	%rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_jerry_create_undefined
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_JERRYX_ARG_COERCE,4,2          ## @JERRYX_ARG_COERCE
	.comm	_JERRYX_ARG_REQUIRED,4,2        ## @JERRYX_ARG_REQUIRED
	.comm	_JERRYX_ARG_OPTIONAL,4,2        ## @JERRYX_ARG_OPTIONAL
	.comm	_validator_array_count,8,3      ## @validator_array_count
	.no_dead_strip	_test_validator_array1_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_validator_array1_handler
_test_validator_array1_handler:         ; @test_validator_array1_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_JERRY_UNUSED
	mov	x0, x21
	bl	_JERRY_UNUSED
	stp	xzr, xzr, [sp, #40]
	str	xzr, [sp, #32]
Lloh3:
	adrp	x21, _JERRYX_ARG_COERCE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _JERRYX_ARG_COERCE@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x22, _JERRYX_ARG_REQUIRED@GOTPAGE
Lloh6:
	ldr	x22, [x22, _JERRYX_ARG_REQUIRED@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x0, sp, #48
	bl	_jerryx_arg_number
	stur	w0, [x29, #-52]
	ldr	w1, [x21]
	ldr	w2, [x22]
	add	x0, sp, #40
	bl	_jerryx_arg_number
	stur	w0, [x29, #-48]
	ldr	w1, [x21]
Lloh7:
	adrp	x21, _JERRYX_ARG_OPTIONAL@GOTPAGE
Lloh8:
	ldr	x21, [x21, _JERRYX_ARG_OPTIONAL@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x0, sp, #32
	bl	_jerryx_arg_number
	stur	w0, [x29, #-44]
	sub	x8, x29, #52
	str	x8, [sp, #24]
	mov	w8, #3
	str	w8, [sp, #16]
	ldr	w1, [x21]
	add	x0, sp, #16
	bl	_jerryx_arg_array
	str	w0, [sp, #12]
	add	x0, sp, #12
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_jerryx_arg_transform_args
	bl	_jerry_value_is_error
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
Lloh9:
	adrp	x19, _validator_array_count@GOTPAGE
Lloh10:
	ldr	x19, [x19, _validator_array_count@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	d0, [sp, #48]
	fmov	d1, #1.00000000
	fcmp	d0, d1
	cset	w0, eq
	bl	_TEST_ASSERT
	ldr	d0, [sp, #40]
	fmov	d1, #2.00000000
	fcmp	d0, d1
	cset	w0, eq
	bl	_TEST_ASSERT
	ldr	d0, [sp, #32]
	fcmp	d0, #0.0
	cset	w0, eq
	bl	_TEST_ASSERT
	ldr	x8, [x19]
LBB0_2:
	add	x8, x8, #1
	str	x8, [x19]
	bl	_jerry_create_undefined
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_JERRYX_ARG_COERCE,4,2          ; @JERRYX_ARG_COERCE
	.comm	_JERRYX_ARG_REQUIRED,4,2        ; @JERRYX_ARG_REQUIRED
	.comm	_JERRYX_ARG_OPTIONAL,4,2        ; @JERRYX_ARG_OPTIONAL
	.comm	_validator_array_count,8,3      ; @validator_array_count
	.no_dead_strip	_test_validator_array1_handler
.subsections_via_symbols
