	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function random_recv_done
_random_recv_done:                      ## @random_recv_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-4(%rbp), %rsi
	callq	_virtqueue_get_buf
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	-4(%rbp), %eax
	movq	_data_left@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movq	_have_data@GOTPCREL(%rip), %rdi
	callq	_complete
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_data_left,4,2                  ## @data_left
	.comm	_have_data,4,2                  ## @have_data
	.no_dead_strip	_random_recv_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function random_recv_done
_random_recv_done:                      ; @random_recv_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	sub	x1, x29, #4
	bl	_virtqueue_get_buf
	cbz	w0, LBB0_2
; %bb.1:
	ldur	w8, [x29, #-4]
Lloh0:
	adrp	x9, _data_left@GOTPAGE
Lloh1:
	ldr	x9, [x9, _data_left@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
Lloh2:
	adrp	x0, _have_data@GOTPAGE
Lloh3:
	ldr	x0, [x0, _have_data@GOTPAGEOFF]
	bl	_complete
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_data_left,4,2                  ; @data_left
	.comm	_have_data,4,2                  ; @have_data
	.no_dead_strip	_random_recv_done
.subsections_via_symbols
