	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resolve_tree_islands           ## -- Begin function resolve_tree_islands
	.p2align	4, 0x90
_resolve_tree_islands:                  ## @resolve_tree_islands
	.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	$0, -40(%rbp)
	movq	_island_marks@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r15
	movl	%esi, %r14d
	movl	(%rdx), %esi
	callq	_ALLOC_ARRAY
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_oe_type
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	_tree_depth_compare@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_QSORT
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_start_progress
	movq	%rax, -40(%rbp)
LBB0_6:
	leaq	-40(%rbp), %rdi
	callq	_stop_progress
	callq	_free
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_island_marks,4,2               ## @island_marks
	.comm	_OBJ_TREE,8,3                   ## @OBJ_TREE
	.comm	_tree_depth_compare,4,2         ## @tree_depth_compare
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Propagating island marks"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resolve_tree_islands           ; -- Begin function resolve_tree_islands
	.p2align	2
_resolve_tree_islands:                  ; @resolve_tree_islands
	.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
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _island_marks@GOTPAGE
Lloh1:
	ldr	x8, [x8, _island_marks@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	ldr	w1, [x2]
	bl	_ALLOC_ARRAY
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x21
	bl	_oe_type
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_4:
Lloh3:
	adrp	x8, _tree_depth_compare@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tree_depth_compare@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_QSORT
	cbz	w19, LBB0_6
; %bb.5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	w1, #0
	bl	_start_progress
	str	x0, [sp, #8]
LBB0_6:
	add	x0, sp, #8
	bl	_stop_progress
	bl	_free
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_island_marks,4,2               ; @island_marks
	.comm	_OBJ_TREE,8,3                   ; @OBJ_TREE
	.comm	_tree_depth_compare,4,2         ; @tree_depth_compare
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Propagating island marks"

.subsections_via_symbols
