	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___netlink_change_ngroups       ## -- Begin function __netlink_change_ngroups
	.p2align	4, 0x90
___netlink_change_ngroups:              ## @__netlink_change_ngroups
	.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	_nl_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpl	$33, %esi
	movl	$32, %r15d
	cmovael	%esi, %r15d
	movq	(%rdi), %r12
	shlq	$4, %r12
	leaq	(%r12,%r13), %r14
	movl	(%r13,%r12), %edi
	callq	_NLGRPSZ
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_NLGRPSZ
	cmpq	%rax, %rbx
	jge	LBB0_4
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_NLGRPSZ
	leaq	16(%rax), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r14
	movq	8(%r13,%r12), %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_NLGRPSZ
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_memcpy
	movq	8(%r13,%r12), %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	callq	_rcu_assign_pointer
	movq	8(%r13,%r12), %rbx
	movl	(%r14), %edi
	callq	_NLGRPLONGS
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rbx,%rax,8)
	leaq	(%rbx,%rax,8), %rdi
	addq	$8, %rdi
	movq	_netlink_free_old_listeners@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_call_rcu
LBB0_4:
	movl	%r15d, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nl_table,8,3                   ## @nl_table
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_netlink_free_old_listeners,4,2 ## @netlink_free_old_listeners
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___netlink_change_ngroups       ; -- Begin function __netlink_change_ngroups
	.p2align	2
___netlink_change_ngroups:              ; @__netlink_change_ngroups
	.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
Lloh0:
	adrp	x8, _nl_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nl_table@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	x23, [x0]
	mov	w8, #32
	cmp	w1, #32
	csel	w19, w1, w8, hi
	add	x22, x21, x23, lsl #4
	ldr	w0, [x22]
	bl	_NLGRPSZ
	mov	x20, x0
	mov	x0, x19
	bl	_NLGRPSZ
	cmp	x20, x0
	b.ge	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_NLGRPSZ
	add	x0, x0, #16
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	add	x23, x21, x23, lsl #4
	ldr	x21, [x23, #8]
	ldr	w0, [x22]
	bl	_NLGRPSZ
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	ldr	x0, [x23, #8]
	mov	x1, x20
	bl	_rcu_assign_pointer
	ldr	x20, [x23, #8]
	ldr	w0, [x22]
	bl	_NLGRPLONGS
	add	x0, x20, w0, sxtw #3
	str	x21, [x0], #8
Lloh6:
	adrp	x8, _netlink_free_old_listeners@GOTPAGE
Lloh7:
	ldr	x8, [x8, _netlink_free_old_listeners@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_call_rcu
LBB0_3:
	mov	w0, #0
	str	w19, [x22]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_nl_table,8,3                   ; @nl_table
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_netlink_free_old_listeners,4,2 ; @netlink_free_old_listeners
.subsections_via_symbols
