	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_forwards_lookup                ## -- Begin function forwards_lookup
	.p2align	4, 0x90
_forwards_lookup:                       ## @forwards_lookup
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	leaq	-96(%rbp), %r15
	movq	%r15, -48(%rbp)
	movq	%rdx, -96(%rbp)
	movq	%rsi, -64(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_dname_count_size_labels
	movl	%eax, -88(%rbp)
	movl	(%rbx), %edi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rsi
	callq	_rbtree_find_less_equal
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	-32(%rbp), %rbx
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.3:
	movq	16(%rbx), %rax
	jmp	LBB0_12
LBB0_4:
	movq	-32(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.5:
	cmpq	%r14, (%rbx)
	jne	LBB0_11
## %bb.6:
	movq	32(%rbx), %rdi
	movl	8(%rbx), %esi
	movq	-64(%rbp), %rdx
	movl	-88(%rbp), %ecx
	leaq	-36(%rbp), %r8
	callq	_dname_lab_cmp
	movl	-36(%rbp), %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, 8(%rbx)
	jle	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$72, %rsp
	popq	%rbx
	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	_forwards_lookup                ; -- Begin function forwards_lookup
	.p2align	2
_forwards_lookup:                       ; @forwards_lookup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x8, x1
	mov	x20, x0
	stur	xzr, [x29, #-24]
	add	x9, sp, #16
	str	x9, [sp, #64]
	str	x2, [sp, #16]
	str	x1, [sp, #48]
	add	x1, x9, #40
	mov	x0, x8
	bl	_dname_count_size_labels
	str	w0, [sp, #24]
	ldr	w0, [x20]
	add	x1, sp, #16
	sub	x2, x29, #24
	bl	_rbtree_find_less_equal
	cbz	x0, LBB0_4
; %bb.1:
	ldur	x20, [x29, #-24]
LBB0_2:
	cbz	x20, LBB0_9
; %bb.3:
	ldr	x0, [x20, #16]
	b	LBB0_10
LBB0_4:
	ldur	x20, [x29, #-24]
	cbz	x20, LBB0_9
; %bb.5:
	ldr	x8, [x20]
	cmp	x8, x19
	b.ne	LBB0_9
; %bb.6:
	ldr	x0, [x20, #32]
	ldr	w1, [x20, #8]
	ldr	x2, [sp, #48]
	ldr	w3, [sp, #24]
	add	x4, sp, #12
	bl	_dname_lab_cmp
	ldr	w8, [sp, #12]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, #8]
	cmp	w9, w8
	b.le	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x20, #24]
	cbnz	x20, LBB0_7
	b	LBB0_2
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
