	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebt_cleanup_entry
_ebt_cleanup_entry:                     ## @ebt_cleanup_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movl	$1, %r14d
	subl	$1, (%rsi)
	jb	LBB0_7
LBB0_4:
	movq	_ebt_cleanup_watcher@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_EBT_WATCHER_ITERATE
	movq	_ebt_cleanup_match@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_EBT_MATCH_ITERATE
	movslq	8(%rbx), %rcx
	movq	8(%rbx,%rcx), %rax
	movq	%rax, -32(%rbp)
	movl	(%rbx,%rcx), %ecx
	movl	%ecx, -20(%rbp)
	movq	_NFPROTO_BRIDGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -24(%rbp)
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	leaq	-32(%rbp), %rdi
	callq	*%rcx
	movq	-32(%rbp), %rax
LBB0_6:
	movl	(%rax), %edi
	callq	_module_put
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ebt_cleanup_watcher,4,2        ## @ebt_cleanup_watcher
	.comm	_ebt_cleanup_match,4,2          ## @ebt_cleanup_match
	.comm	_NFPROTO_BRIDGE,4,2             ## @NFPROTO_BRIDGE
	.no_dead_strip	_ebt_cleanup_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebt_cleanup_entry
_ebt_cleanup_entry:                     ; @ebt_cleanup_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	cbz	x1, LBB0_3
; %bb.2:
	ldr	w8, [x1]
	sub	w9, w8, #1
	str	w9, [x1]
	cbz	w8, LBB0_8
LBB0_3:
Lloh0:
	adrp	x8, _ebt_cleanup_watcher@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ebt_cleanup_watcher@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_EBT_WATCHER_ITERATE
Lloh3:
	adrp	x8, _ebt_cleanup_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ebt_cleanup_match@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_EBT_MATCH_ITERATE
	ldrsw	x8, [x19, #8]
	add	x9, x19, x8
	ldr	x8, [x9, #8]
	str	x8, [sp]
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _NFPROTO_BRIDGE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NFPROTO_BRIDGE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w9, [sp, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_5
; %bb.4:
	mov	x0, sp
	blr	x9
	ldr	x8, [sp]
LBB0_5:
	ldr	w0, [x8]
	bl	_module_put
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	mov	w0, #1
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ebt_cleanup_watcher,4,2        ; @ebt_cleanup_watcher
	.comm	_ebt_cleanup_match,4,2          ; @ebt_cleanup_match
	.comm	_NFPROTO_BRIDGE,4,2             ; @NFPROTO_BRIDGE
	.no_dead_strip	_ebt_cleanup_entry
.subsections_via_symbols
