	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vchi_msg_stub_noblock
_vchi_msg_stub_noblock:                 ## @vchi_msg_stub_noblock
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_VCHI_MAX_MSG_SIZE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%edx, (%rax)
	setge	%dil
	callq	_vcos_verify
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_FILESERV_RESP_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_vc_filesys_client@GOTPCREL(%rip), %r12
	movl	%eax, 8(%r12)
	movl	(%r12), %esi
	incl	%esi
	andl	$2147483647, %esi               ## imm = 0x7FFFFFFF
	movl	%esi, (%r12)
	leaq	4(%r14), %rdi
	callq	_vchi_writebuf_uint32
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_vchi_writebuf_uint32
	addl	$8, %ebx
	movl	4(%r12), %edi
	movq	_VCHI_FLAGS_BLOCK_UNTIL_QUEUED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_vchi_msg_queue
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCHI_MAX_MSG_SIZE,4,2          ## @VCHI_MAX_MSG_SIZE
	.comm	_FILESERV_RESP_ERROR,4,2        ## @FILESERV_RESP_ERROR
	.comm	_vc_filesys_client,12,2         ## @vc_filesys_client
	.comm	_VCHI_FLAGS_BLOCK_UNTIL_QUEUED,4,2 ## @VCHI_FLAGS_BLOCK_UNTIL_QUEUED
	.no_dead_strip	_vchi_msg_stub_noblock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vchi_msg_stub_noblock
_vchi_msg_stub_noblock:                 ; @vchi_msg_stub_noblock
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VCHI_MAX_MSG_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VCHI_MAX_MSG_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w0, ge
	bl	_vcos_verify
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FILESERV_RESP_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILESERV_RESP_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x22, _vc_filesys_client@GOTPAGE
Lloh7:
	ldr	x22, [x22, _vc_filesys_client@GOTPAGEOFF]
	str	w8, [x22, #8]
	ldr	w8, [x22]
	add	w8, w8, #1
	and	w1, w8, #0x7fffffff
	str	w1, [x22]
	add	x0, x19, #4
	bl	_vchi_writebuf_uint32
	mov	x0, x19
	mov	x1, x21
	bl	_vchi_writebuf_uint32
	add	w2, w20, #8
	ldr	w0, [x22, #4]
Lloh8:
	adrp	x8, _VCHI_FLAGS_BLOCK_UNTIL_QUEUED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VCHI_FLAGS_BLOCK_UNTIL_QUEUED@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x1, x19
	mov	x4, #0
	bl	_vchi_msg_queue
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VCHI_MAX_MSG_SIZE,4,2          ; @VCHI_MAX_MSG_SIZE
	.comm	_FILESERV_RESP_ERROR,4,2        ; @FILESERV_RESP_ERROR
	.comm	_vc_filesys_client,12,2         ; @vc_filesys_client
	.comm	_VCHI_FLAGS_BLOCK_UNTIL_QUEUED,4,2 ; @VCHI_FLAGS_BLOCK_UNTIL_QUEUED
	.no_dead_strip	_vchi_msg_stub_noblock
.subsections_via_symbols
