	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tvp5150_s_raw_fmt
_tvp5150_s_raw_fmt:                     ## @tvp5150_s_raw_fmt
	.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
	callq	_to_tvp5150
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	_V4L2_PIX_FMT_GREY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	movq	_TVP5150_LUMA_PROC_CTL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$112, %edx
	callq	_regmap_write
LBB0_2:
	movq	8(%rbx), %rax
	cmpl	$18, (%rax)
	jne	LBB0_5
## %bb.3:
	cmpl	$18, 4(%rax)
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	movq	_TVP5150_VERT_BLANKING_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	(%r14), %edi
	movq	_TVP5150_VERT_BLANKING_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_regmap_write
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_GREY,8,3          ## @V4L2_PIX_FMT_GREY
	.comm	_TVP5150_LUMA_PROC_CTL_1,4,2    ## @TVP5150_LUMA_PROC_CTL_1
	.comm	_TVP5150_VERT_BLANKING_START,4,2 ## @TVP5150_VERT_BLANKING_START
	.comm	_TVP5150_VERT_BLANKING_STOP,4,2 ## @TVP5150_VERT_BLANKING_STOP
	.no_dead_strip	_tvp5150_s_raw_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tvp5150_s_raw_fmt
_tvp5150_s_raw_fmt:                     ; @tvp5150_s_raw_fmt
	.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	x20, x1
	bl	_to_tvp5150
	mov	x19, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _V4L2_PIX_FMT_GREY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_PIX_FMT_GREY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _TVP5150_LUMA_PROC_CTL_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TVP5150_LUMA_PROC_CTL_1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #112
	bl	_regmap_write
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	cmp	w9, #18
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x8, #4]
	cmp	w8, #18
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _TVP5150_VERT_BLANKING_START@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TVP5150_VERT_BLANKING_START@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_regmap_write
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _TVP5150_VERT_BLANKING_STOP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TVP5150_VERT_BLANKING_STOP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_regmap_write
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_PIX_FMT_GREY,8,3          ; @V4L2_PIX_FMT_GREY
	.comm	_TVP5150_LUMA_PROC_CTL_1,4,2    ; @TVP5150_LUMA_PROC_CTL_1
	.comm	_TVP5150_VERT_BLANKING_START,4,2 ; @TVP5150_VERT_BLANKING_START
	.comm	_TVP5150_VERT_BLANKING_STOP,4,2 ; @TVP5150_VERT_BLANKING_STOP
	.no_dead_strip	_tvp5150_s_raw_fmt
.subsections_via_symbols
