	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function info_from_header
_info_from_header:                      ## @info_from_header
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_ntohl
	movl	%eax, %r14d
	movq	_FWHT_FL_CHROMA_FULL_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_FWHT_FL_CHROMA_FULL_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%rbx), %edi
	callq	_ntohl
	movl	$3, %edx
	xorl	%edi, %edi
	movl	$0, %ecx
	cmpl	$2, %eax
	jb	LBB0_2
## %bb.1:
	movq	_FWHT_FL_COMPONENTS_NUM_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r14d, %edx
	movq	_FWHT_FL_COMPONENTS_NUM_OFFSET@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrl	%cl, %edx
	incl	%edx
	movq	_FWHT_FL_PIXENC_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%r14d, %ecx
LBB0_2:
	andl	%r14d, %r12d
	cmpl	$1, %r12d
	movl	$0, %esi
	adcl	$1, %esi
	andl	%r14d, %r15d
	cmpl	$1, %r15d
	adcl	$1, %edi
	xorl	%r8d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_fwht_find_nth_fmt         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FWHT_FL_CHROMA_FULL_WIDTH,4,2  ## @FWHT_FL_CHROMA_FULL_WIDTH
	.comm	_FWHT_FL_CHROMA_FULL_HEIGHT,4,2 ## @FWHT_FL_CHROMA_FULL_HEIGHT
	.comm	_FWHT_FL_COMPONENTS_NUM_MSK,4,2 ## @FWHT_FL_COMPONENTS_NUM_MSK
	.comm	_FWHT_FL_COMPONENTS_NUM_OFFSET,4,2 ## @FWHT_FL_COMPONENTS_NUM_OFFSET
	.comm	_FWHT_FL_PIXENC_MSK,4,2         ## @FWHT_FL_PIXENC_MSK
	.no_dead_strip	_info_from_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function info_from_header
_info_from_header:                      ; @info_from_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_ntohl
	mov	x19, x0
Lloh0:
	adrp	x8, _FWHT_FL_CHROMA_FULL_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FWHT_FL_CHROMA_FULL_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _FWHT_FL_CHROMA_FULL_HEIGHT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FWHT_FL_CHROMA_FULL_HEIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	ldr	w0, [x20]
	bl	_ntohl
	cmp	w0, #2
	b.lo	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _FWHT_FL_COMPONENTS_NUM_MSK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FWHT_FL_COMPONENTS_NUM_MSK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w8, w8, w19
Lloh9:
	adrp	x9, _FWHT_FL_COMPONENTS_NUM_OFFSET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FWHT_FL_COMPONENTS_NUM_OFFSET@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	add	w2, w8, #1
Lloh12:
	adrp	x8, _FWHT_FL_PIXENC_MSK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FWHT_FL_PIXENC_MSK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w3, w8, w19
	b	LBB0_3
LBB0_2:
	mov	w3, #0
	mov	w2, #3
LBB0_3:
	tst	w22, w19
	mov	w8, #1
	cinc	w1, w8, eq
	tst	w21, w19
	cinc	w0, w8, eq
	mov	w4, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_v4l2_fwht_find_nth_fmt
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FWHT_FL_CHROMA_FULL_WIDTH,4,2  ; @FWHT_FL_CHROMA_FULL_WIDTH
	.comm	_FWHT_FL_CHROMA_FULL_HEIGHT,4,2 ; @FWHT_FL_CHROMA_FULL_HEIGHT
	.comm	_FWHT_FL_COMPONENTS_NUM_MSK,4,2 ; @FWHT_FL_COMPONENTS_NUM_MSK
	.comm	_FWHT_FL_COMPONENTS_NUM_OFFSET,4,2 ; @FWHT_FL_COMPONENTS_NUM_OFFSET
	.comm	_FWHT_FL_PIXENC_MSK,4,2         ; @FWHT_FL_PIXENC_MSK
	.no_dead_strip	_info_from_header
.subsections_via_symbols
