	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_tree
_write_tree:                            ## @write_tree
	.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
	movl	%ecx, %r12d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r13
	movl	$10, %edi
	callq	_putchar
	cmpq	$0, 48(%r13)
	je	LBB0_2
## %bb.1:
	movl	40(%r13), %esi
	leaq	L_.str(%rip), %rdi
	callq	_OUTPUT_LABEL
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_3
LBB0_6:
	movq	8(%r13), %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	8(%r13), %rsi
	leaq	L_.str.10(%rip), %rdx
	movq	%rbx, %rdi
	callq	_change_state
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_write_tree_1
	movq	(%r14), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%rbx), %rbx
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	16(%rbx), %rdi
	movq	8(%rbx), %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_write_tree
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r13), %rdx
	testq	%rdx, %rdx
	jle	LBB0_6
## %bb.4:
	cmpq	$0, 32(%r13)
	movl	%r15d, %eax
	leaq	_write_tree.name_prefix(%rip), %rcx
	movq	(%rcx,%rax,8), %rsi
	leaq	_write_tree.call_suffix(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	je	LBB0_5
## %bb.12:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	%r15d, %edi
	callq	_IS_SPLIT
	testq	%rax, %rax
	leaq	L_str(%rip), %rax
	leaq	L_str.13(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_puts
	movq	8(%r13), %rdi
	movq	32(%r13), %rax
	movq	(%rax), %rsi
	leaq	L_.str.10(%rip), %rdx
	callq	_change_state
	movq	32(%r13), %rax
	movl	8(%rax), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_5:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.section	__DATA,__const
	.p2align	4                               ## @write_tree.name_prefix
_write_tree.name_prefix:
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"recog"

L_.str.2:                               ## @.str.2
	.asciz	"split"

L_.str.3:                               ## @.str.3
	.asciz	"peephole2"

	.section	__DATA,__const
	.p2align	4                               ## @write_tree.call_suffix
_write_tree.call_suffix:
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6

	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	", pnum_clobbers"

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	", _pmatch_len"

L_.str.7:                               ## @.str.7
	.asciz	"  tem = %s_%d (x0, insn%s);\n"

L_.str.10:                              ## @.str.10
	.asciz	"  "

L_.str.11:                              ## @.str.11
	.asciz	"  goto L%d;\n"

L_.str.12:                              ## @.str.12
	.asciz	"  return %s_%d (x0, insn%s);\n"

L_str:                                  ## @str
	.asciz	"  if (tem >= 0)\n    return tem;"

L_str.13:                               ## @str.13
	.asciz	"  if (tem != 0)\n    return tem;"

	.no_dead_strip	_write_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_tree
_write_tree:                            ; @write_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x23, [x0]
	mov	w0, #10
	bl	_putchar
	ldr	x8, [x23, #48]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x23, #40]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_OUTPUT_LABEL
LBB0_2:
	cbz	w22, LBB0_7
LBB0_3:
	ldr	x0, [x23, #8]
	bl	_strlen
	mov	x22, x0
	ldr	x1, [x23, #8]
Lloh2:
	adrp	x2, l_.str.10@PAGE
Lloh3:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_change_state
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_write_tree_1
	ldr	x20, [x20]
	cbnz	x20, LBB0_5
	b	LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x20, #24]
	cbz	x20, LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	ldr	x8, [x0, #16]!
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x20, #8]
	mov	x2, x19
	mov	w3, #0
	bl	_write_tree
	b	LBB0_4
LBB0_7:
	ldr	x8, [x23]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.8:
	ldr	x11, [x23, #32]
	mov	w9, w19
	lsl	x10, x9, #3
Lloh4:
	adrp	x9, _write_tree.name_prefix@PAGE
Lloh5:
	add	x9, x9, _write_tree.name_prefix@PAGEOFF
	ldr	x9, [x9, x10]
Lloh6:
	adrp	x12, _write_tree.call_suffix@PAGE
Lloh7:
	add	x12, x12, _write_tree.call_suffix@PAGEOFF
	ldr	x10, [x12, x10]
	cbz	x11, LBB0_10
; %bb.9:
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
Lloh8:
	adrp	x0, l_.str.7@PAGE
Lloh9:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	mov	x0, x19
	bl	_IS_SPLIT
Lloh10:
	adrp	x8, l_str.13@PAGE
Lloh11:
	add	x8, x8, l_str.13@PAGEOFF
Lloh12:
	adrp	x9, l_str@PAGE
Lloh13:
	add	x9, x9, l_str@PAGEOFF
	cmp	x0, #0
	csel	x0, x9, x8, eq
	bl	_puts
	ldr	x0, [x23, #8]
	ldr	x8, [x23, #32]
	ldr	x1, [x8]
Lloh14:
	adrp	x2, l_.str.10@PAGE
Lloh15:
	add	x2, x2, l_.str.10@PAGEOFF
	bl	_change_state
	ldr	x8, [x23, #32]
	ldr	w8, [x8, #8]
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.11@PAGE
Lloh17:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_11
LBB0_10:
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
Lloh18:
	adrp	x0, l_.str.12@PAGE
Lloh19:
	add	x0, x0, l_.str.12@PAGEOFF
LBB0_11:
	bl	_printf
LBB0_12:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.section	__DATA,__const
	.p2align	3                               ; @write_tree.name_prefix
_write_tree.name_prefix:
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"recog"

l_.str.2:                               ; @.str.2
	.asciz	"split"

l_.str.3:                               ; @.str.3
	.asciz	"peephole2"

	.section	__DATA,__const
	.p2align	3                               ; @write_tree.call_suffix
_write_tree.call_suffix:
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6

	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	", pnum_clobbers"

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	", _pmatch_len"

l_.str.7:                               ; @.str.7
	.asciz	"  tem = %s_%d (x0, insn%s);\n"

l_.str.10:                              ; @.str.10
	.asciz	"  "

l_.str.11:                              ; @.str.11
	.asciz	"  goto L%d;\n"

l_.str.12:                              ; @.str.12
	.asciz	"  return %s_%d (x0, insn%s);\n"

l_str:                                  ; @str
	.asciz	"  if (tem >= 0)\n    return tem;"

l_str.13:                               ; @str.13
	.asciz	"  if (tem != 0)\n    return tem;"

	.no_dead_strip	_write_tree
.subsections_via_symbols
