	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bev_group_random_element_
_bev_group_random_element_:             ## @bev_group_random_element_
	.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
	cmpl	$0, 4(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	callq	_LIST_EMPTY
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_EVUTIL_ASSERT
	leaq	8(%r14), %rdi
	movl	4(%r14), %esi
	callq	_evutil_weakrand_range_
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_LIST_FIRST
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.3:
	movq	_rate_limiting@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_LIST_NEXT
	decl	%ebx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rate_limiting,8,3              ## @rate_limiting
	.no_dead_strip	_bev_group_random_element_
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bev_group_random_element_
_bev_group_random_element_:             ; @bev_group_random_element_
	.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
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x0
	bl	_LIST_EMPTY
	cmp	w0, #0
	cset	w0, eq
	bl	_EVUTIL_ASSERT
	add	x0, x20, #8
	ldr	w1, [x20, #4]
	bl	_evutil_weakrand_range_
	mov	x19, x0
	mov	x0, x20
	bl	_LIST_FIRST
	cbz	w19, LBB0_5
; %bb.2:
Lloh0:
	adrp	x20, _rate_limiting@GOTPAGE
Lloh1:
	ldr	x20, [x20, _rate_limiting@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w19, w19, #1
	ldr	x8, [x20]
	ldr	w1, [x8]
	bl	_LIST_NEXT
	cbnz	w19, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rate_limiting,8,3              ; @rate_limiting
	.no_dead_strip	_bev_group_random_element_
.subsections_via_symbols
