	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jerryx_hand_scope_escape_handle_from_prelist ## -- Begin function jerryx_hand_scope_escape_handle_from_prelist
	.p2align	4, 0x90
_jerryx_hand_scope_escape_handle_from_prelist: ## @jerryx_hand_scope_escape_handle_from_prelist
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rcx
	movl	(%rcx,%rsi,4), %r14d
	movslq	(%rdi), %rdx
	movq	_JERRYX_HANDLE_PRELIST_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	cmpl	%ebx, %edx
	jne	LBB0_3
## %bb.1:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%rax), %rdx
	movq	%rdx, 16(%rdi)
	movl	(%rax), %edx
	movl	%edx, (%rcx,%rsi,4)
	movq	%rax, %rdi
	callq	_free
	jmp	LBB0_5
LBB0_3:
	decq	%rbx
	cmpq	%rsi, %rbx
	jbe	LBB0_5
## %bb.4:
	movl	-4(%rcx,%rdx,4), %eax
	movl	%eax, (%rcx,%rsi,4)
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JERRYX_HANDLE_PRELIST_SIZE,4,2 ## @JERRYX_HANDLE_PRELIST_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jerryx_hand_scope_escape_handle_from_prelist ; -- Begin function jerryx_hand_scope_escape_handle_from_prelist
	.p2align	2
_jerryx_hand_scope_escape_handle_from_prelist: ; @jerryx_hand_scope_escape_handle_from_prelist
	.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
	ldr	x9, [x0, #8]
	ldr	w19, [x9, x1, lsl #2]
	ldr	w10, [x0]
Lloh0:
	adrp	x8, _JERRYX_HANDLE_PRELIST_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JERRYX_HANDLE_PRELIST_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x11, [x8]
	cmp	w10, w11
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x10, [x8, #8]
	str	x10, [x0, #16]
	ldr	w10, [x8]
	str	w10, [x9, x1, lsl #2]
	mov	x0, x8
	bl	_free
	b	LBB0_5
LBB0_3:
	sub	x8, x11, #1
	cmp	x8, x1
	b.ls	LBB0_5
; %bb.4:
	sub	w8, w10, #1
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x9, x1, lsl #2]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JERRYX_HANDLE_PRELIST_SIZE,4,2 ; @JERRYX_HANDLE_PRELIST_SIZE
.subsections_via_symbols
