	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_do_close_all
_xo_do_close_all:                       ## @xo_do_close_all
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	leaq	(%rax,%rax,2), %rbx
	shlq	$2, %rbx
	addq	8(%rdi), %rbx
	cmpq	%rsi, %rbx
	jae	LBB0_1
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %r15
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_XSF_MARKER_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	4(%rbx), %r13d
	movl	8(%rbx), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	movl	$132, %r8d
	xorl	%r9d, %r9d
	callq	_xo_depth_change
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	leaq	(%rax,%rax,2), %rax
	orl	%r13d, 4(%rcx,%rax,4)
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$-12, %rbx
	cmpq	%r14, %rbx
	jb	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	xorl	%r13d, %r13d
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_xo_do_close_list
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_xo_do_close_leaf_list
	jmp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_xo_do_close_instance
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_xo_do_close_container
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	jns	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edx
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rcx
	callq	_xo_failure
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_XSF_MARKER_FLAGS,4,2           ## @XSF_MARKER_FLAGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"close %d failed: %d"

	.no_dead_strip	_xo_do_close_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_do_close_all
_xo_do_close_all:                       ; @xo_do_close_all
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldp	x9, x8, [x0]
	mov	w10, #12
	madd	x23, x9, x10, x8
	cmp	x23, x1
	b.hs	LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	mov	x22, #0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x24, _XSF_MARKER_FLAGS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _XSF_MARKER_FLAGS@GOTPAGEOFF]
	mov	w25, #12
Lloh4:
	adrp	x26, lJTI0_0@PAGE
Lloh5:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	ldp	w9, w1, [x23, #4]
	and	w27, w8, w9
	mov	x0, x20
	mov	w2, #-1
	mov	w3, #0
	mov	w4, #132
	mov	w5, #0
	bl	_xo_depth_change
	mov	x22, #0
	ldp	x9, x8, [x20]
	madd	x8, x9, x25, x8
	ldr	w9, [x8, #4]
	orr	w9, w9, w27
	str	w9, [x8, #4]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	x23, x23, #12
	cmp	x23, x19
	b.lo	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, #0
	adr	x9, LBB0_3
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_xo_do_close_list
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_xo_do_close_leaf_list
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_xo_do_close_instance
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, #0
	bl	_xo_do_close_container
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	tbz	x22, #63, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	bl	_xo_failure
	b	LBB0_4
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
                                        ; -- End function
	.comm	_XSF_MARKER_FLAGS,4,2           ; @XSF_MARKER_FLAGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"close %d failed: %d"

	.no_dead_strip	_xo_do_close_all
.subsections_via_symbols
