	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dyn_add_ipv4_state
_dyn_add_ipv4_state:                    ## @dyn_add_ipv4_state
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movq	%r8, %r13
	movq	%rcx, %r14
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r15
	movq	16(%rbp), %rdi
	movq	_V_curr_dyn_buckets@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DYN_BUCKET
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_DYN_BUCKET_LOCK
	movl	40(%rbp), %r8d
	movq	(%r15), %rax
	movq	_MATCH_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	cmpl	%r8d, 24(%r15)
	jne	LBB0_4
## %bb.2:
	movq	16(%rbp), %rax
	cmpq	%rax, 8(%r15)
	jne	LBB0_4
## %bb.3:
	movq	16(%r15), %r15
	movq	_ipv4_add@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_DYN_BUCKET_VERSION
	movl	40(%rbp), %r8d
	cmpq	%rax, %r15
	je	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r12, %rcx
	callq	_dyn_lookup_ipv4_state_locked
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_DYN_BUCKET_UNLOCK
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_6:
	movl	32(%rbp), %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	movq	%r13, %r8
	movl	%ebx, %r9d
	pushq	%rax
	pushq	16(%rbp)
	callq	_dyn_alloc_dyndata
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %r15
	movl	48(%rbp), %edx
	movq	%r14, %rdi
	movl	40(%rbp), %esi
	callq	_dyn_alloc_ipv4_state
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%r15, (%rax)
	movq	_V_dyn_ipv4@GOTPCREL(%rip), %rcx
	movq	%r12, %rdi
	shlq	$2, %rdi
	addq	(%rcx), %rdi
	movq	_entry@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_CK_SLIST_INSERT_HEAD
	movq	_dyn_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DYN_COUNT_INC
	movq	_ipv4_add@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_DYN_BUCKET_VERSION_BUMP
	movq	%r12, %rdi
	callq	_DYN_BUCKET_UNLOCK
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_9:
	movq	%r12, %rdi
	callq	_DYN_BUCKET_UNLOCK
	jmp	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	callq	_DYN_BUCKET_UNLOCK
	movq	_V_dyn_data_zone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_uma_zfree
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_curr_dyn_buckets,4,2         ## @V_curr_dyn_buckets
	.comm	_MATCH_UNKNOWN,8,3              ## @MATCH_UNKNOWN
	.comm	_ipv4_add,4,2                   ## @ipv4_add
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_V_dyn_data_zone,4,2            ## @V_dyn_data_zone
	.comm	_V_dyn_ipv4,8,3                 ## @V_dyn_ipv4
	.comm	_entry,4,2                      ## @entry
	.comm	_dyn_count,4,2                  ## @dyn_count
	.no_dead_strip	_dyn_add_ipv4_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dyn_add_ipv4_state
_dyn_add_ipv4_state:                    ; @dyn_add_ipv4_state
	.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	x28, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x20, x3
	mov	x25, x2
	mov	x26, x1
	mov	x27, x0
	ldr	w21, [x29, #20]
Lloh0:
	adrp	x8, _V_curr_dyn_buckets@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_curr_dyn_buckets@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x6
	bl	_DYN_BUCKET
	mov	x19, x0
	bl	_DYN_BUCKET_LOCK
	ldr	x8, [x28]
Lloh3:
	adrp	x9, _MATCH_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MATCH_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	ldr	w8, [x28, #24]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x28, #8]
	cmp	x8, x22
	b.ne	LBB0_4
; %bb.3:
	ldr	x28, [x28, #16]
Lloh6:
	adrp	x8, _ipv4_add@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ipv4_add@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DYN_BUCKET_VERSION
	cmp	x28, x0
	b.eq	LBB0_6
LBB0_4:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	mov	x3, x19
	mov	x4, x21
	bl	_dyn_lookup_ipv4_state_locked
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_DYN_BUCKET_UNLOCK
Lloh9:
	adrp	x8, _EEXIST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
	ldr	w7, [x29, #16]
	mov	x0, x27
	mov	x1, x26
	mov	x2, x25
	mov	x3, x20
	mov	x4, x24
	mov	x5, x23
	mov	x6, x22
	bl	_dyn_alloc_dyndata
	cbz	x0, LBB0_9
; %bb.7:
	mov	x22, x0
	ldr	w2, [x29, #24]
	mov	x0, x20
	mov	x1, x21
	bl	_dyn_alloc_ipv4_state
	cbz	x0, LBB0_10
; %bb.8:
	mov	x1, x0
Lloh11:
	adrp	x8, _V_dyn_ipv4@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V_dyn_ipv4@GOTPAGEOFF]
	str	x22, [x0]
Lloh13:
	ldr	x8, [x8]
	add	x0, x8, x19, lsl #2
Lloh14:
	adrp	x8, _entry@GOTPAGE
Lloh15:
	ldr	x8, [x8, _entry@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	bl	_CK_SLIST_INSERT_HEAD
Lloh17:
	adrp	x8, _dyn_count@GOTPAGE
Lloh18:
	ldr	x8, [x8, _dyn_count@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_DYN_COUNT_INC
Lloh20:
	adrp	x8, _ipv4_add@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ipv4_add@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_DYN_BUCKET_VERSION_BUMP
	mov	x0, x19
	bl	_DYN_BUCKET_UNLOCK
	mov	w0, #0
	b	LBB0_13
LBB0_9:
	mov	x0, x19
	bl	_DYN_BUCKET_UNLOCK
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_DYN_BUCKET_UNLOCK
Lloh23:
	adrp	x8, _V_dyn_data_zone@GOTPAGE
Lloh24:
	ldr	x8, [x8, _V_dyn_data_zone@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_uma_zfree
LBB0_11:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
LBB0_13:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_V_curr_dyn_buckets,4,2         ; @V_curr_dyn_buckets
	.comm	_MATCH_UNKNOWN,8,3              ; @MATCH_UNKNOWN
	.comm	_ipv4_add,4,2                   ; @ipv4_add
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_V_dyn_data_zone,4,2            ; @V_dyn_data_zone
	.comm	_V_dyn_ipv4,8,3                 ; @V_dyn_ipv4
	.comm	_entry,4,2                      ; @entry
	.comm	_dyn_count,4,2                  ; @dyn_count
	.no_dead_strip	_dyn_add_ipv4_state
.subsections_via_symbols
