	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmp_addr_distance
_cmp_addr_distance:                     ## @cmp_addr_distance
	.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, %r14
	movq	%rdi, %r12
	callq	_AF
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_AF
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_REQUIRE
	movq	%r12, %rdi
	callq	_IS_IPV4
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	callq	_SRCADR
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_SRCADR
	movl	$-1, %r15d
	cmpq	%rax, %rbx
	jl	LBB0_26
## %bb.2:
	movq	%r12, %rdi
	callq	_SRCADR
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_SRCADR
	xorl	%r15d, %r15d
	cmpq	%rax, %rbx
	setne	%r15b
	jmp	LBB0_26
LBB0_3:
	callq	_NSRCADR6
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	(%rax), %rbx
	jge	LBB0_5
LBB0_4:
	movl	$-1, %r15d
	jmp	LBB0_26
LBB0_5:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	movl	$1, %r15d
	cmpq	(%rax), %rbx
	jle	LBB0_6
LBB0_26:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	8(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	8(%rax), %rbx
	jl	LBB0_4
## %bb.8:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	8(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	8(%rax), %rbx
	jg	LBB0_26
## %bb.9:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	16(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	16(%rax), %rbx
	jl	LBB0_4
## %bb.11:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	16(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	16(%rax), %rbx
	jg	LBB0_26
## %bb.12:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	24(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	24(%rax), %rbx
	jl	LBB0_4
## %bb.14:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	24(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	24(%rax), %rbx
	jg	LBB0_26
## %bb.15:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	32(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	32(%rax), %rbx
	jl	LBB0_4
## %bb.17:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	32(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	32(%rax), %rbx
	jg	LBB0_26
## %bb.18:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	40(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	40(%rax), %rbx
	jl	LBB0_4
## %bb.20:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	40(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	40(%rax), %rbx
	jg	LBB0_26
## %bb.21:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	48(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	48(%rax), %rbx
	jl	LBB0_4
## %bb.23:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	48(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	cmpq	48(%rax), %rbx
	jg	LBB0_26
## %bb.24:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	56(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	movl	$-1, %r15d
	cmpq	56(%rax), %rbx
	jl	LBB0_26
## %bb.25:
	movq	%r12, %rdi
	callq	_NSRCADR6
	movq	56(%rax), %rbx
	movq	%r14, %rdi
	callq	_NSRCADR6
	xorl	%r15d, %r15d
	cmpq	56(%rax), %rbx
	setg	%r15b
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmp_addr_distance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmp_addr_distance
_cmp_addr_distance:                     ; @cmp_addr_distance
	.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
	bl	_AF
	mov	x21, x0
	mov	x0, x19
	bl	_AF
	cmp	x21, x0
	cset	w0, eq
	bl	_REQUIRE
	mov	x0, x20
	bl	_IS_IPV4
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_SRCADR
	mov	x21, x0
	mov	x0, x19
	bl	_SRCADR
	cmp	x21, x0
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_SRCADR
	mov	x20, x0
	mov	x0, x19
	bl	_SRCADR
	cmp	x20, x0
	cset	w0, ne
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0]
	cmp	x21, x8
	b.ge	LBB0_6
LBB0_4:
	mov	w0, #-1
LBB0_5:
	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_6:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0]
	cmp	x21, x8
	b.le	LBB0_8
LBB0_7:
	mov	w0, #1
	b	LBB0_5
LBB0_8:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #8]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #8]
	cmp	x21, x8
	b.lt	LBB0_4
; %bb.9:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #8]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #8]
	cmp	x21, x8
	b.gt	LBB0_7
; %bb.10:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #16]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #16]
	cmp	x21, x8
	b.lt	LBB0_4
; %bb.11:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #16]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #16]
	cmp	x21, x8
	b.gt	LBB0_7
; %bb.12:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #24]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #24]
	cmp	x21, x8
	b.lt	LBB0_4
; %bb.13:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #24]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #24]
	cmp	x21, x8
	b.gt	LBB0_7
; %bb.14:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #32]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #32]
	cmp	x21, x8
	b.lt	LBB0_4
; %bb.15:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #32]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #32]
	cmp	x21, x8
	b.gt	LBB0_7
; %bb.16:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #40]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #40]
	cmp	x21, x8
	b.lt	LBB0_4
; %bb.17:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #40]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #40]
	cmp	x21, x8
	b.gt	LBB0_7
; %bb.18:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #48]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #48]
	cmp	x21, x8
	b.lt	LBB0_4
; %bb.19:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #48]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #48]
	cmp	x21, x8
	b.gt	LBB0_7
; %bb.20:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x21, [x0, #56]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #56]
	cmp	x21, x8
	b.lt	LBB0_4
; %bb.21:
	mov	x0, x20
	bl	_NSRCADR6
	ldr	x20, [x0, #56]
	mov	x0, x19
	bl	_NSRCADR6
	ldr	x8, [x0, #56]
	cmp	x20, x8
	cset	w0, gt
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmp_addr_distance
.subsections_via_symbols
