	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_set_test                    ## -- Begin function ip_set_test
	.p2align	4, 0x90
_ip_set_test:                           ## @ip_set_test
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_ip_set_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdi,8), %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_BUG_ON
	movl	32(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	24(%r14), %rax
	cmpq	%r13, (%rax)
	jg	LBB0_6
## %bb.1:
	movq	(%r14), %rax
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_3
## %bb.2:
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_read_lock_bh
	movq	16(%r14), %rax
	movq	_IPSET_TEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%r12, %r9
	callq	*(%rax)
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_read_unlock_bh
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	%r12d, %ecx
	addl	(%rax), %ecx
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_write_lock_bh
	movq	16(%r14), %rax
	movq	_IPSET_ADD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_write_unlock_bh
	movl	$1, %r12d
LBB0_5:
	xorl	%eax, %eax
	testl	%r12d, %r12d
	cmovgl	%r12d, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ip_set_list,8,3                ## @ip_set_list
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set %s, index %u\n"

	.comm	_AF_UNSPEC,8,3                  ## @AF_UNSPEC
	.comm	_IPSET_TEST,4,2                 ## @IPSET_TEST
	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.1:                               ## @.str.1
	.asciz	"element must be competed, ADD is triggered\n"

	.comm	_IPSET_ADD,4,2                  ## @IPSET_ADD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_set_test                    ; -- Begin function ip_set_test
	.p2align	2
_ip_set_test:                           ; @ip_set_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _ip_set_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ip_set_list@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x23, [x8, x0, lsl #3]
	cmp	x23, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w8, [x23, #32]
	stp	x8, x24, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x23, #24]
	ldr	x8, [x8]
	cmp	x8, x20
	b.gt	LBB0_5
; %bb.1:
	ldr	x8, [x23]
Lloh5:
	adrp	x9, _AF_UNSPEC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AF_UNSPEC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x21
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_5
; %bb.2:
	add	x24, x23, #8
	mov	x0, x24
	bl	_read_lock_bh
	ldr	x8, [x23, #16]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _IPSET_TEST@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IPSET_TEST@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x9]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	blr	x8
	mov	x25, x0
	mov	x0, x24
	bl	_read_unlock_bh
Lloh11:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmn	w25, w8
	b.ne	LBB0_4
; %bb.3:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	mov	x0, x24
	bl	_write_lock_bh
	ldr	x8, [x23, #16]
	ldr	x8, [x8]
Lloh16:
	adrp	x9, _IPSET_ADD@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IPSET_ADD@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x9]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	blr	x8
	mov	x0, x24
	bl	_write_unlock_bh
	mov	w25, #1
LBB0_4:
	cmp	w25, #0
	csel	w0, w25, wzr, gt
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ip_set_list,8,3                ; @ip_set_list
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set %s, index %u\n"

	.comm	_AF_UNSPEC,8,3                  ; @AF_UNSPEC
	.comm	_IPSET_TEST,4,2                 ; @IPSET_TEST
	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.1:                               ; @.str.1
	.asciz	"element must be competed, ADD is triggered\n"

	.comm	_IPSET_ADD,4,2                  ; @IPSET_ADD
.subsections_via_symbols
