	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netlink_realloc_groups
_netlink_realloc_groups:                ## @netlink_realloc_groups
	.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	%rdi, %rbx
	callq	_nlk_sk
	movq	%rax, %r15
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_netlink_table_grab
	movq	_nl_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	cmpl	$0, 4(%rax,%rcx,8)
	je	LBB0_1
## %bb.3:
	movl	(%rax,%rcx,8), %r14d
	cmpl	%r14d, (%r15)
	jae	LBB0_7
## %bb.4:
	movl	4(%r15), %ebx
	movl	%r14d, %edi
	callq	_NLGRPSZ
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_krealloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_NLGRPSZ
	cltq
	addq	%rbx, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r14d, %edi
	callq	_NLGRPSZ
	movl	%eax, %r12d
	movl	(%r15), %edi
	callq	_NLGRPSZ
	subl	%eax, %r12d
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movl	%ebx, 4(%r15)
	movl	%r14d, (%r15)
	jmp	LBB0_7
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_7:
	xorl	%eax, %eax
	callq	_netlink_table_ungrab
	movl	%r13d, %eax
	addq	$8, %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	_ENOENT,4,2                     ## @ENOENT
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_netlink_realloc_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netlink_realloc_groups
_netlink_realloc_groups:                ; @netlink_realloc_groups
	.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, x0
	bl	_nlk_sk
	mov	x19, x0
	bl	_netlink_table_grab
Lloh0:
	adrp	x8, _nl_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nl_table@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x8, x8, x9, lsl #3
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_4
; %bb.1:
	ldr	w20, [x8]
	ldr	w8, [x19]
	cmp	w8, w20
	b.hs	LBB0_5
; %bb.2:
	ldr	w21, [x19, #4]
	mov	x0, x20
	bl	_NLGRPSZ
	mov	x1, x0
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_krealloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	ldr	w0, [x19]
	bl	_NLGRPSZ
	add	x22, x21, w0, sxtw
	mov	x0, x20
	bl	_NLGRPSZ
	mov	x23, x0
	ldr	w0, [x19]
	bl	_NLGRPSZ
	sub	w2, w23, w0
	mov	x0, x22
	mov	w1, #0
	bl	_memset
	mov	w22, #0
	stp	w20, w21, [x19]
	b	LBB0_8
LBB0_4:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	w22, #0
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	bl	_netlink_table_ungrab
	mov	x0, x22
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_nl_table,8,3                   ; @nl_table
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_netlink_realloc_groups
.subsections_via_symbols
