	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_format
_get_format:                            ## @get_format
	.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	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rsi), %edi
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jne	LBB0_2
LBB0_20:
	movq	%r15, %rcx
LBB0_21:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %ebx
	shlq	$5, %rbx
	movq	8(%r12,%rbx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx), %rax
	je	LBB0_22
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r15), %edi
	addq	$4, %r15
	movq	%r15, %rcx
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_21
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	callq	_av_pix_fmt_desc_get
	movq	_AV_PIX_FMT_FLAG_HWACCEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_20
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_HWACCEL_GENERIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_HWACCEL_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r14), %edi
	xorl	%esi, %esi
	callq	_avcodec_get_hw_config
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r12
	movl	$1, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	4(%r14), %edi
	movl	%ebx, %esi
	callq	_avcodec_get_hw_config
	movq	%rax, %r12
	incl	%ebx
	testq	%rax, %rax
	je	LBB0_16
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %eax
	testl	%eax, (%r12)
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	4(%r12), %eax
	cmpl	(%r15), %eax
	jne	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	8(%rcx), %rax
	jne	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_hwaccel_decode_init
	testl	%eax, %eax
	jns	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_HWACCEL_GENERIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_hwaccels@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpq	$0, 24(%r12)
	je	LBB0_4
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15), %eax
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%eax, (%rdx)
	je	LBB0_3
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	incq	%rcx
	cmpq	$0, 56(%rdx)
	leaq	32(%rdx), %rdx
	jne	LBB0_18
	jmp	LBB0_4
LBB0_22:
	movq	%r14, %rdi
	callq	*16(%r12,%rbx)
	testl	%eax, %eax
	js	LBB0_26
LBB0_23:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.24:
	callq	_av_buffer_ref
	movl	%eax, (%r14)
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_21
LBB0_25:
	movl	(%r15), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 16(%rcx)
	jmp	LBB0_20
LBB0_26:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%r12,%rbx), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	40(%rax), %r8d
	movq	32(%rax), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	jmp	LBB0_28
LBB0_27:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r12), %rdi
	callq	_av_hwdevice_get_type_name
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	40(%rcx), %r8d
	movq	32(%rcx), %rcx
	movl	(%rcx), %r9d
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movl	%ebx, %esi
	movq	%rax, %rcx
LBB0_28:
	callq	_av_log
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ## @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_HWACCEL_GENERIC,8,3            ## @HWACCEL_GENERIC
	.comm	_HWACCEL_AUTO,8,3               ## @HWACCEL_AUTO
	.comm	_AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX,4,2 ## @AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s hwaccel requested for input stream #%d:%d, but cannot be initialized.\n"

	.comm	_hwaccels,8,3                   ## @hwaccels
	.no_dead_strip	_get_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_format
_get_format:                            ; @get_format
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x1]
Lloh0:
	adrp	x24, _AV_PIX_FMT_NONE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AV_PIX_FMT_NONE@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_2
LBB0_1:
	ldr	w0, [x19]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x23, [x20, #8]
Lloh2:
	adrp	x25, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AV_PIX_FMT_FLAG_HWACCEL@GOTPAGEOFF]
Lloh4:
	adrp	x26, _HWACCEL_GENERIC@GOTPAGE
Lloh5:
	ldr	x26, [x26, _HWACCEL_GENERIC@GOTPAGEOFF]
Lloh6:
	adrp	x27, _HWACCEL_AUTO@GOTPAGE
Lloh7:
	ldr	x27, [x27, _HWACCEL_AUTO@GOTPAGEOFF]
Lloh8:
	adrp	x28, _AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX@GOTPAGE
Lloh9:
	ldr	x28, [x28, _AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	and	x22, x8, #0xffffffff
	add	x8, x21, x22, lsl #5
	ldr	x9, [x8, #8]
	ldr	x10, [x23]
	cmp	x9, x10
	b.eq	LBB0_19
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #4]!
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	bl	_av_pix_fmt_desc_get
	ldr	w8, [x0]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x26]
	ldr	x10, [x27]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #4]
	mov	w1, #0
	bl	_avcodec_get_hw_config
	cbz	x0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	mov	w22, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldr	w0, [x20, #4]
	mov	x1, x22
	bl	_avcodec_get_hw_config
	mov	x21, x0
	add	w22, w22, #1
	cbz	x0, LBB0_15
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x21, #4]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	ldr	x9, [x23, #8]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_hwaccel_decode_init
	tbz	w0, #31, LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_4
	b	LBB0_24
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh10:
	adrp	x8, _hwaccels@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hwaccels@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
	ldr	w9, [x19]
	mov	x10, x21
LBB0_17:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x10]
	cmp	w11, w9
	b.eq	LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x8, x8, #1
	ldr	x11, [x10, #56]
	add	x10, x10, #32
	cbnz	x11, LBB0_17
	b	LBB0_4
LBB0_19:
	ldr	x8, [x8, #16]
	mov	x0, x20
	blr	x8
	tbnz	w0, #31, LBB0_23
LBB0_20:
	ldr	x0, [x23, #24]
	cbz	x0, LBB0_22
; %bb.21:
	bl	_av_buffer_ref
	str	w0, [x20]
	cbz	w0, LBB0_26
LBB0_22:
	ldr	w8, [x19]
	str	w8, [x23, #16]
	b	LBB0_1
LBB0_23:
Lloh13:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x8, x21, x22, lsl #5
	ldr	x3, [x8, #24]
	ldr	w4, [x23, #40]
	ldr	x8, [x23, #32]
	ldr	w5, [x8]
Lloh16:
	adrp	x2, l_.str@PAGE
Lloh17:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	b	LBB0_25
LBB0_24:
Lloh18:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
	ldr	x0, [x21, #8]
	bl	_av_hwdevice_get_type_name
	mov	x3, x0
	ldr	w4, [x23, #40]
	ldr	x8, [x23, #32]
	ldr	w5, [x8]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x1, x19
LBB0_25:
	bl	_av_log
LBB0_26:
Lloh23:
	adrp	x19, _AV_PIX_FMT_NONE@GOTPAGE
Lloh24:
	ldr	x19, [x19, _AV_PIX_FMT_NONE@GOTPAGEOFF]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.comm	_AV_PIX_FMT_FLAG_HWACCEL,4,2    ; @AV_PIX_FMT_FLAG_HWACCEL
	.comm	_HWACCEL_GENERIC,8,3            ; @HWACCEL_GENERIC
	.comm	_HWACCEL_AUTO,8,3               ; @HWACCEL_AUTO
	.comm	_AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX,4,2 ; @AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX
	.comm	_AV_LOG_FATAL,4,2               ; @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s hwaccel requested for input stream #%d:%d, but cannot be initialized.\n"

	.comm	_hwaccels,8,3                   ; @hwaccels
	.no_dead_strip	_get_format
.subsections_via_symbols
