	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_node
_write_node:                            ## @write_node
	.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	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	movq	_MAX_SAVED_CONST_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	%r10d, %r11d
	negl	%r11d
	movq	_DT_code@GOTPCREL(%rip), %rdx
	movq	_CONST_INT@GOTPCREL(%rip), %rsi
	movq	_DT_elt_zero_wide_safe@GOTPCREL(%rip), %r9
	movq	_DT_const_int@GOTPCREL(%rip), %r8
	movq	%r15, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%rdx), %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	cmpq	(%rsi), %rax
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdi), %rax
	cmpq	(%r9), %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rdi), %eax
	cmpl	%r11d, %eax
	jl	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r10d, %eax
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8), %rcx
	movq	%rcx, (%rbx)
	movl	%eax, 24(%rbx)
	movq	8(%rdi), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_is_unconditional
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.11:
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_write_cond
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	leaq	L_.str.1(%rip), %rbx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_is_unconditional
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %rdi
	callq	_printf
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_write_cond
	movq	8(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_13
LBB0_15:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %r8d
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	%r13d, %ecx
	movl	%r12d, %r9d
	callq	_write_action
	xorl	%eax, %eax
	testl	%r13d, %r13d
	setg	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_code,8,3                    ## @DT_code
	.comm	_CONST_INT,8,3                  ## @CONST_INT
	.comm	_DT_elt_zero_wide_safe,8,3      ## @DT_elt_zero_wide_safe
	.comm	_MAX_SAVED_CONST_INT,4,2        ## @MAX_SAVED_CONST_INT
	.comm	_DT_const_int,8,3               ## @DT_const_int
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  if ("

L_.str.1:                               ## @.str.1
	.asciz	"\n      && "

L_str:                                  ## @str
	.asciz	")"

	.no_dead_strip	_write_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_node
_write_node:                            ; @write_node
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0, #8]
	cbz	x22, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _MAX_SAVED_CONST_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_SAVED_CONST_INT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DT_code@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DT_code@GOTPAGEOFF]
Lloh5:
	adrp	x10, _CONST_INT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CONST_INT@GOTPAGEOFF]
	neg	w11, w8
Lloh7:
	adrp	x12, _DT_elt_zero_wide_safe@GOTPAGE
Lloh8:
	ldr	x12, [x12, _DT_elt_zero_wide_safe@GOTPAGEOFF]
Lloh9:
	adrp	x13, _DT_const_int@GOTPAGE
Lloh10:
	ldr	x13, [x13, _DT_const_int@GOTPAGEOFF]
	mov	x14, x22
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [x14, #8]
	cbz	x14, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x14]
	ldr	x16, [x9]
	cmp	x15, x16
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x14, #16]
	ldr	x16, [x10]
	cmp	x15, x16
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x14, #8]
	cbz	x15, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x16, [x15]
	ldr	x17, [x12]
	cmp	x16, x17
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x15, #24]
	cmp	w16, w11
	ccmp	w16, w8, #0, ge
	b.gt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x17, [x13]
	str	w16, [x14, #24]
	ldr	x15, [x15, #8]
	stp	x17, x15, [x14]
	b	LBB0_2
LBB0_9:
	mov	x0, x22
	mov	x1, x19
	bl	_is_unconditional
	mov	x23, x0
	cbnz	w0, LBB0_15
; %bb.10:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_write_cond
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_14
; %bb.11:
Lloh13:
	adrp	x24, l_.str.1@PAGE
Lloh14:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	mov	x0, x8
	mov	x1, x19
	bl	_is_unconditional
	cbnz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x24
	bl	_printf
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_write_cond
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_12
LBB0_14:
Lloh15:
	adrp	x0, l_str@PAGE
Lloh16:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_15:
	ldr	w4, [x21]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x23
	mov	x5, x19
	bl	_write_action
	cmp	w23, #0
	cset	w0, gt
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_code,8,3                    ; @DT_code
	.comm	_CONST_INT,8,3                  ; @CONST_INT
	.comm	_DT_elt_zero_wide_safe,8,3      ; @DT_elt_zero_wide_safe
	.comm	_MAX_SAVED_CONST_INT,4,2        ; @MAX_SAVED_CONST_INT
	.comm	_DT_const_int,8,3               ; @DT_const_int
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  if ("

l_.str.1:                               ; @.str.1
	.asciz	"\n      && "

l_str:                                  ; @str
	.asciz	")"

	.no_dead_strip	_write_node
.subsections_via_symbols
