	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_set_rename
_ip_set_rename:                         ## @ip_set_rename
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rcx, %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), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_6:
	movq	_IPSET_ATTR_SETNAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_data
	movq	%rax, %rdi
	callq	_find_set
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r14
	movq	_ip_set_ref_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock_bh
	cmpq	$0, (%r14)
	je	LBB0_11
## %bb.9:
	movq	_IPSET_ERR_REFERENCED@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_7:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	movq	_IPSET_ATTR_SETNAME2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_data
	movq	%rax, %r12
	movq	_ip_set_max@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.12:
	xorl	%ebx, %ebx
	movq	_ip_set_list@GOTPCREL(%rip), %r13
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	cmpq	%rax, %rbx
	jae	LBB0_17
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	movq	(%rcx,%rbx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%rcx), %edi
	movq	%r12, %rsi
	callq	_STREQ
	testq	%rax, %rax
	jne	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r15), %rax
	jmp	LBB0_16
LBB0_17:
	movl	8(%r14), %edi
	movq	_IPSET_MAXNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_strncpy
	xorl	%ebx, %ebx
LBB0_18:
	movq	_ip_set_ref_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock_bh
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_IPSET_ERR_EXIST_SETNAME2@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.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	_ENOENT,4,2                     ## @ENOENT
	.comm	_ip_set_ref_lock,4,2            ## @ip_set_ref_lock
	.comm	_IPSET_ERR_REFERENCED,4,2       ## @IPSET_ERR_REFERENCED
	.comm	_ip_set_max,8,3                 ## @ip_set_max
	.comm	_ip_set_list,8,3                ## @ip_set_list
	.comm	_IPSET_ERR_EXIST_SETNAME2,4,2   ## @IPSET_ERR_EXIST_SETNAME2
	.comm	_IPSET_MAXNAMELEN,4,2           ## @IPSET_MAXNAMELEN
	.no_dead_strip	_ip_set_rename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_set_rename
_ip_set_rename:                         ; @ip_set_rename
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x0, x3
	bl	_protocol_failed
	cbz	x0, LBB0_4
LBB0_1:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_6
LBB0_2:
Lloh0:
	adrp	x8, _IPSET_ERR_PROTOCOL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPSET_ERR_PROTOCOL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_19
LBB0_4:
Lloh2:
	adrp	x8, _IPSET_ATTR_SETNAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_1
; %bb.5:
Lloh5:
	adrp	x8, _IPSET_ATTR_SETNAME2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME2@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_6:
Lloh8:
	adrp	x8, _IPSET_ATTR_SETNAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_data
	bl	_find_set
	cbz	x0, LBB0_10
; %bb.7:
	mov	x19, x0
Lloh11:
	adrp	x0, _ip_set_ref_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _ip_set_ref_lock@GOTPAGEOFF]
	bl	_read_lock_bh
	ldr	x8, [x19]
	cbz	x8, LBB0_11
; %bb.8:
Lloh13:
	adrp	x8, _IPSET_ERR_REFERENCED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPSET_ERR_REFERENCED@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_18
LBB0_10:
Lloh15:
	adrp	x8, _ENOENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_3
LBB0_11:
Lloh17:
	adrp	x8, _IPSET_ATTR_SETNAME2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IPSET_ATTR_SETNAME2@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_data
	mov	x20, x0
Lloh20:
	adrp	x21, _ip_set_max@GOTPAGE
Lloh21:
	ldr	x21, [x21, _ip_set_max@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_17
; %bb.12:
	mov	x22, #0
Lloh22:
	adrp	x23, _ip_set_list@GOTPAGE
Lloh23:
	ldr	x23, [x23, _ip_set_list@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x22, #1
	cmp	x22, x8
	b.hs	LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	ldr	x9, [x9, x22, lsl #3]
	cbz	x9, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x9]
	mov	x1, x20
	bl	_STREQ
	cbnz	x0, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x21]
	b	LBB0_13
LBB0_17:
	ldr	w0, [x19, #8]
Lloh24:
	adrp	x8, _IPSET_MAXNAMELEN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IPSET_MAXNAMELEN@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_strncpy
	mov	w19, #0
LBB0_18:
Lloh27:
	adrp	x0, _ip_set_ref_lock@GOTPAGE
Lloh28:
	ldr	x0, [x0, _ip_set_ref_lock@GOTPAGEOFF]
	bl	_read_unlock_bh
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_20:
Lloh29:
	adrp	x8, _IPSET_ERR_EXIST_SETNAME2@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IPSET_ERR_EXIST_SETNAME2@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.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	_ENOENT,4,2                     ; @ENOENT
	.comm	_ip_set_ref_lock,4,2            ; @ip_set_ref_lock
	.comm	_IPSET_ERR_REFERENCED,4,2       ; @IPSET_ERR_REFERENCED
	.comm	_ip_set_max,8,3                 ; @ip_set_max
	.comm	_ip_set_list,8,3                ; @ip_set_list
	.comm	_IPSET_ERR_EXIST_SETNAME2,4,2   ; @IPSET_ERR_EXIST_SETNAME2
	.comm	_IPSET_MAXNAMELEN,4,2           ; @IPSET_MAXNAMELEN
	.no_dead_strip	_ip_set_rename
.subsections_via_symbols
