	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov51x_postprocess
_ov51x_postprocess:                     ## @ov51x_postprocess
	.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	_dumppix@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.6:
	movl	12(%rbx), %r14d
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	callq	_MAX_DATA_SIZE
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_PDEBUG
	movl	12(%rbx), %edi
	movl	4(%rbx), %edx
	movl	8(%rbx), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_1:
	movl	(%rbx), %esi
	leal	-128(%rsi), %eax
	cmpl	$2, %eax
	jae	LBB0_2
## %bb.4:
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ov51x_postprocess_yuv420       ## TAILCALL
LBB0_2:
	cmpl	$130, %esi
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ov51x_postprocess_grey         ## TAILCALL
LBB0_5:
	movq	_v4l1_plist@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_symbolic
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_err                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dumppix,8,3                    ## @dumppix
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dumping %d bytes"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot convert data to %s"

	.comm	_v4l1_plist,4,2                 ## @v4l1_plist
	.no_dead_strip	_ov51x_postprocess
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov51x_postprocess
_ov51x_postprocess:                     ; @ov51x_postprocess
	.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
Lloh0:
	adrp	x8, _dumppix@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dumppix@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w20, [x19, #12]
	ldp	w1, w8, [x0]
	mov	x0, x8
	bl	_MAX_DATA_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	w2, [x19, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_PDEBUG
	ldp	w1, w0, [x19, #8]
	ldr	w2, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memcpy
LBB0_2:
	ldr	w1, [x19]
	sub	w8, w1, #128
	cmp	w8, #2
	b.hs	LBB0_4
; %bb.3:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ov51x_postprocess_yuv420
LBB0_4:
	cmp	w1, #130
	b.ne	LBB0_6
; %bb.5:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ov51x_postprocess_grey
LBB0_6:
Lloh5:
	adrp	x8, _v4l1_plist@GOTPAGE
Lloh6:
	ldr	x8, [x8, _v4l1_plist@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_symbolic
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dumppix,8,3                    ; @dumppix
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dumping %d bytes"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot convert data to %s"

	.comm	_v4l1_plist,4,2                 ; @v4l1_plist
	.no_dead_strip	_ov51x_postprocess
.subsections_via_symbols
