	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function connlimit_mt
_connlimit_mt:                          ## @connlimit_mt
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rsi), %r12
	leaq	-52(%rbp), %rsi
	callq	_nf_ct_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %r14
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_skb_network_offset
	movl	8(%r15), %edx
	leaq	-48(%rbp), %r14
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r14, %rcx
	callq	_nf_ct_get_tuplepr
	testl	%eax, %eax
	je	LBB0_8
LBB0_3:
	movl	8(%r15), %eax
	movq	_NFPROTO_IPV6@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_ipv6_hdr
	leaq	-40(%rbp), %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_ip_hdr
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
LBB0_6:
	movq	8(%r12), %rdi
	callq	_spin_lock_bh
	movq	8(%r12), %rdi
	leaq	16(%r12), %rcx
	movl	8(%r15), %r8d
	leaq	-40(%rbp), %rdx
	movq	%r14, %rsi
	callq	_count_them
	movl	%eax, %ebx
	movq	8(%r12), %rdi
	callq	_spin_unlock_bh
	testl	%ebx, %ebx
	js	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	cmpl	(%r12), %ebx
	setg	%al
	xorl	4(%r12), %eax
	jmp	LBB0_9
LBB0_8:
	movq	(%r15), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFPROTO_IPV6,4,2               ## @NFPROTO_IPV6
	.no_dead_strip	_connlimit_mt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function connlimit_mt
_connlimit_mt:                          ; @connlimit_mt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x0
	ldr	x22, [x1, #16]
	add	x1, sp, #12
	bl	_nf_ct_get
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x20, [x0]
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_skb_network_offset
	mov	x1, x0
	ldr	w2, [x19, #8]
	add	x20, sp, #16
	add	x3, sp, #16
	mov	x0, x21
	bl	_nf_ct_get_tuplepr
	cbz	w0, LBB0_9
LBB0_3:
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _NFPROTO_IPV6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFPROTO_IPV6@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	x0, x21
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.4:
	bl	_ipv6_hdr
	mov	x1, x0
	add	x0, sp, #24
	mov	w2, #4
	bl	_memcpy
	b	LBB0_6
LBB0_5:
	bl	_ip_hdr
	ldr	w8, [x0]
	str	w8, [sp, #24]
LBB0_6:
	ldr	x0, [x22, #8]
	bl	_spin_lock_bh
	ldr	x0, [x22, #8]
	add	x3, x22, #16
	ldr	w4, [x19, #8]
	add	x2, sp, #24
	mov	x1, x20
	bl	_count_them
	mov	x20, x0
	ldr	x0, [x22, #8]
	bl	_spin_unlock_bh
	tbnz	w20, #31, LBB0_8
; %bb.7:
	ldp	w8, w9, [x22]
	cmp	w20, w8
	cset	w8, gt
	eor	w0, w9, w8
	b	LBB0_10
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldr	x8, [x19]
	mov	w9, #1
	str	w9, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NFPROTO_IPV6,4,2               ; @NFPROTO_IPV6
	.no_dead_strip	_connlimit_mt
.subsections_via_symbols
