	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drop_connection
_drop_connection:                       ## @drop_connection
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_options@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ecx
	xorl	%eax, %eax
	cmpl	%edi, %ecx
	jg	LBB0_4
## %bb.1:
	movl	4(%rdx), %esi
	movl	$1, %eax
	cmpl	%edi, %esi
	jle	LBB0_4
## %bb.2:
	movl	8(%rdx), %ebx
	cmpl	$100, %ebx
	je	LBB0_4
## %bb.3:
	movl	$100, %eax
	subl	%ebx, %eax
	subl	%ecx, %edi
	imull	%eax, %edi
	subl	%ecx, %esi
	movl	%edi, %eax
	cltd
	idivl	%esi
	movl	%eax, %r15d
	addl	%ebx, %r15d
	movl	$100, %edi
	callq	_arc4random_uniform
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_debug
	xorl	%eax, %eax
	cmpl	%r15d, %r14d
	setl	%al
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_options,12,2                   ## @options
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drop_connection: p %d, r %d"

	.no_dead_strip	_drop_connection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drop_connection
_drop_connection:                       ; @drop_connection
	.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
Lloh0:
	adrp	x10, _options@GOTPAGE
Lloh1:
	ldr	x10, [x10, _options@GOTPAGEOFF]
	ldr	w8, [x10]
	cmp	w8, w0
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_6
LBB0_2:
	ldr	w9, [x10, #4]
	cmp	w9, w0
	b.le	LBB0_4
; %bb.3:
	ldr	w10, [x10, #8]
	cmp	w10, #100
	b.ne	LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w11, #100
	sub	w11, w11, w10
	sub	w12, w0, w8
	mul	w11, w11, w12
	sub	w8, w9, w8
	sdiv	w8, w11, w8
	add	w19, w8, w10
	mov	w0, #100
	bl	_arc4random_uniform
	mov	x20, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_debug
	cmp	w20, w19
	cset	w0, lt
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_options,12,2                   ; @options
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drop_connection: p %d, r %d"

	.no_dead_strip	_drop_connection
.subsections_via_symbols
