	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netlbl_mgmt_add_common
_netlbl_mgmt_add_common:                ## @netlbl_mgmt_add_common
	.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
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	_NLBL_MGMT_A_PROTOCOL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_get_u32
	movl	%eax, (%rbx)
	movq	(%r14), %rcx
	movq	_NLBL_MGMT_A_DOMAIN@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	callq	_nla_len
	movslq	%eax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_kmalloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_21
## %bb.3:
	movq	(%r14), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rsi
	movq	%rax, %rdi
	movq	%r15, %rdx
	callq	_nla_strlcpy
	movl	(%rbx), %eax
LBB0_4:
	cmpl	$128, %eax
	je	LBB0_10
## %bb.5:
	cmpl	$129, %eax
	jne	LBB0_31
## %bb.6:
	movq	(%r14), %rax
	movq	_NLBL_MGMT_A_CV4DOI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.7:
	callq	_nla_get_u32
	movq	%rax, %rdi
	callq	_cipso_v4_doi_getdef
	testq	%rax, %rax
	je	LBB0_31
## %bb.8:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, 24(%rbx)
	jmp	LBB0_11
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_33
LBB0_31:
	xorl	%r15d, %r15d
	jmp	LBB0_32
LBB0_10:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
LBB0_11:
	movq	(%r14), %rax
	movq	_NLBL_MGMT_A_IPV4ADDR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	xorl	%r13d, %r13d
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_22
## %bb.12:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_26
## %bb.13:
	movq	%rax, %r15
	leaq	48(%rax), %r12
	movq	%r12, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, %rdi
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	cmpl	$4, %eax
	jne	LBB0_24
## %bb.14:
	movq	(%r14), %rax
	movq	_NLBL_MGMT_A_IPV4MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	cmpl	$4, %eax
	jne	LBB0_24
## %bb.15:
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_data
	movq	%rax, %rbx
	movq	(%r14), %rax
	movq	_NLBL_MGMT_A_IPV4MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_data
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_35
## %bb.16:
	movq	%rax, %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	(%rbx), %ecx
	andl	%eax, %ecx
	movq	%r14, %rdi
	addq	$36, %rdi
	movl	%ecx, 36(%r14)
	movl	%eax, 40(%r14)
	movl	$1, 44(%r14)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	%rax, 24(%r14)
LBB0_18:
	movq	%r12, %rsi
	callq	_netlbl_af4list_add
	testl	%eax, %eax
	je	LBB0_36
## %bb.19:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_kfree
	jmp	LBB0_29
LBB0_21:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_32
LBB0_22:
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_23:
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_netlbl_domhsh_add
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_29
	jmp	LBB0_34
LBB0_24:
	xorl	%r12d, %r12d
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_26:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_27:
	xorl	%r12d, %r12d
LBB0_28:
	subl	(%rax), %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_29:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.30:
	callq	_cipso_v4_doi_putdef
LBB0_32:
	movq	8(%rbx), %rdi
	callq	_kfree
LBB0_33:
	movq	%r15, %rdi
	callq	_kfree
	movq	%rbx, %rdi
	callq	_kfree
	movl	%r12d, %r13d
LBB0_34:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_36:
	movq	_NETLBL_NLTYPE_ADDRSELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r15, 16(%rbx)
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NLBL_MGMT_A_PROTOCOL,8,3       ## @NLBL_MGMT_A_PROTOCOL
	.comm	_NLBL_MGMT_A_DOMAIN,8,3         ## @NLBL_MGMT_A_DOMAIN
	.comm	_NLBL_MGMT_A_CV4DOI,8,3         ## @NLBL_MGMT_A_CV4DOI
	.comm	_NLBL_MGMT_A_IPV4ADDR,8,3       ## @NLBL_MGMT_A_IPV4ADDR
	.comm	_NLBL_MGMT_A_IPV4MASK,8,3       ## @NLBL_MGMT_A_IPV4MASK
	.comm	_NETLBL_NLTYPE_ADDRSELECT,8,3   ## @NETLBL_NLTYPE_ADDRSELECT
	.comm	_NLBL_MGMT_A_IPV6ADDR,8,3       ## @NLBL_MGMT_A_IPV6ADDR
	.comm	_NLBL_MGMT_A_IPV6MASK,8,3       ## @NLBL_MGMT_A_IPV6MASK
	.no_dead_strip	_netlbl_mgmt_add_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netlbl_mgmt_add_common
_netlbl_mgmt_add_common:                ; @netlbl_mgmt_add_common
	.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	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x25, _EINVAL@GOTPAGE
Lloh1:
	ldr	x25, [x25, _EINVAL@GOTPAGEOFF]
	ldr	w22, [x25]
Lloh2:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	w0, #56
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x8, [x23]
Lloh4:
	adrp	x9, _NLBL_MGMT_A_PROTOCOL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NLBL_MGMT_A_PROTOCOL@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_get_u32
	str	w0, [x19]
	ldr	x8, [x23]
Lloh7:
	adrp	x24, _NLBL_MGMT_A_DOMAIN@GOTPAGE
