	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe_common
_probe_common:                          ## @probe_common
	.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	_vq@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	jmp	LBB0_8
LBB0_2:
	movq	%rdi, %r14
	movq	_random_recv_done@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_virtio_find_single_vq
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rdi
	callq	_PTR_ERR
	movq	$0, (%r15)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_virtio_hwrng@GOTPCREL(%rip), %rdi
	callq	_hwrng_register
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%eax, %ebx
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
	movq	$0, (%r15)
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_register_buffer
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_vq,8,3                         ## @vq
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_random_recv_done,4,2           ## @random_recv_done
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"input"

	.comm	_virtio_hwrng,4,2               ## @virtio_hwrng
	.no_dead_strip	_probe_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe_common
_probe_common:                          ; @probe_common
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x21, _vq@GOTPAGE
Lloh1:
	ldr	x21, [x21, _vq@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_2:
	mov	x0, x20
	b	LBB0_5
LBB0_3:
	mov	x19, x0
Lloh5:
	adrp	x8, _random_recv_done@GOTPAGE
Lloh6:
	ldr	x8, [x8, _random_recv_done@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_virtio_find_single_vq
	str	x0, [x21]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x0, [x21]
	bl	_PTR_ERR
	str	xzr, [x21]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh10:
	adrp	x0, _virtio_hwrng@GOTPAGE
Lloh11:
	ldr	x0, [x0, _virtio_hwrng@GOTPAGEOFF]
	bl	_hwrng_register
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	str	xzr, [x21]
	b	LBB0_2
LBB0_8:
	bl	_register_buffer
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_vq,8,3                         ; @vq
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_random_recv_done,4,2           ; @random_recv_done
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"input"

	.comm	_virtio_hwrng,4,2               ; @virtio_hwrng
	.no_dead_strip	_probe_common
.subsections_via_symbols
