	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_all_formats
_create_all_formats:                    ## @create_all_formats
	.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
	testl	%edi, %edi
	jle	LBB0_9
## %bb.1:
	movl	%edi, %r15d
	xorl	%ebx, %ebx
	movq	_AV_PIX_FMT_FLAG_HWACCEL@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_av_pix_fmt_desc_get
	movl	(%r12), %ecx
	andl	(%rax), %ecx
	cmpl	$1, %ecx
	adcl	$0, %r14d
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_2
## %bb.3:
	leal	4(,%r14,4), %edi
	callq	_av_malloc
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %r14
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	%ebx, %r15d
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_av_pix_fmt_desc_get
	movl	(%r12), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	%r13d, %rax
	incl	%r13d
	movl	%ebx, (%r14,%rax,4)
	jmp	LBB0_6
LBB0_9:
	movl	$4, %edi
	callq	_av_malloc
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, %r14
LBB0_11:
	movslq	%r13d, %rax
	movl	$-1, (%r14,%rax,4)
	jmp	LBB0_14
LBB0_13:
	xorl	%r14d, %r14d
LBB0_14:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ## @AV_PIX_FMT_FLAG_HWACCEL
	.no_dead_strip	_create_all_formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_all_formats
_create_all_formats:                    ; @create_all_formats
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x0
	mov	w20, #0
	mov	w21, #0
Lloh0:
	adrp	x22, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_av_pix_fmt_desc_get
	ldr	w8, [x0]
	ldr	w9, [x22]
	tst	w9, w8
	cinc	w21, w21, eq
	add	w20, w20, #1
	cmp	w19, w20
	b.ne	LBB0_2
; %bb.3:
	lsl	w8, w21, #2
	add	w0, w8, #4
	bl	_av_malloc
	mov	x20, x0
	cbz	x0, LBB0_12
; %bb.4:
	cmp	w19, #1
	b.lt	LBB0_10
; %bb.5:
	mov	w21, #0
	mov	w23, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w21, w21, #1
	cmp	w19, w21
	b.eq	LBB0_11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_av_pix_fmt_desc_get
	ldr	w8, [x0]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w21, [x20, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_6
LBB0_9:
	mov	w0, #4
	bl	_av_malloc
	mov	x20, x0
	cbz	x0, LBB0_12
LBB0_10:
	mov	w23, #0
LBB0_11:
	mov	w8, #-1
	str	w8, [x20, w23, sxtw #2]
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ; @AV_PIX_FMT_FLAG_HWACCEL
	.no_dead_strip	_create_all_formats
.subsections_via_symbols
