	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_set_type_register           ## -- Begin function ip_set_type_register
	.p2align	4, 0x90
_ip_set_type_register:                  ## @ip_set_type_register
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_IPSET_PROTOCOL@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_ip_set_type_lock
	movl	16(%rbx), %edi
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	callq	_find_set_type
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	12(%rbx), %edi
	movl	16(%rbx), %r15d
	callq	_family_name
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_warning
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_5
LBB0_1:
	movl	12(%rbx), %edi
	movl	16(%rbx), %r15d
	callq	_family_name
	movl	8(%rbx), %ecx
	movq	(%rbx), %r8
	movq	(%r14), %r9
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_pr_warning
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_6
LBB0_4:
	leaq	20(%rbx), %rdi
	movq	_ip_set_type_list@GOTPCREL(%rip), %rsi
	callq	_list_add_rcu
	movl	12(%rbx), %edi
	movl	16(%rbx), %r15d
	callq	_family_name
	movl	8(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_pr_debug
LBB0_5:
	xorl	%eax, %eax
	callq	_ip_set_type_unlock
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPSET_PROTOCOL,8,3             ## @IPSET_PROTOCOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ip_set type %s, family %s, revision %u uses wrong protocol version %u (want %u)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"ip_set type %s, family %s, revision %u already registered!\n"

	.comm	_ip_set_type_list,4,2           ## @ip_set_type_list
L_.str.2:                               ## @.str.2
	.asciz	"type %s, family %s, revision %u registered.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_set_type_register           ; -- Begin function ip_set_type_register
	.p2align	2
_ip_set_type_register:                  ; @ip_set_type_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _IPSET_PROTOCOL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IPSET_PROTOCOL@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	bl	_ip_set_type_lock
	ldp	w1, w0, [x19, #12]
	ldr	w2, [x19, #8]
	bl	_find_set_type
	cbz	x0, LBB0_4
; %bb.2:
	ldp	w0, w20, [x19, #12]
	bl	_family_name
	mov	x2, x0
	ldr	w3, [x19, #8]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_pr_warning
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_5
LBB0_3:
	ldp	w0, w20, [x19, #12]
	bl	_family_name
	mov	x2, x0
	ldr	w3, [x19, #8]
	ldr	x8, [x19]
	ldr	x9, [x21]
	stp	x8, x9, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pr_warning
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_6
LBB0_4:
	add	x0, x19, #20
Lloh12:
	adrp	x1, _ip_set_type_list@GOTPAGE
Lloh13:
	ldr	x1, [x1, _ip_set_type_list@GOTPAGEOFF]
	bl	_list_add_rcu
	ldp	w0, w20, [x19, #12]
	bl	_family_name
	mov	x2, x0
	ldr	w3, [x19, #8]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_pr_debug
	mov	w19, #0
LBB0_5:
	bl	_ip_set_type_unlock
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IPSET_PROTOCOL,8,3             ; @IPSET_PROTOCOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ip_set type %s, family %s, revision %u uses wrong protocol version %u (want %u)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"ip_set type %s, family %s, revision %u already registered!\n"

	.comm	_ip_set_type_list,4,2           ; @ip_set_type_list
l_.str.2:                               ; @.str.2
	.asciz	"type %s, family %s, revision %u registered.\n"

.subsections_via_symbols
