	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netlbl_unlabel_staticadddef
_netlbl_unlabel_staticadddef:           ## @netlbl_unlabel_staticadddef
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_NLBL_UNLABEL_A_SECCTX@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	movq	_NLBL_UNLABEL_A_IPV4ADDR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	$1, %ecx
	cmpl	$0, (%rax,%rdx,4)
	movl	$1, %edx
	je	LBB0_3
## %bb.2:
	movq	_NLBL_UNLABEL_A_IPV4MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	xorl	%edx, %edx
	cmpl	$0, (%rax,%rsi,4)
	sete	%dl
LBB0_3:
	movq	_NLBL_UNLABEL_A_IPV6ADDR@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpl	$0, (%rax,%rsi,4)
	je	LBB0_5
## %bb.4:
	movq	_NLBL_UNLABEL_A_IPV6MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	xorl	%ecx, %ecx
	cmpl	$0, (%rax,%rsi,4)
	sete	%cl
LBB0_5:
	cmpl	%ecx, %edx
	jne	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_7:
	leaq	-48(%rbp), %r14
	movq	%r14, %rsi
	callq	_netlbl_netlink_auditinfo
	leaq	-64(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_netlbl_unlabel_addrinfo_get
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_data
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_len
	leaq	-36(%rbp), %rdx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_security_secctx_to_secid
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rcx
	movl	-40(%rbp), %r8d
	movl	-36(%rbp), %r9d
	movq	%r14, (%rsp)
	movq	_init_net@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	callq	_netlbl_unlhsh_add
LBB0_10:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NLBL_UNLABEL_A_SECCTX,8,3      ## @NLBL_UNLABEL_A_SECCTX
	.comm	_NLBL_UNLABEL_A_IPV4ADDR,8,3    ## @NLBL_UNLABEL_A_IPV4ADDR
	.comm	_NLBL_UNLABEL_A_IPV4MASK,8,3    ## @NLBL_UNLABEL_A_IPV4MASK
	.comm	_NLBL_UNLABEL_A_IPV6ADDR,8,3    ## @NLBL_UNLABEL_A_IPV6ADDR
	.comm	_NLBL_UNLABEL_A_IPV6MASK,8,3    ## @NLBL_UNLABEL_A_IPV6MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_init_net,4,2                   ## @init_net
	.no_dead_strip	_netlbl_unlabel_staticadddef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netlbl_unlabel_staticadddef
_netlbl_unlabel_staticadddef:           ; @netlbl_unlabel_staticadddef
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x21, _NLBL_UNLABEL_A_SECCTX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NLBL_UNLABEL_A_SECCTX@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_6
; %bb.1:
	mov	x19, x1
Lloh2:
	adrp	x9, _NLBL_UNLABEL_A_IPV4ADDR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NLBL_UNLABEL_A_IPV4ADDR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_3
; %bb.2:
Lloh5:
	adrp	x9, _NLBL_UNLABEL_A_IPV4MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NLBL_UNLABEL_A_IPV4MASK@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #0
	cset	w9, eq
	b	LBB0_4
LBB0_3:
	mov	w9, #1
LBB0_4:
Lloh8:
	adrp	x10, _NLBL_UNLABEL_A_IPV6ADDR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _NLBL_UNLABEL_A_IPV6ADDR@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	ldr	w10, [x8, x10, lsl #2]
	cbz	w10, LBB0_7
; %bb.5:
Lloh11:
	adrp	x10, _NLBL_UNLABEL_A_IPV6MASK@GOTPAGE
Lloh12:
	ldr	x10, [x10, _NLBL_UNLABEL_A_IPV6MASK@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	ldr	w8, [x8, x10, lsl #2]
	cmp	w8, #0
	cset	w8, eq
	cmp	w9, w8
	b.ne	LBB0_8
LBB0_6:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_7:
	mov	w8, #1
	cmp	w9, w8
	b.eq	LBB0_6
LBB0_8:
	mov	x1, sp
	bl	_netlbl_netlink_auditinfo
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x19
	bl	_netlbl_unlabel_addrinfo_get
	cbnz	w0, LBB0_11
; %bb.9:
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_data
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_len
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	bl	_security_secctx_to_secid
	cbnz	w0, LBB0_11
; %bb.10:
	ldp	x3, x2, [sp, #16]
	ldp	w5, w4, [sp, #8]
Lloh17:
	adrp	x0, _init_net@GOTPAGE
Lloh18:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	mov	x6, sp
	mov	x1, #0
	bl	_netlbl_unlhsh_add
LBB0_11:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NLBL_UNLABEL_A_SECCTX,8,3      ; @NLBL_UNLABEL_A_SECCTX
	.comm	_NLBL_UNLABEL_A_IPV4ADDR,8,3    ; @NLBL_UNLABEL_A_IPV4ADDR
	.comm	_NLBL_UNLABEL_A_IPV4MASK,8,3    ; @NLBL_UNLABEL_A_IPV4MASK
	.comm	_NLBL_UNLABEL_A_IPV6ADDR,8,3    ; @NLBL_UNLABEL_A_IPV6ADDR
	.comm	_NLBL_UNLABEL_A_IPV6MASK,8,3    ; @NLBL_UNLABEL_A_IPV6MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_init_net,4,2                   ; @init_net
	.no_dead_strip	_netlbl_unlabel_staticadddef
.subsections_via_symbols
