	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___nf_ct_ext_add                ## -- Begin function __nf_ct_ext_add
	.p2align	4, 0x90
___nf_ct_ext_add:                       ## @__nf_ct_ext_add
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_nf_ct_is_confirmed
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_NF_CT_ASSERT
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nf_ct_ext_exist
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	xorl	%r15d, %r15d
	jmp	LBB0_18
LBB0_3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nf_ct_ext_create               ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	_nf_ct_ext_types@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r14d, %r12d
	movl	(%rax,%r12,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	16(%r14), %esi
	callq	_ALIGN
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r14), %r14d
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leal	(%r14,%rax), %r13d
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	(%rbx), %rdi
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	___krealloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	%rax, %r15
	movq	(%rbx), %rdi
	cmpq	%rdi, %rax
	je	LBB0_17
## %bb.6:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	_NF_CT_EXT_NUM@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_16
## %bb.7:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_nf_ct_ext_types@GOTPCREL(%rip), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	movslq	(%r12), %rax
	cmpq	%rax, %r14
	jge	LBB0_15
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nf_ct_ext_exist
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	(%r13), %rax
	movl	(%rax,%r14,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r15), %rcx
	movslq	(%rcx,%r14,4), %rdi
	addq	%r15, %rdi
	movq	(%rbx), %rcx
	movq	8(%rcx), %rdx
	movslq	(%rdx,%r14,4), %rsi
	addq	%rcx, %rsi
	callq	*%rax
	jmp	LBB0_8
LBB0_15:
	movq	(%rbx), %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_16:
	addq	$16, %rdi
	movq	___nf_ct_ext_free_rcu@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_call_rcu
	movq	%r15, (%rbx)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_17:
	movq	8(%r15), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, (%rax,%r12,4)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r15)
	movslq	%ecx, %rax
	addq	%rax, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
LBB0_18:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nf_ct_ext_types,8,3            ## @nf_ct_ext_types
	.comm	_NF_CT_EXT_NUM,4,2              ## @NF_CT_EXT_NUM
	.comm	___nf_ct_ext_free_rcu,4,2       ## @__nf_ct_ext_free_rcu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___nf_ct_ext_add                ; -- Begin function __nf_ct_ext_add
	.p2align	2
___nf_ct_ext_add:                       ; @__nf_ct_ext_add
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	bl	_nf_ct_is_confirmed
	cmp	w0, #0
	cset	w0, eq
	bl	_NF_CT_ASSERT
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x24
	bl	_nf_ct_ext_exist
	cbz	x0, LBB0_4
LBB0_2:
	mov	x19, #0
	b	LBB0_17
LBB0_3:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_nf_ct_ext_create
LBB0_4:
	bl	_rcu_read_lock
Lloh0:
	adrp	x25, _nf_ct_ext_types@GOTPAGE
Lloh1:
	ldr	x25, [x25, _nf_ct_ext_types@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w0, [x8, w24, uxtw #2]
	bl	_rcu_dereference
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_ALIGN
	mov	x21, x0
	ldr	w20, [x20]
	add	w22, w20, w0
	bl	_rcu_read_unlock
	ldr	x0, [x19]
	mov	x1, x22
	mov	x2, x23
	bl	___krealloc
	cbz	x0, LBB0_2
; %bb.5:
	mov	x23, x0
	mov	w26, w24
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.6:
Lloh2:
	adrp	x27, _NF_CT_EXT_NUM@GOTPAGE
Lloh3:
	ldr	x27, [x27, _NF_CT_EXT_NUM@GOTPAGEOFF]
	ldr	w9, [x27]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.7:
	mov	x24, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_rcu_read_unlock
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x27]
	cmp	x24, x8
	b.ge	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_nf_ct_ext_exist
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_rcu_read_lock
	ldr	x8, [x25]
	ldr	w0, [x8, x24, lsl #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x23, #8]
	lsl	x10, x24, #2
	ldrsw	x9, [x9, x10]
	add	x0, x23, x9
	ldr	x9, [x19]
	ldr	x11, [x9, #8]
	ldrsw	x10, [x11, x10]
	add	x1, x9, x10
	blr	x8
	b	LBB0_8
LBB0_14:
	ldr	x8, [x19]
LBB0_15:
	add	x0, x8, #16
Lloh4:
	adrp	x8, ___nf_ct_ext_free_rcu@GOTPAGE
Lloh5:
	ldr	x8, [x8, ___nf_ct_ext_free_rcu@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_call_rcu
	str	x23, [x19]
LBB0_16:
	ldr	x8, [x23, #8]
	str	w21, [x8, x26, lsl #2]
	str	w22, [x23]
	add	x19, x23, w21, sxtw
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_memset
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_nf_ct_ext_types,8,3            ; @nf_ct_ext_types
	.comm	_NF_CT_EXT_NUM,4,2              ; @NF_CT_EXT_NUM
	.comm	___nf_ct_ext_free_rcu,4,2       ; @__nf_ct_ext_free_rcu
.subsections_via_symbols
