	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_typedarray_info
_test_typedarray_info:                  ## @test_typedarray_info
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	%edi, %ebx
	callq	_jerry_value_is_error
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_value_is_typedarray
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_get_typedarray_type
	xorl	%edi, %edi
	cmpq	%r12, %rax
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_get_typedarray_length
	xorl	%edi, %edi
	cmpq	%r14, %rax
	sete	%dil
	callq	_TEST_ASSERT
	movq	$-1, -48(%rbp)
	movq	$-1, -40(%rbp)
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	callq	_jerry_get_typedarray_buffer
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_jerry_value_is_arraybuffer
	movl	%eax, %edi
	callq	_TEST_ASSERT
	imulq	%r14, %r15
	xorl	%edi, %edi
	cmpq	%r15, -48(%rbp)
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%edi, %edi
	cmpq	$0, -40(%rbp)
	sete	%dil
	callq	_TEST_ASSERT
	movl	%ebx, %edi
	callq	_jerry_release_value
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_typedarray_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_typedarray_info
_test_typedarray_info:                  ; @test_typedarray_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_jerry_value_is_error
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x22
	bl	_jerry_value_is_typedarray
	bl	_TEST_ASSERT
	mov	x0, x22
	bl	_jerry_get_typedarray_type
	cmp	x0, x21
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x22
	bl	_jerry_get_typedarray_length
	cmp	x0, x20
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x8, #-1
	stp	x8, x8, [sp]
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x22
	bl	_jerry_get_typedarray_buffer
	mov	x21, x0
	bl	_jerry_value_is_arraybuffer
	bl	_TEST_ASSERT
	ldr	x8, [sp, #8]
	mul	x9, x19, x20
	cmp	x8, x9
	cset	w0, eq
	bl	_TEST_ASSERT
	ldr	x8, [sp]
	cmp	x8, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	mov	x0, x21
	bl	_jerry_release_value
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_typedarray_info
.subsections_via_symbols
