	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gr_equal                       ## -- Begin function gr_equal
	.p2align	4, 0x90
_gr_equal:                              ## @gr_equal
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	movq	24(%rsi), %rsi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.2:
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_3
LBB0_23:
	cmpq	%rsi, %rdi
	jne	LBB0_22
LBB0_3:
	movq	16(%rbx), %rdi
	movq	16(%r15), %rsi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.4:
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.5:
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_6
LBB0_24:
	cmpq	%rsi, %rdi
	jne	LBB0_22
LBB0_6:
	movq	(%rbx), %rax
	xorl	%r14d, %r14d
	cmpq	(%r15), %rax
	jne	LBB0_22
## %bb.7:
	movq	8(%rbx), %rcx
	movq	8(%r15), %rax
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.8:
	movq	(%rcx), %rdi
	testq	%rax, %rax
	je	LBB0_18
## %bb.9:
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.11:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.12:
	movl	$1, %r12d
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rdi
	movq	8(%r15), %rax
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%rax,%r12,8), %rsi
	incq	%r12
	testq	%rsi, %rsi
	jne	LBB0_13
	jmp	LBB0_22
LBB0_19:
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	cmpq	$0, (%rax)
	jne	LBB0_22
	jmp	LBB0_21
LBB0_18:
	testq	%rdi, %rdi
	jne	LBB0_22
LBB0_21:
	movl	$1, %r14d
LBB0_22:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%ecx, %ecx
	jmp	LBB0_17
LBB0_16:
	movl	%r12d, %ecx
LBB0_17:
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_22
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gr_equal                       ; -- Begin function gr_equal
	.p2align	2
_gr_equal:                              ; @gr_equal
	.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, x1
	mov	x20, x0
	ldr	x0, [x0, #24]
	ldr	x1, [x1, #24]
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x1, LBB0_20
; %bb.2:
	bl	_strcmp
	cbnz	x0, LBB0_20
	b	LBB0_4
LBB0_3:
	cmp	x0, x1
	b.ne	LBB0_20
LBB0_4:
	ldr	x0, [x20, #16]
	ldr	x1, [x19, #16]
	cbz	x0, LBB0_7
; %bb.5:
	cbz	x1, LBB0_20
; %bb.6:
	bl	_strcmp
	cbnz	x0, LBB0_20
	b	LBB0_8
LBB0_7:
	cmp	x0, x1
	b.ne	LBB0_20
LBB0_8:
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.9:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cbz	x8, LBB0_17
; %bb.10:
	ldr	x8, [x8]
	cbz	x9, LBB0_19
; %bb.11:
	cbz	x8, LBB0_23
; %bb.12:
	ldr	x1, [x9]
	cbz	x1, LBB0_20
; %bb.13:
	mov	w21, #1
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x8
	bl	_strcmp
	cbnz	x0, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x9, [x19, #8]
	cbz	x8, LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w0, #0
	ldr	x1, [x9, x21, lsl #3]
	add	x21, x21, #1
	cbnz	x1, LBB0_14
	b	LBB0_21
LBB0_17:
	cbz	x9, LBB0_24
; %bb.18:
	ldr	x8, [x9]
LBB0_19:
	cbz	x8, LBB0_24
LBB0_20:
	mov	w0, #0
LBB0_21:
	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
	ret
LBB0_22:
	and	x8, x21, #0xffffffff
LBB0_23:
	ldr	x8, [x9, x8, lsl #3]
	cbnz	x8, LBB0_20
LBB0_24:
	mov	w0, #1
	b	LBB0_21
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
