	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_score
_compute_score:                         ## @compute_score
	.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
	movl	%r8d, %r14d
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_sock_net
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_net_eq
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%r13, %rdi
	callq	_inet_sk
	cmpw	%r12w, (%rax)
	jne	LBB0_9
## %bb.2:
	movq	(%r13), %rax
	movq	_PF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	movq	%r13, %rdi
	callq	_inet6_sk
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_ipv6_addr_any
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ipv6_addr_equal
	movl	$2, %ebx
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movl	8(%r13), %ecx
	testl	%ecx, %ecx
	je	LBB0_9
## %bb.7:
	movl	$-1, %eax
	cmpl	%r14d, %ecx
	jne	LBB0_10
## %bb.8:
	incl	%ebx
LBB0_9:
	movl	%ebx, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$-1, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET6,8,3                   ## @PF_INET6
	.no_dead_strip	_compute_score
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_score
_compute_score:                         ; @compute_score
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	bl	_sock_net
	mov	x1, x23
	bl	_net_eq
	cbz	x0, LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_inet_sk
	ldrh	w8, [x0]
	cmp	w8, w22
	b.ne	LBB0_9
; %bb.2:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PF_INET6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x20
	bl	_inet6_sk
	mov	x22, x0
	bl	_ipv6_addr_any
	cbz	w0, LBB0_5
; %bb.4:
	mov	w0, #1
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_7
	b	LBB0_10
LBB0_5:
	mov	x0, x22
	mov	x1, x21
	bl	_ipv6_addr_equal
	cbz	w0, LBB0_9
; %bb.6:
	mov	w0, #2
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_10
LBB0_7:
	cmp	w8, w19
	b.ne	LBB0_9
; %bb.8:
	add	w0, w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET6,8,3                   ; @PF_INET6
	.no_dead_strip	_compute_score
.subsections_via_symbols
