	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_set_swap
_ip_set_swap:                           ## @ip_set_swap
	.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	%rcx, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IPSET_MAXNAMELEN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rdi
	callq	_protocol_failed
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_IPSET_ATTR_SETNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_3
## %bb.2:
	movq	_IPSET_ATTR_SETNAME2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rbx,%rax,8)
	sete	%dil
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_IPSET_ERR_PROTOCOL@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_6:
	movq	_IPSET_ATTR_SETNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_data
	movl	%eax, %edi
	callq	_find_set_id
	movq	_IPSET_INVALID_ID@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_8
## %bb.7:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_8:
	movq	%rax, %r15
	movq	_IPSET_ATTR_SETNAME2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_data
	movl	%eax, %edi
	callq	_find_set_id
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.9:
	movq	_IPSET_ERR_EXIST_SETNAME2@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_10:
	movq	%rax, %rbx
	movq	_ip_set_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rdi
	movq	(%rax,%rbx,8), %r13
	movq	16(%rdi), %rax
	movq	(%rax), %rdx
	movq	16(%r13), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_12
## %bb.11:
	movq	8(%rax), %rax
	cmpq	8(%rcx), %rax
	jne	LBB0_12
## %bb.13:
	movq	(%rdi), %rsi
	movl	(%r12), %edx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_strncpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	(%r13), %rsi
	movl	(%r12), %edx
	callq	_strncpy
	movq	(%r13), %rdi
	movl	(%r12), %edx
	movq	%r14, %rsi
	callq	_strncpy
	movq	_ip_set_ref_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_write_lock_bh
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	8(%r12), %edi
	movl	8(%r13), %esi
	callq	_swap
	movq	_ip_set_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%r13, (%rax,%r15,8)
	movq	(%rcx), %rax
	movq	%r12, (%rax,%rbx,8)
	movq	%r14, %rdi
	callq	_write_unlock_bh
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_12:
	movq	_IPSET_ERR_TYPE_MISMATCH@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IPSET_MAXNAMELEN,4,2           ## @IPSET_MAXNAMELEN
	.comm	_IPSET_ATTR_SETNAME,8,3         ## @IPSET_ATTR_SETNAME
	.comm	_IPSET_ATTR_SETNAME2,8,3        ## @IPSET_ATTR_SETNAME2
	.comm	_IPSET_ERR_PROTOCOL,4,2         ## @IPSET_ERR_PROTOCOL
	.comm	_IPSET_INVALID_ID,8,3           ## @IPSET_INVALID_ID
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_IPSET_ERR_EXIST_SETNAME2,4,2   ## @IPSET_ERR_EXIST_SETNAME2
	.comm	_ip_set_list,8,3                ## @ip_set_list
	.comm	_IPSET_ERR_TYPE_MISMATCH,4,2    ## @IPSET_ERR_TYPE_MISMATCH
	.comm	_ip_set_ref_lock,4,2            ## @ip_set_ref_lock
	.no_dead_strip	_ip_set_swap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_set_swap
_ip_set_swap:                           ; @ip_set_swap
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x21, x3
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x22, _IPSET_MAXNAMELEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IPSET_MAXNAMELEN@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x3
	bl	_protocol_failed
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_2:
Lloh7:
	adrp	x8, _IPSET_ERR_PROTOCOL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IPSET_ERR_PROTOCOL@GOTPAGEOFF]
	b	LBB0_13
LBB0_3:
Lloh9:
	adrp	x8, _IPSET_ATTR_SETNAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_1
; %bb.4:
Lloh12:
	adrp	x8, _IPSET_ATTR_SETNAME2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME2@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x8, [x21, x8, lsl #3]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_5:
Lloh15:
	adrp	x8, _IPSET_ATTR_SETNAME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_data
	bl	_find_set_id
Lloh18:
	adrp	x23, _IPSET_INVALID_ID@GOTPAGE
Lloh19:
	ldr	x23, [x23, _IPSET_INVALID_ID@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
Lloh20:
	adrp	x8, _ENOENT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	mov	x20, x0
Lloh22:
	adrp	x8, _IPSET_ATTR_SETNAME2@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME2@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_data
	bl	_find_set_id
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.8:
Lloh25:
	adrp	x8, _IPSET_ERR_EXIST_SETNAME2@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IPSET_ERR_EXIST_SETNAME2@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
	mov	x21, x0
Lloh27:
	adrp	x23, _ip_set_list@GOTPAGE
Lloh28:
	ldr	x23, [x23, _ip_set_list@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x24, [x8, x20, lsl #3]
	ldr	x25, [x8, x0, lsl #3]
	ldr	x8, [x24, #16]
	ldr	x10, [x8]
	ldr	x9, [x25, #16]
	ldr	x11, [x9]
	cmp	x10, x11
	b.ne	LBB0_12
; %bb.10:
	ldr	x8, [x8, #8]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	ldr	x1, [x24]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_strncpy
	ldr	x0, [x24]
	ldr	x1, [x25]
	ldr	w2, [x22]
	bl	_strncpy
	ldr	x0, [x25]
	ldr	w2, [x22]
	mov	x1, x19
	bl	_strncpy
Lloh29:
	adrp	x19, _ip_set_ref_lock@GOTPAGE
Lloh30:
	ldr	x19, [x19, _ip_set_ref_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_write_lock_bh
	ldr	w0, [x24, #8]
	ldr	w1, [x25, #8]
	bl	_swap
	ldr	x8, [x23]
	str	x25, [x8, x20, lsl #3]
	ldr	x8, [x23]
	str	x24, [x8, x21, lsl #3]
	mov	x0, x19
	bl	_write_unlock_bh
	mov	w0, #0
	b	LBB0_14
LBB0_12:
Lloh31:
	adrp	x8, _IPSET_ERR_TYPE_MISMATCH@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IPSET_ERR_TYPE_MISMATCH@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	ldur	x8, [x29, #-72]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_IPSET_MAXNAMELEN,4,2           ; @IPSET_MAXNAMELEN
	.comm	_IPSET_ATTR_SETNAME,8,3         ; @IPSET_ATTR_SETNAME
	.comm	_IPSET_ATTR_SETNAME2,8,3        ; @IPSET_ATTR_SETNAME2
	.comm	_IPSET_ERR_PROTOCOL,4,2         ; @IPSET_ERR_PROTOCOL
	.comm	_IPSET_INVALID_ID,8,3           ; @IPSET_INVALID_ID
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_IPSET_ERR_EXIST_SETNAME2,4,2   ; @IPSET_ERR_EXIST_SETNAME2
	.comm	_ip_set_list,8,3                ; @ip_set_list
	.comm	_IPSET_ERR_TYPE_MISMATCH,4,2    ; @IPSET_ERR_TYPE_MISMATCH
	.comm	_ip_set_ref_lock,4,2            ; @ip_set_ref_lock
	.no_dead_strip	_ip_set_swap
.subsections_via_symbols
