	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_validator2_handler
_test_validator2_handler:               ## @test_validator2_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	$32, %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, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_JERRY_UNUSED
	movq	_JERRYX_ARG_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_thing_a_info@GOTPCREL(%rip), %rsi
	leaq	-56(%rbp), %rdi
	callq	_jerryx_arg_native_pointer
	movl	%eax, -48(%rbp)
	movq	_my_custom_transform@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$5, %esi
	callq	_jerryx_arg_custom
	movl	%eax, -44(%rbp)
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	movl	%eax, %r8d
	callq	_jerryx_arg_transform_this_and_args
	movl	%eax, %r15d
	movq	_validator2_count@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	movl	%eax, %edi
	callq	_jerry_value_is_error
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movq	-56(%rbp), %rax
	xorl	%edi, %edi
	cmpq	_my_thing_a@GOTPCREL(%rip), %rax
	sete	%dil
	callq	_TEST_ASSERT
	movq	-56(%rbp), %rcx
	xorl	%eax, %eax
	cmpl	$1, (%rcx)
	sete	%al
LBB0_2:
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%r15d, %edi
	callq	_jerry_release_value
	incq	(%r14)
	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	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_thing_a_info,4,2               ## @thing_a_info
	.comm	_JERRYX_ARG_REQUIRED,4,2        ## @JERRYX_ARG_REQUIRED
	.comm	_my_custom_transform,4,2        ## @my_custom_transform
	.comm	_validator2_count,8,3           ## @validator2_count
	.comm	_my_thing_a,4,2                 ## @my_thing_a
	.no_dead_strip	_test_validator2_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_validator2_handler
_test_validator2_handler:               ; @test_validator2_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	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]
	str	x8, [sp, #24]
	bl	_JERRY_UNUSED
Lloh3:
	adrp	x8, _JERRYX_ARG_REQUIRED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JERRYX_ARG_REQUIRED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, _thing_a_info@GOTPAGE
Lloh7:
	ldr	x1, [x1, _thing_a_info@GOTPAGEOFF]
	add	x0, sp, #8
	bl	_jerryx_arg_native_pointer
	str	w0, [sp, #16]
Lloh8:
	adrp	x8, _my_custom_transform@GOTPAGE
Lloh9:
	ldr	x8, [x8, _my_custom_transform@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, #0
	mov	w1, #5
	bl	_jerryx_arg_custom
	str	w0, [sp, #20]
	add	x0, sp, #16
	bl	_ARRAY_SIZE
	mov	x4, x0
	add	x3, sp, #16
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_jerryx_arg_transform_this_and_args
	mov	x19, x0
Lloh11:
	adrp	x20, _validator2_count@GOTPAGE
Lloh12:
	ldr	x20, [x20, _validator2_count@GOTPAGEOFF]
	ldr	x21, [x20]
	bl	_jerry_value_is_error
	cbnz	x21, LBB0_2
; %bb.1:
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	ldr	x8, [sp, #8]
Lloh13:
	adrp	x9, _my_thing_a@GOTPAGE
Lloh14:
	ldr	x9, [x9, _my_thing_a@GOTPAGEOFF]
	cmp	x8, x9
	cset	w0, eq
	bl	_TEST_ASSERT
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	cset	w0, eq
LBB0_2:
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_jerry_release_value
	ldr	x8, [x20]
	add	x8, x8, #1
	str	x8, [x20]
	bl	_jerry_create_undefined
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	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
	add	sp, sp, #80
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_thing_a_info,4,2               ; @thing_a_info
	.comm	_JERRYX_ARG_REQUIRED,4,2        ; @JERRYX_ARG_REQUIRED
	.comm	_my_custom_transform,4,2        ; @my_custom_transform
	.comm	_validator2_count,8,3           ; @validator2_count
	.comm	_my_thing_a,4,2                 ; @my_thing_a
	.no_dead_strip	_test_validator2_handler
.subsections_via_symbols
