	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_set_destroy
_ip_set_destroy:                        ## @ip_set_destroy
	.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	%rcx, %rbx
	movq	%rcx, %rdi
	callq	_protocol_failed
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IPSET_ERR_PROTOCOL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
LBB0_2:
	movq	_ip_set_ref_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock_bh
	movq	_IPSET_ATTR_SETNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	callq	_nla_data
	movl	%eax, %edi
	callq	_find_set_id
	movq	%rax, %rbx
	movq	_IPSET_INVALID_ID@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_10
## %bb.4:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_5:
	movq	_ip_set_max@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.6:
	movq	_ip_set_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%esi, %esi
	movq	_IPSET_ERR_BUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, (%rdi)
	je	LBB0_7
	jmp	LBB0_12
LBB0_10:
	movq	_ip_set_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.11:
	movq	_IPSET_ERR_BUSY@GOTPCREL(%rip), %rax
LBB0_12:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_ip_set_ref_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	jmp	LBB0_21
LBB0_13:
	movq	_ip_set_ref_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	xorl	%ebx, %ebx
	movq	_ip_set_list@GOTPCREL(%rip), %r15
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_20
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	cmpq	$0, (%rcx,%rbx,8)
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	callq	_ip_set_destroy_set
	movq	(%r14), %rax
	jmp	LBB0_15
LBB0_19:
	movq	_ip_set_ref_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
	movq	%rbx, %rdi
	callq	_ip_set_destroy_set
LBB0_20:
	xorl	%ebx, %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPSET_ERR_PROTOCOL,4,2         ## @IPSET_ERR_PROTOCOL
	.comm	_ip_set_ref_lock,4,2            ## @ip_set_ref_lock
	.comm	_IPSET_ATTR_SETNAME,8,3         ## @IPSET_ATTR_SETNAME
	.comm	_ip_set_max,8,3                 ## @ip_set_max
	.comm	_ip_set_list,8,3                ## @ip_set_list
	.comm	_IPSET_ERR_BUSY,4,2             ## @IPSET_ERR_BUSY
	.comm	_IPSET_INVALID_ID,8,3           ## @IPSET_INVALID_ID
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_ip_set_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_set_destroy
_ip_set_destroy:                        ; @ip_set_destroy
	.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	x19, x3
	mov	x0, x3
	bl	_protocol_failed
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IPSET_ERR_PROTOCOL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPSET_ERR_PROTOCOL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_20
LBB0_2:
Lloh3:
	adrp	x0, _ip_set_ref_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _ip_set_ref_lock@GOTPAGEOFF]
	bl	_read_lock_bh
Lloh5:
	adrp	x8, _IPSET_ATTR_SETNAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x0, [x19, x8, lsl #3]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_nla_data
	bl	_find_set_id
Lloh8:
	adrp	x8, _IPSET_INVALID_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IPSET_INVALID_ID@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.4:
Lloh11:
	adrp	x8, _ENOENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
Lloh13:
	adrp	x20, _ip_set_max@GOTPAGE
Lloh14:
	ldr	x20, [x20, _ip_set_max@GOTPAGEOFF]
	ldr	x9, [x20]
	cbz	x9, LBB0_13
; %bb.6:
Lloh15:
	adrp	x8, _ip_set_list@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ip_set_list@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x8]
Lloh18:
	adrp	x8, _IPSET_ERR_BUSY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IPSET_ERR_BUSY@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x11, [x11]
	cbz	x11, LBB0_7
	b	LBB0_12
LBB0_10:
	mov	x19, x0
Lloh20:
	adrp	x8, _ip_set_list@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ip_set_list@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x8, [x8, x0, lsl #3]
	ldr	x8, [x8]
	cbz	x8, LBB0_18
; %bb.11:
Lloh23:
	adrp	x8, _IPSET_ERR_BUSY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IPSET_ERR_BUSY@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w19, w8
Lloh25:
	adrp	x0, _ip_set_ref_lock@GOTPAGE
Lloh26:
	ldr	x0, [x0, _ip_set_ref_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
	b	LBB0_20
LBB0_13:
Lloh27:
	adrp	x0, _ip_set_ref_lock@GOTPAGE
Lloh28:
	ldr	x0, [x0, _ip_set_ref_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
	ldr	x8, [x20]
	cbz	x8, LBB0_19
; %bb.14:
	mov	x19, #0
Lloh29:
	adrp	x21, _ip_set_list@GOTPAGE
Lloh30:
	ldr	x21, [x21, _ip_set_list@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x19, x19, #1
	cmp	x19, x8
	b.hs	LBB0_19
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x9, [x9, x19, lsl #3]
	cbz	x9, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	bl	_ip_set_destroy_set
	ldr	x8, [x20]
	b	LBB0_15
LBB0_18:
Lloh31:
	adrp	x0, _ip_set_ref_lock@GOTPAGE
Lloh32:
	ldr	x0, [x0, _ip_set_ref_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
	mov	x0, x19
	bl	_ip_set_destroy_set
LBB0_19:
	mov	w19, #0
LBB0_20:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_IPSET_ERR_PROTOCOL,4,2         ; @IPSET_ERR_PROTOCOL
	.comm	_ip_set_ref_lock,4,2            ; @ip_set_ref_lock
	.comm	_IPSET_ATTR_SETNAME,8,3         ; @IPSET_ATTR_SETNAME
	.comm	_ip_set_max,8,3                 ; @ip_set_max
	.comm	_ip_set_list,8,3                ; @ip_set_list
	.comm	_IPSET_ERR_BUSY,4,2             ; @IPSET_ERR_BUSY
	.comm	_IPSET_INVALID_ID,8,3           ; @IPSET_INVALID_ID
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_ip_set_destroy
.subsections_via_symbols
