	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh_mobile_ceu_init_videobuf
_sh_mobile_ceu_init_videobuf:           ## @sh_mobile_ceu_init_videobuf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_to_soc_camera_host
	movq	(%rax), %rax
	movl	(%rbx), %edx
	leaq	8(%rax), %rcx
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r9d
	movq	_sh_mobile_ceu_videobuf_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	pushq	%rbx
	pushq	$4
	callq	_videobuf_queue_dma_contig_init
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sh_mobile_ceu_videobuf_ops,4,2 ## @sh_mobile_ceu_videobuf_ops
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_FIELD_INTERLACED,4,2      ## @V4L2_FIELD_INTERLACED
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.no_dead_strip	_sh_mobile_ceu_init_videobuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh_mobile_ceu_init_videobuf
_sh_mobile_ceu_init_videobuf:           ; @sh_mobile_ceu_init_videobuf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1]
	bl	_to_soc_camera_host
	ldr	x3, [x0]
	ldr	w2, [x19]
Lloh0:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
	ldr	x9, [x3], #8
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x8, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh5:
	adrp	x10, _V4L2_FIELD_NONE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _V4L2_FIELD_NONE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w5, [x8]
Lloh7:
	adrp	x1, _sh_mobile_ceu_videobuf_ops@GOTPAGE
Lloh8:
	ldr	x1, [x1, _sh_mobile_ceu_videobuf_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w6, #4
	mov	x7, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_videobuf_queue_dma_contig_init
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sh_mobile_ceu_videobuf_ops,4,2 ; @sh_mobile_ceu_videobuf_ops
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_FIELD_INTERLACED,4,2      ; @V4L2_FIELD_INTERLACED
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.no_dead_strip	_sh_mobile_ceu_init_videobuf
.subsections_via_symbols
