	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2p_go_save_group_common_freqs
_p2p_go_save_group_common_freqs:        ## @p2p_go_save_group_common_freqs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rdi
	callq	_int_array_len
	movl	%eax, %r14d
	movl	$0, (%rbx)
	movq	16(%rbx), %rdi
	callq	_os_free
	movl	%r14d, %edi
	movl	$4, %esi
	callq	_os_calloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	%r14d, %ecx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	8(%rbx), %rdx
	movq	(%rdx), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, (%rax,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_4
## %bb.6:
	movl	%ecx, %edx
	jmp	LBB0_7
LBB0_2:
	xorl	%edx, %edx
LBB0_7:
	movl	%edx, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_p2p_go_save_group_common_freqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2p_go_save_group_common_freqs
_p2p_go_save_group_common_freqs:        ; @p2p_go_save_group_common_freqs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x0, [x8]
	bl	_int_array_len
	mov	x20, x0
	str	wzr, [x19]
	ldr	x0, [x19, #16]
	bl	_os_free
	mov	x0, x20
	mov	w1, #4
	bl	_os_calloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_8
; %bb.1:
	mov	w9, w20
	cbz	w9, LBB0_6
; %bb.2:
	mov	x8, #0
	ldr	x10, [x19, #8]
	ldr	x10, [x10]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x8, lsl #3]
	cbz	x11, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x11, [x0, x8, lsl #3]
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.5:
	mov	x8, x9
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	str	w8, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_p2p_go_save_group_common_freqs
.subsections_via_symbols
