	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpif_update_std_info
_vpif_update_std_info:                  ## @vpif_update_std_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_vpif_ch_params_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r12
	xorl	%r13d, %r13d
	movq	_vpif_ch_params@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	%edx, %rcx
	addq	$16, %r13
	cmpq	%rcx, %r14
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rbx
	cmpq	$0, (%rbx,%r13)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edi
	leaq	L_.str(%rip), %rdx
	callq	_vpif_dbg
	movl	16(%r12), %eax
	testl	%eax, 8(%rbx,%r13)
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_vpif_ch_params_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
	cmpl	%edx, %r14d
	je	LBB0_9
	jmp	LBB0_10
LBB0_11:
	addq	%r13, %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	_vpif_ch_params_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_7:
	xorl	%eax, %eax
	cmpl	%edx, %r14d
	jne	LBB0_10
LBB0_9:
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %edi
	callq	_vpif_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vpif_ch_params_count,4,2       ## @vpif_ch_params_count
	.comm	_vpif_ch_params,8,3             ## @vpif_ch_params
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SD format\n"

L_.str.1:                               ## @.str.1
	.asciz	"Format not found\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vpif_update_std_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpif_update_std_info
_vpif_update_std_info:                  ; @vpif_update_std_info
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x23, _vpif_ch_params_count@GOTPAGE
Lloh1:
	ldr	x23, [x23, _vpif_ch_params_count@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x21, _debug@GOTPAGE
Lloh3:
	ldr	x21, [x21, _debug@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x0
	mov	x24, #0
	mov	x22, #0
Lloh4:
	adrp	x25, _vpif_ch_params@GOTPAGE
Lloh5:
	ldr	x25, [x25, _vpif_ch_params@GOTPAGEOFF]
Lloh6:
	adrp	x20, l_.str@PAGE
Lloh7:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	add	x24, x24, #16
	cmp	x22, w8, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x25]
	ldr	x9, [x26, x24]
	cbnz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x21]
	mov	w0, #2
	mov	x2, x20
	bl	_vpif_dbg
	add	x1, x26, x24
	ldr	w8, [x1, #8]
	ldr	w9, [x19, #16]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	b	LBB0_2
LBB0_6:
	mov	w22, #0
LBB0_7:
	cmp	w22, w8
	b.ne	LBB0_10
LBB0_8:
	ldr	w1, [x21]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_vpif_dbg
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	mov	w2, #16
	bl	_memcpy
	ldr	w8, [x23]
	cmp	w22, w8
	b.eq	LBB0_8
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_vpif_ch_params_count,4,2       ; @vpif_ch_params_count
	.comm	_vpif_ch_params,8,3             ; @vpif_ch_params
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SD format\n"

l_.str.1:                               ; @.str.1
	.asciz	"Format not found\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vpif_update_std_info
.subsections_via_symbols
