	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jerryx_handle_scope_get_child  ## -- Begin function jerryx_handle_scope_get_child
	.p2align	4, 0x90
_jerryx_handle_scope_get_child:         ## @jerryx_handle_scope_get_child
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	_jerryx_handle_scope_root@GOTPCREL(%rip), %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	callq	_jerryx_handle_scope_is_in_prelist
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	_JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_10
## %bb.3:
	movq	%rbx, %rdi
	callq	_JERRYX_HANDLE_SCOPE_PRELIST_IDX
	testq	%rax, %rax
	js	LBB0_12
## %bb.4:
	movq	_jerryx_handle_scope_pool@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	decq	%rdx
	cmpq	%rdx, %rax
	jae	LBB0_12
## %bb.5:
	movq	8(%rcx), %rcx
	leaq	(%rcx,%rax,4), %rax
	addq	$4, %rax
	jmp	LBB0_13
LBB0_6:
	movq	_jerryx_handle_scope_pool@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.7:
	movq	8(%rax), %rax
	jmp	LBB0_13
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_8:
	movq	(%rbx), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_jerryx_handle_scope_pool@GOTPCREL(%rip), %rax
	movq	16(%rax), %rax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jerryx_handle_scope_root,4,2   ## @jerryx_handle_scope_root
	.comm	_jerryx_handle_scope_pool,24,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_child  ; -- Begin function jerryx_handle_scope_get_child
	.p2align	2
_jerryx_handle_scope_get_child:         ; @jerryx_handle_scope_get_child
	.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_6
; %bb.1:
	mov	x19, x0
	bl	_jerryx_handle_scope_is_in_prelist
	cbz	w0, LBB0_7
; %bb.2:
Lloh2:
	adrp	x8, _JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x19
	b.eq	LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_JERRYX_HANDLE_SCOPE_PRELIST_IDX
	tbnz	x0, #63, LBB0_8
; %bb.4:
Lloh5:
	adrp	x8, _jerryx_handle_scope_pool@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jerryx_handle_scope_pool@GOTPAGEOFF]
	ldrsw	x9, [x8]
	sub	x9, x9, #1
	cmp	x0, x9
	b.hs	LBB0_8
; %bb.5:
	ldr	x8, [x8, #8]
	add	x8, x8, x0, lsl #2
	add	x0, x8, #4
	b	LBB0_10
LBB0_6:
Lloh7:
	adrp	x8, _jerryx_handle_scope_pool@GOTPAGE
Lloh8:
	ldr	x8, [x8, _jerryx_handle_scope_pool@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	x8, [x8, #8]
	cmp	w9, #0
	csel	x0, x8, xzr, gt
	b	LBB0_10
LBB0_7:
	ldr	x0, [x19]
	b	LBB0_10
LBB0_8:
	mov	x0, #0
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x8, _jerryx_handle_scope_pool@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jerryx_handle_scope_pool@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8, #16]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_jerryx_handle_scope_root,4,2   ; @jerryx_handle_scope_root
	.comm	_jerryx_handle_scope_pool,24,3  ; @jerryx_handle_scope_pool
	.comm	_JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST,8,3 ; @JERRYX_HANDLE_SCOPE_POOL_PRELIST_LAST
.subsections_via_symbols
