	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecma_string_get_chars_fast
_ecma_string_get_chars_fast:            ## @ecma_string_get_chars_fast
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_ECMA_IS_DIRECT_STRING
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_ECMA_GET_DIRECT_STRING_TYPE
	movq	_ECMA_DIRECT_STRING_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_ECMA_GET_DIRECT_STRING_VALUE
	movslq	%eax, %rbx
	movq	_LIT_MAGIC_STRING__COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rbx, %rax
	jle	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	callq	_lit_get_magic_string_size
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lit_get_magic_string_utf8      ## TAILCALL
LBB0_6:
	movq	(%rbx), %rax
	movq	_ECMA_STRING_REF_ONE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setge	%dil
	callq	_JERRY_ASSERT
	movq	%rbx, %rdi
	callq	_ECMA_STRING_GET_CONTAINER
	cmpl	$130, %eax
	je	LBB0_11
## %bb.7:
	cmpl	$129, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$128, %eax
	jne	LBB0_12
## %bb.9:
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ECMA_UTF8_STRING_GET_BUFFER    ## TAILCALL
LBB0_3:
	subq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_lit_get_magic_string_ex_size
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	jmp	LBB0_4
LBB0_11:
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ECMA_ASCII_STRING_GET_BUFFER   ## TAILCALL
LBB0_10:
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ECMA_LONG_UTF8_STRING_GET_BUFFER ## TAILCALL
LBB0_12:
	movq	%rbx, %rdi
	callq	_ECMA_STRING_GET_CONTAINER
	movq	_ECMA_STRING_CONTAINER_MAGIC_STRING_EX@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_JERRY_ASSERT
	movq	_LIT_MAGIC_STRING__COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_lit_get_magic_string_ex_size
	movl	%eax, (%r14)
	movq	%r15, %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lit_get_magic_string_ex_utf8   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ECMA_DIRECT_STRING_MAGIC,8,3   ## @ECMA_DIRECT_STRING_MAGIC
	.comm	_LIT_MAGIC_STRING__COUNT,8,3    ## @LIT_MAGIC_STRING__COUNT
	.comm	_ECMA_STRING_REF_ONE,8,3        ## @ECMA_STRING_REF_ONE
	.comm	_ECMA_STRING_CONTAINER_MAGIC_STRING_EX,4,2 ## @ECMA_STRING_CONTAINER_MAGIC_STRING_EX
	.no_dead_strip	_ecma_string_get_chars_fast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecma_string_get_chars_fast
_ecma_string_get_chars_fast:            ; @ecma_string_get_chars_fast
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_ECMA_IS_DIRECT_STRING
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_ECMA_GET_DIRECT_STRING_TYPE
Lloh0:
	adrp	x8, _ECMA_DIRECT_STRING_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECMA_DIRECT_STRING_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_ECMA_GET_DIRECT_STRING_VALUE
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x20, w0
Lloh3:
	adrp	x8, _LIT_MAGIC_STRING__COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIT_MAGIC_STRING__COUNT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x20
	b.le	LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_lit_get_magic_string_size
	str	w0, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lit_get_magic_string_utf8
LBB0_4:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _ECMA_STRING_REF_ONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ECMA_STRING_REF_ONE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ge
	bl	_JERRY_ASSERT
	mov	x0, x20
	bl	_ECMA_STRING_GET_CONTAINER
	cmp	w0, #130
	b.eq	LBB0_9
; %bb.5:
	cmp	w0, #129
	b.eq	LBB0_10
; %bb.6:
	cmp	w0, #128
	b.ne	LBB0_11
; %bb.7:
	ldr	w8, [x20]
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ECMA_UTF8_STRING_GET_BUFFER
LBB0_8:
	sub	x20, x20, x8
	b	LBB0_12
LBB0_9:
	ldr	w8, [x20]
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ECMA_ASCII_STRING_GET_BUFFER
LBB0_10:
	ldr	w8, [x20]
	str	w8, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ECMA_LONG_UTF8_STRING_GET_BUFFER
LBB0_11:
	mov	x0, x20
	bl	_ECMA_STRING_GET_CONTAINER
Lloh9:
	adrp	x8, _ECMA_STRING_CONTAINER_MAGIC_STRING_EX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECMA_STRING_CONTAINER_MAGIC_STRING_EX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_JERRY_ASSERT
Lloh12:
	adrp	x8, _LIT_MAGIC_STRING__COUNT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LIT_MAGIC_STRING__COUNT@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	sub	x20, x8, x9
LBB0_12:
	mov	x0, x20
	bl	_lit_get_magic_string_ex_size
	str	w0, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lit_get_magic_string_ex_utf8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ECMA_DIRECT_STRING_MAGIC,8,3   ; @ECMA_DIRECT_STRING_MAGIC
	.comm	_LIT_MAGIC_STRING__COUNT,8,3    ; @LIT_MAGIC_STRING__COUNT
	.comm	_ECMA_STRING_REF_ONE,8,3        ; @ECMA_STRING_REF_ONE
	.comm	_ECMA_STRING_CONTAINER_MAGIC_STRING_EX,4,2 ; @ECMA_STRING_CONTAINER_MAGIC_STRING_EX
	.no_dead_strip	_ecma_string_get_chars_fast
.subsections_via_symbols
