	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov51x_postprocess_yuv420
_ov51x_postprocess_yuv420:              ## @ov51x_postprocess_yuv420
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	_SEN_SAA7111A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	cmpl	$480, (%rbx)                    ## imm = 0x1E0
	jl	LBB0_6
## %bb.2:
	cmpq	$0, 16(%rbx)
	movl	8(%rbx), %edx
	movl	24(%rbx), %ecx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rsi
	callq	_decompress
	jmp	LBB0_5
LBB0_6:
	cmpq	$0, 16(%rbx)
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_decompress                     ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	movl	%edx, %esi
	movl	%ecx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_yuv420raw_to_yuv420p           ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	movl	%edx, %esi
	movl	%ecx, %edx
	callq	_yuv420raw_to_yuv420p
LBB0_5:
	movq	_RAWFMT_YUV420@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%rbx), %ecx
	movl	24(%rbx), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_deinterlace                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SEN_SAA7111A,8,3               ## @SEN_SAA7111A
	.comm	_RAWFMT_YUV420,4,2              ## @RAWFMT_YUV420
	.no_dead_strip	_ov51x_postprocess_yuv420
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov51x_postprocess_yuv420
_ov51x_postprocess_yuv420:              ; @ov51x_postprocess_yuv420
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SEN_SAA7111A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEN_SAA7111A@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #480
	b.lt	LBB0_4
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	w2, [x19, #8]
	ldr	w3, [x19, #24]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x1, x19
	bl	_decompress
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19, #16]
	ldp	w3, w2, [x19, #4]
	cbz	x8, 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	_decompress
LBB0_6:
	mov	x0, x19
	mov	x1, x2
	mov	x2, x3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_yuv420raw_to_yuv420p
LBB0_7:
	mov	x0, x19
	mov	x1, x2
	mov	x2, x3
	bl	_yuv420raw_to_yuv420p
LBB0_8:
Lloh3:
	adrp	x8, _RAWFMT_YUV420@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAWFMT_YUV420@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x19, #24]
	ldr	w3, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_deinterlace
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SEN_SAA7111A,8,3               ; @SEN_SAA7111A
	.comm	_RAWFMT_YUV420,4,2              ; @RAWFMT_YUV420
	.no_dead_strip	_ov51x_postprocess_yuv420
.subsections_via_symbols
