	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_array                    ## -- Begin function write_array
	.p2align	4, 0x90
_write_array:                           ## @write_array
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_schema_version@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	je	LBB0_3
## %bb.1:
	movl	$-8, %edi
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.2:
	movq	_TLS_TREE_ARRAY@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_TLS_ARRAY@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
LBB0_5:
	callq	_wint
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_write_tree
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_tree                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_schema_version,4,2             ## @schema_version
	.comm	_TLS_TREE_ARRAY,4,2             ## @TLS_TREE_ARRAY
	.comm	_TLS_ARRAY,4,2                  ## @TLS_ARRAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_array                    ; -- Begin function write_array
	.p2align	2
_write_array:                           ; @write_array
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _schema_version@GOTPAGE
Lloh1:
	ldr	x8, [x8, _schema_version@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _TLS_TREE_ARRAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TLS_TREE_ARRAY@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _TLS_ARRAY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TLS_ARRAY@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	mov	w0, #-8
LBB0_6:
	bl	_wint
	ldr	w0, [x21, #4]
	mov	w1, #0
	mov	x2, x20
	mov	x3, x19
	bl	_write_tree
	ldr	w0, [x21]
	mov	w1, #0
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_write_tree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_schema_version,4,2             ; @schema_version
	.comm	_TLS_TREE_ARRAY,4,2             ; @TLS_TREE_ARRAY
	.comm	_TLS_ARRAY,4,2                  ; @TLS_ARRAY
.subsections_via_symbols
