	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_yuv_setup_stream_frame    ## -- Begin function ivtv_yuv_setup_stream_frame
	.p2align	4, 0x90
_ivtv_yuv_setup_stream_frame:           ## @ivtv_yuv_setup_stream_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ivtv_yuv_next_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movups	%xmm0, -24(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	16(%rbx), %ecx
	movl	%ecx, -48(%rbp)
	movl	24(%rbx), %edx
	movl	%edx, -56(%rbp)
	movl	%eax, -60(%rbp)
	movl	%ecx, -64(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ivtv_yuv_setup_frame
	cmpq	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_yuv_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, (%rbx)
LBB0_2:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_yuv_offset,8,3                 ## @yuv_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_yuv_setup_stream_frame    ; -- Begin function ivtv_yuv_setup_stream_frame
	.p2align	2
_ivtv_yuv_setup_stream_frame:           ; @ivtv_yuv_setup_stream_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ivtv_yuv_next_free
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	ldr	w8, [x19, #16]
	str	w8, [sp, #24]
	ldur	d0, [x19, #20]
	str	s0, [sp, #28]
	stur	d0, [sp, #12]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_ivtv_yuv_setup_frame
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _yuv_offset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _yuv_offset@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_yuv_offset,8,3                 ; @yuv_offset
.subsections_via_symbols
