	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vx_set_stream_format
_vx_set_stream_format:                  ## @vx_set_stream_format
	.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
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 8(%rsi)
	jne	LBB0_1
## %bb.2:
	movq	_CMD_FORMAT_STREAM_OUT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CMD_FORMAT_STREAM_IN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_vx_init_rmh
	movl	(%rbx), %eax
	movq	_FIELD_SIZE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	-48(%rbp), %rcx
	orl	%eax, (%rcx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_vx_set_differed_time
	movl	%r12d, %eax
	shrl	$8, %eax
	movq	-48(%rbp), %rcx
	movq	-40(%rbp), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movzbl	%r12b, %eax
	shll	$16, %eax
	movl	%eax, 4(%rcx,%rdx,4)
	addq	$2, %rdx
	movq	%rdx, -40(%rbp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_vx_send_msg
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_FORMAT_STREAM_IN,4,2       ## @CMD_FORMAT_STREAM_IN
	.comm	_CMD_FORMAT_STREAM_OUT,4,2      ## @CMD_FORMAT_STREAM_OUT
	.comm	_FIELD_SIZE,4,2                 ## @FIELD_SIZE
	.no_dead_strip	_vx_set_stream_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vx_set_stream_format
_vx_set_stream_format:                  ; @vx_set_stream_format
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _CMD_FORMAT_STREAM_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_FORMAT_STREAM_IN@GOTPAGEOFF]
	ldr	x9, [x1, #8]
Lloh2:
	adrp	x10, _CMD_FORMAT_STREAM_OUT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CMD_FORMAT_STREAM_OUT@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x0, sp
	bl	_vx_init_rmh
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _FIELD_SIZE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FIELD_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	ldr	x9, [sp]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	mov	x1, sp
	mov	x0, x21
	mov	x2, x20
	bl	_vx_set_differed_time
	lsr	w8, w19, #8
	ldp	x9, x10, [sp]
	add	x9, x9, x10, lsl #2
	ubfiz	w11, w19, #16, #8
	stp	w8, w11, [x9]
	add	x8, x10, #2
	str	x8, [sp, #8]
	mov	x1, sp
	mov	x0, x21
	bl	_vx_send_msg
	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	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_FORMAT_STREAM_IN,4,2       ; @CMD_FORMAT_STREAM_IN
	.comm	_CMD_FORMAT_STREAM_OUT,4,2      ; @CMD_FORMAT_STREAM_OUT
	.comm	_FIELD_SIZE,4,2                 ; @FIELD_SIZE
	.no_dead_strip	_vx_set_stream_format
.subsections_via_symbols
