	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function depth_first
_depth_first:                           ## @depth_first
	.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
	movq	(%rdi), %r13
	movq	(%rsi), %rcx
	movq	16(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%r13), %rax
LBB0_2:
	movq	(%rax), %r14
	movq	16(%rcx), %rax
	testq	%rax, %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.3:
	movq	8(%rcx), %rax
LBB0_4:
	movq	(%rax), %r12
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %ebx
	cmpl	%r15d, %eax
	movl	%r15d, %edx
	cmovll	%eax, %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	subl	%r15d, %ebx
	movl	%ebx, %eax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	cmpb	$82, (%r13)
	sete	%al
	xorl	%ecx, %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpb	$82, (%rdx)
	sete	%cl
	subl	%ecx, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_depth_first
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function depth_first
_depth_first:                           ; @depth_first
	.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
	ldr	x24, [x0]
	ldr	x23, [x1]
	ldr	x8, [x24, #16]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x24, #8]
LBB0_2:
	ldr	x19, [x8]
	ldr	x8, [x23, #16]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x23, #8]
LBB0_4:
	ldr	x22, [x8]
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	mov	x0, x22
	bl	_strlen
	mov	x21, x0
	cmp	w0, w20
	csel	w2, w0, w20, lt
	mov	x0, x19
	mov	x1, x22
	bl	_memcmp
	cbnz	w0, LBB0_7
; %bb.5:
	subs	w0, w21, w20
	b.ne	LBB0_7
; %bb.6:
	ldrb	w8, [x24]
	cmp	w8, #82
	cset	w8, eq
	ldrb	w9, [x23]
	cmp	w9, #82
	cset	w9, eq
	sub	w0, w8, w9
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_depth_first
.subsections_via_symbols
