	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netlbl_cipsov4_add
_netlbl_cipsov4_add:                    ## @netlbl_cipsov4_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	(%rsi), %rax
	movq	_NLBL_CIPSOV4_A_DOI@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	subl	(%rcx), %ebx
	cmpl	$0, (%rax,%rdx,4)
	je	LBB0_11
## %bb.1:
	movq	_NLBL_CIPSOV4_A_MTYPE@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_11
## %bb.2:
	movq	%rsi, %r14
	leaq	-32(%rbp), %rsi
	callq	_netlbl_netlink_auditinfo
	movq	(%r14), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_get_u32
	cmpl	$130, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.5:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_netlbl_cipsov4_add_std
	jmp	LBB0_8
LBB0_7:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_netlbl_cipsov4_add_local
	jmp	LBB0_8
LBB0_6:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	callq	_netlbl_cipsov4_add_pass
LBB0_8:
	movl	%eax, %ebx
LBB0_9:
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.10:
	movq	_netlabel_mgmt_protocount@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NLBL_CIPSOV4_A_DOI,8,3         ## @NLBL_CIPSOV4_A_DOI
	.comm	_NLBL_CIPSOV4_A_MTYPE,8,3       ## @NLBL_CIPSOV4_A_MTYPE
	.comm	_netlabel_mgmt_protocount,4,2   ## @netlabel_mgmt_protocount
	.no_dead_strip	_netlbl_cipsov4_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netlbl_cipsov4_add
_netlbl_cipsov4_add:                    ; @netlbl_cipsov4_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	ldr	x8, [x1]
Lloh3:
	adrp	x9, _NLBL_CIPSOV4_A_DOI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NLBL_CIPSOV4_A_DOI@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_11
; %bb.1:
Lloh6:
	adrp	x21, _NLBL_CIPSOV4_A_MTYPE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _NLBL_CIPSOV4_A_MTYPE@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_11
; %bb.2:
	mov	x20, x1
	add	x1, sp, #8
	bl	_netlbl_netlink_auditinfo
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_u32
	cmp	w0, #130
	b.eq	LBB0_6
; %bb.3:
	cmp	w0, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w0, #128
	b.ne	LBB0_9
; %bb.5:
	add	x1, sp, #8
	mov	x0, x20
	bl	_netlbl_cipsov4_add_std
	b	LBB0_8
LBB0_6:
	add	x1, sp, #8
	mov	x0, x20
	bl	_netlbl_cipsov4_add_local
	b	LBB0_8
LBB0_7:
	add	x1, sp, #8
	mov	x0, x20
	bl	_netlbl_cipsov4_add_pass
LBB0_8:
	mov	x19, x0
LBB0_9:
	cbnz	w19, LBB0_11
; %bb.10:
Lloh8:
	adrp	x0, _netlabel_mgmt_protocount@GOTPAGE
Lloh9:
	ldr	x0, [x0, _netlabel_mgmt_protocount@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_11:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NLBL_CIPSOV4_A_DOI,8,3         ; @NLBL_CIPSOV4_A_DOI
	.comm	_NLBL_CIPSOV4_A_MTYPE,8,3       ; @NLBL_CIPSOV4_A_MTYPE
	.comm	_netlabel_mgmt_protocount,4,2   ; @netlabel_mgmt_protocount
	.no_dead_strip	_netlbl_cipsov4_add
.subsections_via_symbols
