	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_channels_remove_freqs      ## -- Begin function p2p_channels_remove_freqs
	.p2align	4, 0x90
_p2p_channels_remove_freqs:             ## @p2p_channels_remove_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_14
## %bb.2:
	movq	%rsi, %r13
	xorl	%ebx, %ebx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	decq	%rax
	movq	%rax, (%r14)
	leaq	(%rcx,%r12,8), %rdi
	leaq	(%rcx,%r12,8), %rsi
	addq	$24, %rsi
	subq	%rbx, %rax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rdx
	callq	_os_memmove
	cmpq	(%r14), %rbx
	jae	LBB0_14
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	8(%r14), %rax
	leaq	(%rbx,%rbx,2), %r12
	cmpq	$0, (%rax,%r12,8)
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r12,8), %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r15
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rbx), %rax
	cmpq	%rax, %r15
	jae	LBB0_10
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	16(%rbx), %edi
	movq	8(%rbx), %rax
	leaq	(%r15,%r15,2), %r14
	movq	16(%rax,%r14,8), %rcx
	movq	%rcx, 16(%rsp)
	movups	(%rax,%r14,8), %xmm0
	movups	%xmm0, (%rsp)
	callq	_p2p_channel_to_freq
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_freq_range_list_includes
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	(%rbx), %rdx
	decq	%rdx
	movq	%rdx, (%rbx)
	movq	8(%rbx), %rax
	leaq	(%rax,%r14,8), %rdi
	leaq	(%rax,%r14,8), %rsi
	addq	$24, %rsi
	subq	%r15, %rdx
	callq	_os_memmove
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	(%r14), %rbx
	jb	LBB0_3
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_channels_remove_freqs      ; -- Begin function p2p_channels_remove_freqs
	.p2align	2
_p2p_channels_remove_freqs:             ; @p2p_channels_remove_freqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x1, LBB0_14
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_14
; %bb.2:
	mov	x19, x1
	mov	x21, #0
	mov	w22, #24
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	x8, x9, [x20]
	sub	x8, x8, #1
	str	x8, [x20]
	madd	x0, x21, x22, x9
	add	x1, x0, #24
	sub	x8, x8, x21
	add	x8, x8, x8, lsl #1
	lsl	x2, x8, #3
	bl	_os_memmove
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	cmp	x21, x8
	b.hs	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x20, #8]
	madd	x23, x21, x22, x8
	ldr	x9, [x23]
	cbz	x9, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, #0
	madd	x8, x21, x22, x8
	add	x25, x8, #16
	add	x26, x8, #8
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x24, x24, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x23]
	cmp	x24, x8
	b.hs	LBB0_12
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x25]
	ldr	x8, [x26]
	madd	x8, x24, x22, x8
	ldr	q0, [x8]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
	str	q0, [sp]
	mov	x1, sp
	bl	_p2p_channel_to_freq
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x1, x0
	mov	x0, x19
	bl	_freq_range_list_includes
	cbz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x23]
	sub	x8, x8, #1
	str	x8, [x23]
	ldr	x9, [x26]
	madd	x0, x24, x22, x9
	add	x1, x0, #24
	sub	x2, x8, x24
	bl	_os_memmove
	b	LBB0_8
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	b	LBB0_4
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
