	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_format_output_open          ## -- Begin function ff_format_output_open
	.p2align	4, 0x90
_ff_format_output_open:                 ## @ff_format_output_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_AVFMT_NOFILE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_4:
	movq	%rdx, %r8
	movq	%rsi, %rdx
	movq	(%rdi), %rax
	leaq	8(%rdi), %rsi
	movq	_AVIO_FLAG_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AVFMT_NOFILE,4,2               ## @AVFMT_NOFILE
	.comm	_AVIO_FLAG_WRITE,4,2            ## @AVIO_FLAG_WRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_format_output_open          ; -- Begin function ff_format_output_open
	.p2align	2
_ff_format_output_open:                 ; @ff_format_output_open
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _AVFMT_NOFILE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AVFMT_NOFILE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	_AVERROR
LBB0_4:
	mov	x4, x2
	mov	x2, x1
	mov	x1, x0
	ldr	x5, [x1], #8
Lloh6:
	adrp	x8, _AVIO_FLAG_WRITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVIO_FLAG_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	br	x5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AVFMT_NOFILE,4,2               ; @AVFMT_NOFILE
	.comm	_AVIO_FLAG_WRITE,4,2            ; @AVIO_FLAG_WRITE
.subsections_via_symbols
