	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_combinator               ## -- Begin function write_combinator
	.p2align	4, 0x90
_write_combinator:                      ## @write_combinator
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_wint
	movl	24(%rbx), %edi
	callq	_wstr
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %edi
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_wint
	movq	$0, -32(%rbp)
	movl	$0, -20(%rbp)
	movq	8(%rbx), %rdi
	callq	_assert
	cmpq	$0, 16(%rbx)
	movq	_schema_version@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	je	LBB0_10
## %bb.4:
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movl	24(%rbx), %edi
	callq	_is_builtin_type
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_TLS_COMBINATOR_LEFT_BUILTIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_13
LBB0_10:
	testl	%eax, %eax
	jle	LBB0_12
## %bb.11:
	movq	_TLS_COMBINATOR_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wint
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_7:
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.8:
	movq	_TLS_COMBINATOR_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wint
LBB0_9:
	movq	16(%rbx), %rdi
	leaq	-32(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	xorl	%esi, %esi
	callq	_write_tree
	jmp	LBB0_14
LBB0_12:
	movl	$-11, %edi
LBB0_13:
	callq	_wint
LBB0_14:
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_19
## %bb.15:
	cmpl	$1, %eax
	jne	LBB0_16
## %bb.17:
	movq	_TLS_COMBINATOR_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movq	_TLS_COMBINATOR_RIGHT_V2@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %edi
	callq	_wint
LBB0_19:
	movq	8(%rbx), %rdi
	leaq	-32(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movl	$1, %esi
	callq	_write_tree
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_schema_version,4,2             ## @schema_version
	.comm	_TLS_COMBINATOR_LEFT_BUILTIN,4,2 ## @TLS_COMBINATOR_LEFT_BUILTIN
	.comm	_TLS_COMBINATOR_LEFT,4,2        ## @TLS_COMBINATOR_LEFT
	.comm	_TLS_COMBINATOR_RIGHT_V2,4,2    ## @TLS_COMBINATOR_RIGHT_V2
	.comm	_TLS_COMBINATOR_RIGHT,4,2       ## @TLS_COMBINATOR_RIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_combinator               ; -- Begin function write_combinator
	.p2align	2
_write_combinator:                      ; @write_combinator
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w0, [x0]
	bl	_wint
	ldr	w0, [x19, #24]
	bl	_wstr
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_wint
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldr	x0, [x19, #8]
	bl	_assert
	ldr	x9, [x19, #16]
Lloh0:
	adrp	x20, _schema_version@GOTPAGE
Lloh1:
	ldr	x20, [x20, _schema_version@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	cbz	x9, LBB0_7
; %bb.4:
	b.lt	LBB0_11
; %bb.5:
	ldr	w0, [x19, #24]
	bl	_is_builtin_type
	cbz	x0, LBB0_9
; %bb.6:
Lloh2:
	adrp	x8, _TLS_COMBINATOR_LEFT_BUILTIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TLS_COMBINATOR_LEFT_BUILTIN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_7:
	b.lt	LBB0_12
; %bb.8:
Lloh5:
	adrp	x8, _TLS_COMBINATOR_LEFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TLS_COMBINATOR_LEFT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_wint
	mov	w0, #0
	b	LBB0_13
LBB0_9:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.10:
Lloh8:
	adrp	x8, _TLS_COMBINATOR_LEFT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TLS_COMBINATOR_LEFT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_wint
LBB0_11:
	ldr	x0, [x19, #16]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	w1, #0
	bl	_write_tree
	b	LBB0_14
LBB0_12:
	mov	w0, #-11
LBB0_13:
	bl	_wint
LBB0_14:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.15:
Lloh11:
	adrp	x8, _TLS_COMBINATOR_RIGHT_V2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TLS_COMBINATOR_RIGHT_V2@GOTPAGEOFF]
Lloh13:
	adrp	x9, _TLS_COMBINATOR_RIGHT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _TLS_COMBINATOR_RIGHT@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	bl	_wint
LBB0_16:
	ldr	x0, [x19, #8]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	w1, #1
	bl	_write_tree
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_schema_version,4,2             ; @schema_version
	.comm	_TLS_COMBINATOR_LEFT_BUILTIN,4,2 ; @TLS_COMBINATOR_LEFT_BUILTIN
	.comm	_TLS_COMBINATOR_LEFT,4,2        ; @TLS_COMBINATOR_LEFT
	.comm	_TLS_COMBINATOR_RIGHT_V2,4,2    ; @TLS_COMBINATOR_RIGHT_V2
	.comm	_TLS_COMBINATOR_RIGHT,4,2       ; @TLS_COMBINATOR_RIGHT
.subsections_via_symbols
