	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdpau_init_pixmfts
_vdpau_init_pixmfts:                    ## @vdpau_init_pixmfts
	.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), %rax
	movq	8(%rdi), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	movq	(%r13), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rdi
	movq	(%rdi,%r15,8), %rcx
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r12d, %rdx
	incl	%r12d
	movq	%rax, (%rcx,%rdx,8)
	movq	16(%r13), %rax
	movl	%r12d, (%rax,%r15,4)
	incq	%r15
	callq	_FF_ARRAY_ELEMS
	cltq
	cmpq	%rax, %r15
	jge	LBB0_13
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	_vdpau_pix_fmts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, %r14
	shlq	$4, %r14
	movq	8(%rax,%r14), %rbx
	movq	%rbx, %rdi
	callq	_count_pixfmts
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edi
	movl	$8, %esi
	callq	_av_malloc_array
	movq	(%r13), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	(%r13), %rdi
	movq	(%rdi,%r15,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, %r12d
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	(%rbx), %rax
	addq	$16, %rbx
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_vdpau_pix_fmts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14), %esi
	movl	-8(%rbx), %edx
	leaq	-64(%rbp), %rcx
	callq	*8(%r13)
	movq	_VDP_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, -64(%rbp)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	-16(%rbx), %rax
	movq	(%r13), %rcx
	movq	(%rcx,%r15,8), %rcx
	movslq	%r12d, %rdx
	incl	%r12d
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_10
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_13
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_13:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vdpau_pix_fmts,8,3             ## @vdpau_pix_fmts
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PIX_FMT_NONE,8,3            ## @AV_PIX_FMT_NONE
	.comm	_VDP_STATUS_OK,8,3              ## @VDP_STATUS_OK
	.no_dead_strip	_vdpau_init_pixmfts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdpau_init_pixmfts
_vdpau_init_pixmfts:                    ; @vdpau_init_pixmfts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldp	x8, x20, [x0]
	ldr	x21, [x8]
	ldr	x0, [x21]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x22, #0
Lloh0:
	adrp	x23, _vdpau_pix_fmts@GOTPAGE
Lloh1:
	ldr	x23, [x23, _vdpau_pix_fmts@GOTPAGEOFF]
Lloh2:
	adrp	x24, _AV_PIX_FMT_NONE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh4:
	adrp	x25, _VDP_STATUS_OK@GOTPAGE
Lloh5:
	ldr	x25, [x25, _VDP_STATUS_OK@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21]
	ldr	x9, [x0, x22, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w26, #1
	str	x8, [x9, w26, sxtw #3]
	ldr	x8, [x21, #16]
	str	w10, [x8, x22, lsl #2]
	add	x22, x22, #1
	bl	_FF_ARRAY_ELEMS
	cmp	x22, w0, sxtw
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x23]
	add	x8, x8, x22, lsl #4
	ldr	x19, [x8, #8]
	mov	x0, x19
	bl	_count_pixfmts
	add	w0, w0, #1
	mov	w1, #8
	bl	_av_malloc_array
	ldr	x8, [x21]
	lsl	x9, x22, #3
	str	x0, [x8, x9]
	ldr	x0, [x21]
	ldr	x9, [x0, x9]
	cbz	x9, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x10, [x24]
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #0
	add	x19, x19, #16
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x19], #16
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #8]
	ldr	w0, [x20]
	ldr	x9, [x23]
	lsl	x10, x22, #4
	ldr	w1, [x9, x10]
	ldur	w2, [x19, #-8]
	add	x3, sp, #8
	blr	x8
	ldr	x8, [x25]
	ldr	x9, [sp, #8]
	cmp	x0, x8
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldur	x8, [x19, #-16]
	ldr	x9, [x21]
	ldr	x9, [x9, x22, lsl #3]
	str	x8, [x9, w26, sxtw #3]
	add	w26, w26, #1
	b	LBB0_8
LBB0_11:
	mov	w0, #0
	b	LBB0_13
LBB0_12:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_vdpau_pix_fmts,8,3             ; @vdpau_pix_fmts
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PIX_FMT_NONE,8,3            ; @AV_PIX_FMT_NONE
	.comm	_VDP_STATUS_OK,8,3              ; @VDP_STATUS_OK
	.no_dead_strip	_vdpau_init_pixmfts
.subsections_via_symbols
