	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jerryx_handle_scope_get_parent ## -- Begin function jerryx_handle_scope_get_parent
	.p2align	4, 0x90
_jerryx_handle_scope_get_parent:        ## @jerryx_handle_scope_get_parent
	.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
	cmpq	_jerryx_handle_scope_root@GOTPCREL(%rip), %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_jerryx_handle_scope_is_in_prelist
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	movq	_jerryx_handle_scope_pool@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpq	%rbx, %r14
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	callq	_JERRYX_HANDLE_SCOPE_PRELIST_IDX
	cltq
	leaq	(%r14,%rax,4), %rax
	addq	$-4, %rax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_3:
	movq	_jerryx_handle_scope_pool@GOTPCREL(%rip), %rax
	cmpq	%rbx, 8(%rax)
	jne	LBB0_5
## %bb.4:
	movq	_JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST@GOTPCREL(%rip), %rbx
LBB0_5:
	movq	(%rbx), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_jerryx_handle_scope_root@GOTPCREL(%rip), %rax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jerryx_handle_scope_root,4,2   ## @jerryx_handle_scope_root
	.comm	_jerryx_handle_scope_pool,16,3  ## @jerryx_handle_scope_pool
	.comm	_JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST,8,3 ## @JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jerryx_handle_scope_get_parent ; -- Begin function jerryx_handle_scope_get_parent
	.p2align	2
_jerryx_handle_scope_get_parent:        ; @jerryx_handle_scope_get_parent
	.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
Lloh0:
	adrp	x8, _jerryx_handle_scope_root@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jerryx_handle_scope_root@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_jerryx_handle_scope_is_in_prelist
Lloh2:
	adrp	x8, _jerryx_handle_scope_pool@GOTPAGE
Lloh3:
	ldr	x8, [x8, _jerryx_handle_scope_pool@GOTPAGEOFF]
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x20, [x8]
	cmp	x20, x19
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_JERRYX_HANDLE_SCOPE_PRELIST_IDX
	add	x8, x20, w0, sxtw #2
	sub	x0, x8, #4
	b	LBB0_7
LBB0_4:
	mov	x0, #0
	b	LBB0_7
LBB0_5:
	ldr	x8, [x8, #8]
Lloh4:
	adrp	x9, _JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST@GOTPAGE
Lloh5:
	ldr	x9, [x9, _JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST@GOTPAGEOFF]
	cmp	x8, x19
	csel	x8, x9, x19, eq
	ldr	x0, [x8]
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x0, _jerryx_handle_scope_root@GOTPAGE
Lloh7:
	ldr	x0, [x0, _jerryx_handle_scope_root@GOTPAGEOFF]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_jerryx_handle_scope_root,4,2   ; @jerryx_handle_scope_root
	.comm	_jerryx_handle_scope_pool,16,3  ; @jerryx_handle_scope_pool
	.comm	_JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST,8,3 ; @JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST
.subsections_via_symbols
