	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cv_pixel_info
_get_cv_pixel_info:                     ## @get_cv_pixel_info
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rcx
	movq	%rsi, %rbx
	movq	16(%rdi), %r13
	movl	(%rsi), %r12d
	movl	4(%rsi), %r15d
	leaq	-68(%rbp), %r8
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_get_cv_pixel_format
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r12d, %edi
	callq	_av_get_pix_fmt_name
	movl	%eax, %ebx
	movq	_AVCOL_RANGE_UNSPECIFIED@GOTPCREL(%rip), %rax
	leaq	L_.str.1(%rip), %r8
	cmpl	(%rax), %r15d
	jle	LBB0_4
## %bb.2:
	movq	_AVCOL_RANGE_NB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_av_color_range_name
	movq	%rax, %r8
LBB0_4:
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_23
LBB0_6:
	cmpl	$0, -68(%rbp)
	je	LBB0_9
## %bb.7:
	cmpl	$0, (%r13)
	jne	LBB0_9
## %bb.8:
	movl	$1, (%r13)
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r12d, %edi
	callq	_av_get_pix_fmt_name
	leaq	L_.str.2(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_9:
	movq	16(%rbp), %r8
	cmpl	$128, %r12d
	je	LBB0_16
## %bb.10:
	cmpl	$129, %r12d
	je	LBB0_14
## %bb.11:
	cmpl	$130, %r12d
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_15
## %bb.12:
	movl	$2, (%rax)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	movq	%rax, (%rsi)
	movq	8(%rdx), %rax
	movq	%rax, (%r14)
	movq	%rbx, %r11
	movq	8(%rbx), %rcx
	movq	(%rcx), %rax
	movq	%rax, (%r8)
	movq	(%rdx), %rax
	incq	%rax
	shrq	%rax
	movq	%rax, 8(%rsi)
	jmp	LBB0_13
LBB0_16:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$3, (%rax)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, (%r15)
	movq	8(%rdx), %rax
	movq	%rax, (%r14)
	movq	%rbx, %r11
	movq	8(%rbx), %rcx
	movq	(%rcx), %rax
	movq	%rax, (%r8)
	movq	(%rdx), %rax
	incq	%rax
	shrq	%rax
	movq	%rax, 8(%r15)
	movq	8(%rdx), %rax
	incq	%rax
	shrq	%rax
	movq	%rax, 8(%r14)
	movq	8(%rcx), %rax
	movq	%rax, 8(%r8)
	movq	(%rdx), %rax
	incq	%rax
	shrq	%rax
	movq	%rax, 16(%r15)
	movq	8(%rdx), %rax
	incq	%rax
	shrq	%rax
	movq	%rax, 16(%r14)
	addq	$16, %rcx
	movl	$3, %eax
	movl	$2, %esi
	jmp	LBB0_17
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$2, (%rax)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, (%r15)
	movq	8(%rdx), %rax
	movq	%rax, (%r14)
	movq	%rbx, %r11
	movq	8(%rbx), %rcx
	movq	(%rcx), %rax
	movq	%rax, (%r8)
	movq	(%rdx), %rax
	incq	%rax
	shrq	%rax
	movq	%rax, 8(%r15)
LBB0_13:
	movq	8(%rdx), %rax
	incq	%rax
	shrq	%rax
	movq	%rax, 8(%r14)
	addq	$8, %rcx
	movl	$2, %eax
	movl	$1, %esi
LBB0_17:
	movq	24(%rbp), %r9
	movq	(%rcx), %rcx
	movq	%rcx, (%r8,%rsi,8)
	movq	$0, (%r9)
	leal	-1(%rax), %r10d
	movl	%eax, %esi
	xorl	%edi, %edi
	xorl	%eax, %eax
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r14,%rax,8), %rbx
	imulq	(%r8,%rax,8), %rbx
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%rax
	addq	%rbx, %rdi
	movq	%rdi, (%r9)
	cmpq	%rsi, %rax
	je	LBB0_22
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r10, %rax
	jge	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	16(%r11), %rdx
	movq	(%r14,%rax,8), %rbx
	imulq	(%r8,%rax,8), %rbx
	movq	(%rdx,%rax,8), %rcx
	addq	%rbx, %rcx
	cmpq	8(%rdx,%rax,8), %rcx
	je	LBB0_21
## %bb.24:
	movq	$0, (%r9)
LBB0_22:
	xorl	%eax, %eax
LBB0_23:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not get pixel format for color format '%s' range '%s'.\n"

	.comm	_AVCOL_RANGE_UNSPECIFIED,4,2    ## @AVCOL_RANGE_UNSPECIFIED
	.comm	_AVCOL_RANGE_NB,4,2             ## @AVCOL_RANGE_NB
L_.str.1:                               ## @.str.1
	.asciz	"Unknown"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"Color range not set for %s. Using MPEG range.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Could not get frame format info for color %d range %d.\n"

	.no_dead_strip	_get_cv_pixel_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cv_pixel_info
