	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_vb2_au_prepare
_delta_vb2_au_prepare:                  ## @delta_vb2_au_prepare
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rdi
	callq	_vb2_get_drv_priv
	movq	%rax, %r15
	movq	8(%rax), %r13
	movq	%r12, %rdi
	callq	_to_vb2_v4l2_buffer
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_to_au
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	leaq	12(%rax), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_vb2_plane_vaddr
	movl	%eax, 8(%rbx)
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_vb2_dma_contig_plane_dma_addr
	movq	%rbx, %r9
	addq	$4, %r9
	movl	%eax, 4(%rbx)
	movl	$1, (%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
LBB0_2:
	movq	(%r14), %rax
	movq	_V4L2_FIELD_ANY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s au[%d] prepared; virt=0x%p, phy=0x%pad\n"

	.comm	_V4L2_FIELD_ANY,8,3             ## @V4L2_FIELD_ANY
	.comm	_V4L2_FIELD_NONE,8,3            ## @V4L2_FIELD_NONE
	.no_dead_strip	_delta_vb2_au_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_vb2_au_prepare
_delta_vb2_au_prepare:                  ; @delta_vb2_au_prepare
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldr	x0, [x0, #8]
	bl	_vb2_get_drv_priv
	mov	x21, x0
	ldr	x24, [x0, #8]
	mov	x0, x20
	bl	_to_vb2_v4l2_buffer
	mov	x19, x0
	bl	_to_au
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x22, x0
	add	x23, x0, #12
	mov	x0, x23
	mov	w1, #0
	bl	_vb2_plane_vaddr
	str	w0, [x22, #8]
	mov	x0, x23
	mov	w1, #0
	bl	_vb2_dma_contig_plane_dma_addr
	mov	x5, x22
	str	w0, [x5, #4]!
	mov	w8, #1
	str	w8, [x22]
	ldr	w0, [x24]
	ldr	w2, [x21]
	ldr	w3, [x20]
	ldr	w4, [x22, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
LBB0_2:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _V4L2_FIELD_ANY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_FIELD_ANY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_4:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s au[%d] prepared; virt=0x%p, phy=0x%pad\n"

	.comm	_V4L2_FIELD_ANY,8,3             ; @V4L2_FIELD_ANY
	.comm	_V4L2_FIELD_NONE,8,3            ; @V4L2_FIELD_NONE
	.no_dead_strip	_delta_vb2_au_prepare
.subsections_via_symbols
