	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipso_v4_doi_remove            ## -- Begin function cipso_v4_doi_remove
	.p2align	4, 0x90
_cipso_v4_doi_remove:                   ## @cipso_v4_doi_remove
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_cipso_v4_doi_list_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movl	%r15d, %edi
	callq	_cipso_v4_doi_search
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	leaq	8(%rax), %rdi
	callq	_atomic_dec_and_test
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_list_del_rcu
	movq	_cipso_v4_doi_list_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_cipso_v4_cache_invalidate
	movq	_cipso_v4_doi_free_rcu@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_call_rcu
	jmp	LBB0_6
LBB0_1:
	movq	_cipso_v4_doi_list_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_cipso_v4_doi_list_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_6:
	movq	_AUDIT_MAC_CIPSOV4_DEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_netlbl_audit_start
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rbx
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	sete	%cl
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_audit_log_format
	movq	%rbx, %rdi
	callq	_audit_log_end
LBB0_8:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cipso_v4_doi_list_lock,4,2     ## @cipso_v4_doi_list_lock
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_cipso_v4_doi_free_rcu,4,2      ## @cipso_v4_doi_free_rcu
	.comm	_AUDIT_MAC_CIPSOV4_DEL,4,2      ## @AUDIT_MAC_CIPSOV4_DEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" cipso_doi=%u res=%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipso_v4_doi_remove            ; -- Begin function cipso_v4_doi_remove
	.p2align	2
_cipso_v4_doi_remove:                   ; @cipso_v4_doi_remove
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, _cipso_v4_doi_list_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _cipso_v4_doi_list_lock@GOTPAGEOFF]
	bl	_spin_lock
	mov	x0, x19
	bl	_cipso_v4_doi_search
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	add	x0, x0, #8
	bl	_atomic_dec_and_test
	cbz	w0, LBB0_4
; %bb.2:
	add	x0, x21, #4
	bl	_list_del_rcu
Lloh2:
	adrp	x0, _cipso_v4_doi_list_lock@GOTPAGE
Lloh3:
	ldr	x0, [x0, _cipso_v4_doi_list_lock@GOTPAGEOFF]
	bl	_spin_unlock
	bl	_cipso_v4_cache_invalidate
Lloh4:
	adrp	x8, _cipso_v4_doi_free_rcu@GOTPAGE
Lloh5:
	ldr	x8, [x8, _cipso_v4_doi_free_rcu@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_call_rcu
	mov	w21, #0
	b	LBB0_6
LBB0_3:
Lloh7:
	adrp	x0, _cipso_v4_doi_list_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _cipso_v4_doi_list_lock@GOTPAGEOFF]
	bl	_spin_unlock
Lloh9:
	adrp	x8, _ENOENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x0, _cipso_v4_doi_list_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _cipso_v4_doi_list_lock@GOTPAGEOFF]
	bl	_spin_unlock
Lloh13:
	adrp	x8, _EBUSY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
Lloh15:
	adrp	x8, _AUDIT_MAC_CIPSOV4_DEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AUDIT_MAC_CIPSOV4_DEL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_netlbl_audit_start
	cbz	x0, LBB0_8
; %bb.7:
	mov	x20, x0
	cmp	w21, #0
	cset	w3, eq
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_audit_log_format
	mov	x0, x20
	bl	_audit_log_end
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_cipso_v4_doi_list_lock,4,2     ; @cipso_v4_doi_list_lock
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_cipso_v4_doi_free_rcu,4,2      ; @cipso_v4_doi_free_rcu
	.comm	_AUDIT_MAC_CIPSOV4_DEL,4,2      ; @AUDIT_MAC_CIPSOV4_DEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" cipso_doi=%u res=%u"

.subsections_via_symbols