Lloh8:
	ldr	x24, [x24, _NLBL_MGMT_A_DOMAIN@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x8
	bl	_nla_len
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	ldr	w1, [x27]
	mov	x0, x21
	bl	_kmalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_21
; %bb.3:
	ldr	x8, [x23]
	ldr	x9, [x24]
	ldr	x1, [x8, x9, lsl #3]
	mov	x2, x21
	bl	_nla_strlcpy
	ldr	w0, [x19]
LBB0_4:
	cmp	w0, #128
	b.eq	LBB0_11
; %bb.5:
	neg	w24, w22
	cmp	w0, #129
	b.ne	LBB0_10
; %bb.6:
	ldr	x8, [x23]
Lloh9:
	adrp	x9, _NLBL_MGMT_A_CV4DOI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NLBL_MGMT_A_CV4DOI@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_10
; %bb.7:
	bl	_nla_get_u32
	bl	_cipso_v4_doi_getdef
	cbz	x0, LBB0_10
; %bb.8:
	mov	x22, x0
	str	x0, [x19, #24]
	b	LBB0_12
LBB0_9:
	mov	x21, #0
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_28
LBB0_10:
	mov	x21, #0
	b	LBB0_27
LBB0_11:
	mov	x22, #0
LBB0_12:
	ldr	x8, [x23]
Lloh15:
	adrp	x26, _NLBL_MGMT_A_IPV4ADDR@GOTPAGE
Lloh16:
	ldr	x26, [x26, _NLBL_MGMT_A_IPV4ADDR@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_22
; %bb.13:
	ldr	w1, [x27]
	mov	w0, #56
	bl	_kzalloc
	mov	x21, x0
	cbz	x0, LBB0_30
; %bb.14:
	add	x24, x21, #48
	mov	x0, x24
	bl	_INIT_LIST_HEAD
	add	x0, x21, #32
	bl	_INIT_LIST_HEAD
	ldr	x8, [x23]
	ldr	x9, [x26]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	cmp	w0, #4
	b.ne	LBB0_24
; %bb.15:
	ldr	x8, [x23]
Lloh17:
	adrp	x28, _NLBL_MGMT_A_IPV4MASK@GOTPAGE
Lloh18:
	ldr	x28, [x28, _NLBL_MGMT_A_IPV4MASK@GOTPAGEOFF]
	ldr	x9, [x28]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	cmp	w0, #4
	b.ne	LBB0_24
; %bb.16:
	ldr	x8, [x23]
	ldr	x9, [x26]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_data
	mov	x25, x0
	ldr	x8, [x23]
	ldr	x9, [x28]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_data
	mov	x26, x0
	ldr	w1, [x27]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_30
; %bb.17:
	mov	x23, x0
	ldr	w8, [x25]
	ldr	w9, [x26]
	and	w8, w9, w8
	str	w8, [x0, #36]!
	mov	w8, #1
	stp	w9, w8, [x23, #40]
	ldr	w8, [x19]
	str	w8, [x23]
	cbz	x22, LBB0_19
; %bb.18:
	str	x22, [x23, #24]
LBB0_19:
	mov	x1, x24
	bl	_netlbl_af4list_add
	cbz	w0, LBB0_31
; %bb.20:
	mov	x24, x0
	mov	x0, x23
	bl	_kfree
	cbnz	x22, LBB0_26
	b	LBB0_27
LBB0_21:
	mov	x21, #0
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_27
LBB0_22:
	mov	x21, #0
LBB0_23:
	mov	x0, x19
	mov	x1, x20
	bl	_netlbl_domhsh_add
	mov	x24, x0
	cbnz	w0, LBB0_25
	b	LBB0_29
LBB0_24:
	ldr	w8, [x25]
	neg	w24, w8
LBB0_25:
	cbz	x22, LBB0_27
LBB0_26:
	mov	x0, x22
	bl	_cipso_v4_doi_putdef
LBB0_27:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_28:
	mov	x0, x21
	bl	_kfree
	mov	x0, x19
	bl	_kfree
LBB0_29:
	mov	x0, x24
	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
LBB0_30:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w24, w8
	cbnz	x22, LBB0_26
	b	LBB0_27
LBB0_31:
Lloh25:
	adrp	x8, _NETLBL_NLTYPE_ADDRSELECT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NETLBL_NLTYPE_ADDRSELECT@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	w8, [x19]
	str	x21, [x19, #16]
	b	LBB0_23
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NLBL_MGMT_A_PROTOCOL,8,3       ; @NLBL_MGMT_A_PROTOCOL
	.comm	_NLBL_MGMT_A_DOMAIN,8,3         ; @NLBL_MGMT_A_DOMAIN
	.comm	_NLBL_MGMT_A_CV4DOI,8,3         ; @NLBL_MGMT_A_CV4DOI
	.comm	_NLBL_MGMT_A_IPV4ADDR,8,3       ; @NLBL_MGMT_A_IPV4ADDR
	.comm	_NLBL_MGMT_A_IPV4MASK,8,3       ; @NLBL_MGMT_A_IPV4MASK
	.comm	_NETLBL_NLTYPE_ADDRSELECT,8,3   ; @NETLBL_NLTYPE_ADDRSELECT
	.comm	_NLBL_MGMT_A_IPV6ADDR,8,3       ; @NLBL_MGMT_A_IPV6ADDR
	.comm	_NLBL_MGMT_A_IPV6MASK,8,3       ; @NLBL_MGMT_A_IPV6MASK
	.no_dead_strip	_netlbl_mgmt_add_common
.subsections_via_symbols
