	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx_notify_end_of_buffer
_vx_notify_end_of_buffer:               ## @vx_notify_end_of_buffer
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_IRQ_PAUSE_START_CONNECT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_vx_send_rih_nolock
	movq	_CMD_NOTIFY_END_OF_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	callq	_vx_init_rmh
	movl	(%r14), %edx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_vx_set_stream_cmd_params
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_vx_send_msg_nolock
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_vx_send_rih_nolock
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_PAUSE_START_CONNECT,4,2    ## @IRQ_PAUSE_START_CONNECT
	.comm	_CMD_NOTIFY_END_OF_BUFFER,4,2   ## @CMD_NOTIFY_END_OF_BUFFER
	.no_dead_strip	_vx_notify_end_of_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx_notify_end_of_buffer
_vx_notify_end_of_buffer:               ; @vx_notify_end_of_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _IRQ_PAUSE_START_CONNECT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IRQ_PAUSE_START_CONNECT@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_vx_send_rih_nolock
Lloh2:
	adrp	x8, _CMD_NOTIFY_END_OF_BUFFER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CMD_NOTIFY_END_OF_BUFFER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_vx_init_rmh
	ldr	w2, [x20]
	add	x0, sp, #8
	mov	w1, #0
	bl	_vx_set_stream_cmd_params
	add	x1, sp, #8
	mov	x0, x19
	bl	_vx_send_msg_nolock
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_vx_send_rih_nolock
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_PAUSE_START_CONNECT,4,2    ; @IRQ_PAUSE_START_CONNECT
	.comm	_CMD_NOTIFY_END_OF_BUFFER,4,2   ; @CMD_NOTIFY_END_OF_BUFFER
	.no_dead_strip	_vx_notify_end_of_buffer
.subsections_via_symbols