_get_cv_pixel_info:                     ; @get_cv_pixel_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x20, x6
	mov	x21, x5
	mov	x24, x4
	mov	x27, x3
	mov	x3, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x28, [x0, #16]
	ldp	w26, w25, [x1]
	add	x4, sp, #12
	mov	x1, x26
	mov	x2, x25
	bl	_get_cv_pixel_format
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	x0, x26
	bl	_av_get_pix_fmt_name
	mov	x20, x0
Lloh3:
	adrp	x8, _AVCOL_RANGE_UNSPECIFIED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVCOL_RANGE_UNSPECIFIED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _AVCOL_RANGE_NB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AVCOL_RANGE_NB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w25, w8
	ccmp	w25, w9, #0, gt
	b.lt	LBB0_9
; %bb.2:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_3:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	w8, [x28]
	cbz	w8, LBB0_13
LBB0_5:
	cmp	w26, #128
	b.eq	LBB0_14
LBB0_6:
	cmp	w26, #129
	b.eq	LBB0_8
; %bb.7:
	cmp	w26, #130
	b.ne	LBB0_22
LBB0_8:
	mov	w8, #2
	str	w8, [x27]
	ldr	x9, [x23]
	str	x9, [x24]
	ldr	x9, [x23, #8]
	str	x9, [x21]
	ldr	x11, [x22, #8]
	ldr	x9, [x11], #8
	str	x9, [x20]
	ldr	x9, [x23]
	add	x9, x9, #1
	lsr	x9, x9, #1
	str	x9, [x24, #8]
	ldr	x9, [x23, #8]
	add	x9, x9, #1
	lsr	x9, x9, #1
	str	x9, [x21, #8]
	mov	w12, #1
	b	LBB0_15
LBB0_9:
	mov	x0, x25
	bl	_av_color_range_name
LBB0_10:
	str	x0, [sp]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x19
	mov	x3, x20
LBB0_11:
	bl	_av_log
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
	mov	w8, #1
	str	w8, [x28]
Lloh16:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh18:
	ldr	w28, [x8]
	mov	x0, x26
	bl	_av_get_pix_fmt_name
	mov	x3, x0
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	x1, x28
	bl	_av_log
	cmp	w26, #128
	b.ne	LBB0_6
LBB0_14:
	mov	w8, #3
	str	w8, [x27]
	ldr	x9, [x23]
	str	x9, [x24]
	ldr	x9, [x23, #8]
	str	x9, [x21]
	ldr	x9, [x22, #8]
	ldr	x10, [x9]
	str	x10, [x20]
	ldr	x10, [x23]
	add	x10, x10, #1
	lsr	x10, x10, #1
	str	x10, [x24, #8]
	ldr	x10, [x23, #8]
	add	x10, x10, #1
	lsr	x10, x10, #1
	str	x10, [x21, #8]
	ldr	x10, [x9, #8]
	str	x10, [x20, #8]
	ldr	x10, [x23]
	add	x10, x10, #1
	lsr	x10, x10, #1
	str	x10, [x24, #16]
	ldr	x10, [x23, #8]
	add	x10, x10, #1
	lsr	x10, x10, #1
	str	x10, [x21, #16]
	add	x11, x9, #16
	mov	w12, #2
LBB0_15:
	mov	x9, #0
	mov	x10, #0
	ldr	x11, [x11]
	str	x11, [x20, x12, lsl #3]
	str	xzr, [x19]
	sub	w11, w8, #1
	mov	w8, w8
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	lsl	x12, x10, #3
	ldr	x13, [x20, x12]
	ldr	x12, [x21, x12]
	mul	x12, x12, x13
	add	x10, x10, #1
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x9, x9, x12
	str	x9, [x19]
	cmp	x10, x8
	b.eq	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	cmp	x10, x11
	b.ge	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x13, [x22, #16]
	lsl	x12, x10, #3
	ldr	x14, [x13, x12]
	ldr	x15, [x20, x12]
	ldr	x12, [x21, x12]
	mul	x12, x12, x15
	add	x10, x10, #1
	ldr	x13, [x13, x10, lsl #3]
	add	x14, x12, x14
	cmp	x14, x13
	b.eq	LBB0_17
; %bb.20:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_12
LBB0_21:
	mov	w0, #0
	b	LBB0_12
LBB0_22:
Lloh21:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	str	x25, [sp]
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	x3, x26
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not get pixel format for color format '%s' range '%s'.\n"

	.comm	_AVCOL_RANGE_UNSPECIFIED,4,2    ; @AVCOL_RANGE_UNSPECIFIED
	.comm	_AVCOL_RANGE_NB,4,2             ; @AVCOL_RANGE_NB
l_.str.1:                               ; @.str.1
	.asciz	"Unknown"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"Color range not set for %s. Using MPEG range.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Could not get frame format info for color %d range %d.\n"

	.no_dead_strip	_get_cv_pixel_info
.subsections_via_symbols
