	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compare_subnode                ## -- Begin function compare_subnode
	.p2align	4, 0x90
_compare_subnode:                       ## @compare_subnode
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movslq	8(%rdi), %r13
	addq	(%rdi), %r13
	movslq	%edx, %rbx
	addq	%rsi, %rbx
	leaq	-44(%rbp), %rdx
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_getlexeme
	movq	%rax, %rcx
	movl	$1, %eax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.1:
	leaq	-48(%rbp), %rdx
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	(%r14), %rdi
	movq	%r13, %rsi
	movq	%rdx, %r15
	callq	_getlexeme
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=2
	cltq
	addq	%rax, %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_getlexeme
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_11
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r12d, %r12d
	setne	%cl
	movl	-48(%rbp), %eax
	movslq	-44(%rbp), %rdx
	cmpl	%edx, %eax
	setg	%bl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	andb	%bl, %cl
	je	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	-48(%rbp), %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	-44(%rbp), %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	leaq	-44(%rbp), %rdx
	callq	_getlexeme
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %rdx
	jne	LBB0_2
## %bb.10:
	movl	$1, %eax
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compare_subnode                ; -- Begin function compare_subnode
	.p2align	2
_compare_subnode:                       ; @compare_subnode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x0
	ldr	x23, [x0]
	ldrsw	x25, [x0, #8]
	add	x22, x1, w2, sxtw
	add	x2, sp, #8
	mov	x0, x1
	mov	x1, x22
	bl	_getlexeme
	cbz	x0, LBB0_9
; %bb.1:
	mov	x24, x0
	add	x23, x23, x25
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x0, [x21]
	add	x2, sp, #12
	mov	x1, x23
	bl	_getlexeme
	cbz	x0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, x0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	x0, x25, w8, sxtw
	add	x2, sp, #12
	mov	x1, x23
	bl	_getlexeme
	mov	x25, x0
	cbz	x0, LBB0_10
LBB0_5:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w19, #0
	cset	w9, ne
	ldp	w2, w8, [sp, #8]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	cmp	w8, w2
	cset	w10, gt
	and	w9, w9, w10
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	mov	x0, x24
	mov	x1, x25
	blr	x20
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	w8, [sp, #12]
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x8, [sp, #8]
	add	x0, x24, x8
	add	x2, sp, #8
	mov	x1, x22
	bl	_getlexeme
	mov	x24, x0
	mov	w0, #1
	cbnz	x24, LBB0_2
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
