	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_channel_random_social      ## -- Begin function p2p_channel_random_social
	.p2align	4, 0x90
_p2p_channel_random_social:             ## @p2p_channel_random_social
	.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
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$81, %esi
	movl	$1, %edx
	callq	_p2p_channels_includes
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movl	$1, -64(%rbp)
	movl	$1, %ebx
LBB0_4:
	movq	%r12, %rdi
	movl	$81, %esi
	movl	$6, %edx
	callq	_p2p_channels_includes
	testq	%rax, %rax
	je	LBB0_5
LBB0_7:
	movl	%ebx, %eax
	incl	%ebx
	movl	$6, -64(%rbp,%rax,4)
LBB0_8:
	movq	%r12, %rdi
	movl	$81, %esi
	movl	$11, %edx
	callq	_p2p_channels_includes
	testq	%rax, %rax
	je	LBB0_9
LBB0_11:
	movl	%ebx, %eax
	incl	%ebx
	movl	$11, -64(%rbp,%rax,4)
LBB0_12:
	movq	%r12, %rdi
	movl	$180, %esi
	movl	$2, %edx
	callq	_p2p_channels_includes
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movl	%ebx, %eax
	incl	%ebx
	movl	$2, -64(%rbp,%rax,4)
	jmp	LBB0_14
LBB0_1:
	movq	%r14, %rdi
	movl	$2412, %esi                     ## imm = 0x96C
	callq	_freq_range_list_includes
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%r13, %rdi
	movl	$2412, %esi                     ## imm = 0x96C
	callq	_freq_range_list_includes
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_3
LBB0_5:
	movq	%r14, %rdi
	movl	$2437, %esi                     ## imm = 0x985
	callq	_freq_range_list_includes
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%r13, %rdi
	movl	$2437, %esi                     ## imm = 0x985
	callq	_freq_range_list_includes
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_7
LBB0_9:
	movq	%r14, %rdi
	movl	$2462, %esi                     ## imm = 0x99E
	callq	_freq_range_list_includes
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%r13, %rdi
	movl	$2462, %esi                     ## imm = 0x99E
	callq	_freq_range_list_includes
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_11
LBB0_15:
	testl	%ebx, %ebx
	je	LBB0_16
LBB0_14:
	leaq	-64(%rbp), %rdi
	movl	%ebx, %esi
	callq	_p2p_channel_pick_random
	movl	%eax, (%r15)
	cmpl	$2, %eax
	movl	$180, %eax
	movl	$81, %ecx
	cmovel	%eax, %ecx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	xorl	%eax, %eax
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	$-1, %eax
	jmp	LBB0_17
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_channel_random_social      ; -- Begin function p2p_channel_random_social
	.p2align	2
_p2p_channel_random_social:             ; @p2p_channel_random_social
	.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
	mov	x23, x4
	mov	x24, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w21, #1
	mov	w1, #81
	mov	w2, #1
	bl	_p2p_channels_includes
	cbz	x0, LBB0_2
LBB0_1:
	str	w21, [sp, #8]
	b	LBB0_5
LBB0_2:
	mov	x0, x24
	mov	w1, #2412
	bl	_freq_range_list_includes
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x23
	mov	w1, #2412
	bl	_freq_range_list_includes
	cbz	x0, LBB0_1
LBB0_4:
	mov	w21, #0
LBB0_5:
	mov	w25, #6
	mov	x0, x22
	mov	w1, #81
	mov	w2, #6
	bl	_p2p_channels_includes
	cbz	x0, LBB0_11
LBB0_6:
	add	x8, sp, #8
	str	w25, [x8, w21, uxtw #2]
	add	w21, w21, #1
LBB0_7:
	mov	w25, #11
	mov	x0, x22
	mov	w1, #81
	mov	w2, #11
	bl	_p2p_channels_includes
	cbz	x0, LBB0_13
LBB0_8:
	add	x8, sp, #8
	str	w25, [x8, w21, uxtw #2]
	add	w21, w21, #1
LBB0_9:
	mov	w23, #2
	mov	x0, x22
	mov	w1, #180
	mov	w2, #2
	bl	_p2p_channels_includes
	cbz	x0, LBB0_15
; %bb.10:
	add	x8, sp, #8
	str	w23, [x8, w21, uxtw #2]
	add	w21, w21, #1
	b	LBB0_16
LBB0_11:
	mov	x0, x24
	mov	w1, #2437
	bl	_freq_range_list_includes
	cbz	x0, LBB0_7
; %bb.12:
	mov	x0, x23
	mov	w1, #2437
	bl	_freq_range_list_includes
	cbnz	x0, LBB0_7
	b	LBB0_6
LBB0_13:
	mov	x0, x24
	mov	w1, #2462
	bl	_freq_range_list_includes
	cbz	x0, LBB0_9
; %bb.14:
	mov	x0, x23
	mov	w1, #2462
	bl	_freq_range_list_includes
	cbnz	x0, LBB0_9
	b	LBB0_8
LBB0_15:
	cbz	w21, LBB0_19
LBB0_16:
	add	x0, sp, #8
	mov	x1, x21
	bl	_p2p_channel_pick_random
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20]
	mov	w9, #81
	mov	w10, #180
	cmp	w8, #2
	csel	w8, w10, w9, eq
	str	w8, [x19]
LBB0_17:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.18:
	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
LBB0_19:
	mov	w0, #-1
	b	LBB0_17
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
