	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netlbl_unlabel_staticremovedef
_netlbl_unlabel_staticremovedef:        ## @netlbl_unlabel_staticremovedef
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rcx
	movq	_NLBL_UNLABEL_A_IPV4ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$1, %eax
	cmpl	$0, (%rcx,%rdx,4)
	movl	$1, %edx
	je	LBB0_2
## %bb.1:
	movq	_NLBL_UNLABEL_A_IPV4MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	xorl	%edx, %edx
	cmpl	$0, (%rcx,%rsi,4)
	sete	%dl
LBB0_2:
	movq	_NLBL_UNLABEL_A_IPV6ADDR@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpl	$0, (%rcx,%rsi,4)
	je	LBB0_4
## %bb.3:
	movq	_NLBL_UNLABEL_A_IPV6MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%eax, %eax
	cmpl	$0, (%rcx,%rsi,4)
	sete	%al
LBB0_4:
	cmpl	%eax, %edx
	jne	LBB0_6
## %bb.5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_6:
	leaq	-16(%rbp), %rsi
	callq	_netlbl_netlink_auditinfo
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_netlbl_unlabel_addrinfo_get
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	-40(%rbp), %rdx
	movq	-32(%rbp), %rcx
	movl	-20(%rbp), %r8d
	movq	_init_net@GOTPCREL(%rip), %rdi
	leaq	-16(%rbp), %r9
	xorl	%esi, %esi
	callq	_netlbl_unlhsh_remove
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_staticremovedef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netlbl_unlabel_staticremovedef
_netlbl_unlabel_staticremovedef:        ; @netlbl_unlabel_staticremovedef
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _NLBL_UNLABEL_A_IPV4ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NLBL_UNLABEL_A_IPV4ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _NLBL_UNLABEL_A_IPV4MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NLBL_UNLABEL_A_IPV4MASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cmp	w9, #0
	cset	w9, eq
	b	LBB0_3
LBB0_2:
	mov	w9, #1
LBB0_3:
Lloh6:
	adrp	x10, _NLBL_UNLABEL_A_IPV6ADDR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NLBL_UNLABEL_A_IPV6ADDR@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w10, [x8, x10, lsl #2]
	cbz	w10, LBB0_6
; %bb.4:
Lloh9:
	adrp	x10, _NLBL_UNLABEL_A_IPV6MASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NLBL_UNLABEL_A_IPV6MASK@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	ldr	w8, [x8, x10, lsl #2]
	cmp	w8, #0
	cset	w8, eq
	cmp	w9, w8
	b.ne	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	mov	w8, #1
	cmp	w9, w8
	b.eq	LBB0_5
LBB0_7:
	add	x1, sp, #8
	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_9
; %bb.8:
	ldp	x3, x2, [sp, #16]
	ldr	w4, [sp, #12]
Lloh15:
	adrp	x0, _init_net@GOTPAGE
Lloh16:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	add	x5, sp, #8
	mov	x1, #0
	bl	_netlbl_unlhsh_remove
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.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_staticremovedef
.subsections_via_symbols
