	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpif_get_std_info
_vpif_get_std_info:                     ## @vpif_get_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r13
	movq	_VPIF_VIDEO_INDEX@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movl	20(%rdi), %eax
	movl	%eax, 8(%rdi)
	movq	_ch_params@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%r14), %rbx
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	movl	(%rbx), %eax
	testl	%eax, (%rsi,%r13)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movq	%rsi, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$12, %r13
	cmpq	%rax, %r12
	jl	LBB0_3
	jmp	LBB0_6
LBB0_1:
	movq	%r12, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_4:
	addq	%r13, %rsi
	movq	%rbx, %rdi
	movl	$12, %edx
	callq	_memcpy
LBB0_6:
	movq	_VPIF_VIDEO_INDEX@GOTPCREL(%rip), %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_7:
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	%ecx, %r12d
	je	LBB0_9
## %bb.8:
	movl	12(%r14), %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	shlq	$4, %rax
	movl	%ecx, 12(%r13,%rax)
	movl	16(%r14), %r8d
	movl	%r8d, 8(%r13,%rax)
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	$1, %edi
	callq	_vpif_dbg
	movl	16(%r14), %eax
	movq	(%r14), %rcx
	movq	(%rbx), %rdx
	shlq	$4, %rdx
	movl	%eax, 4(%rcx,%rdx)
	movl	12(%r14), %eax
	movl	%eax, (%rcx,%rdx)
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPIF_VIDEO_INDEX,8,3           ## @VPIF_VIDEO_INDEX
	.comm	_ch_params,8,3                  ## @ch_params
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pixel details: Width = %d,Height = %d\n"

	.no_dead_strip	_vpif_get_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_get_std_info
_vpif_get_std_info:                     ; @vpif_get_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
	mov	x19, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x21, _VPIF_VIDEO_INDEX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VPIF_VIDEO_INDEX@GOTPAGEOFF]
	ldr	x23, [x21]
	ldr	w8, [x0, #20]
	mov	x20, x0
	str	w8, [x20, #8]!
Lloh2:
	adrp	x24, _ch_params@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ch_params@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x26, #0
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldr	w8, [x0, x26]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #1
	bl	_ARRAY_SIZE
	add	x26, x26, #12
	cmp	x25, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w25, #0
	b	LBB0_6
LBB0_5:
	add	x1, x0, x26
	mov	x0, x20
	mov	w2, #12
	bl	_memcpy
LBB0_6:
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w25, w0
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
	add	x8, x22, x23, lsl #4
	ldp	w3, w4, [x19, #12]
	stp	w4, w3, [x8, #8]
Lloh4:
	adrp	x8, _debug@GOTPAGE
Lloh5:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #1
	bl	_vpif_dbg
	mov	w0, #0
	ldr	x8, [x19]
	ldr	x9, [x21]
	lsl	x9, x9, #4
	ldur	d0, [x19, #12]
	str	d0, [x8, x9]
LBB0_9:
	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	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_VPIF_VIDEO_INDEX,8,3           ; @VPIF_VIDEO_INDEX
	.comm	_ch_params,8,3                  ; @ch_params
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pixel details: Width = %d,Height = %d\n"

	.no_dead_strip	_vpif_get_std_info
.subsections_via_symbols
