	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avcodec_output_port_set_format
_avcodec_output_port_set_format:        ## @avcodec_output_port_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	32(%r14), %rax
	movl	(%rax), %edi
	callq	_samplefmt_to_encoding
	movq	8(%rbx), %rcx
	movq	_MMAL_EINVAL@GOTPCREL(%rip), %r15
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	32(%r14), %rax
	movl	(%rax), %edi
	callq	_samplefmt_to_sample_size
	movq	8(%rbx), %rcx
	movq	8(%rcx), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.2:
	movq	16(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	movq	32(%r14), %rsi
	movl	(%rsi), %esi
	movl	%esi, 40(%r14)
	movq	%rcx, 24(%r14)
	movq	%rdx, 16(%r14)
	movq	%rax, (%r14)
	movq	(%rbx), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	$0, 8(%rax)
	callq	_mmal_component_action_trigger
	movq	_MMAL_SUCCESS@GOTPCREL(%rip), %r15
LBB0_5:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAL_EINVAL,4,2                ## @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,4,2               ## @MMAL_SUCCESS
	.no_dead_strip	_avcodec_output_port_set_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avcodec_output_port_set_format
_avcodec_output_port_set_format:        ; @avcodec_output_port_set_format
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x20, [x8]
	ldr	x8, [x20, #32]
	ldr	w0, [x8]
	bl	_samplefmt_to_encoding
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x20, #32]
	ldr	w0, [x8]
	bl	_samplefmt_to_sample_size
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	ldr	x8, [x9]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x9, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	x10, [x20, #32]
	ldr	w10, [x10]
	str	w10, [x20, #40]
	stp	x9, x8, [x20, #16]
	str	x0, [x20]
	ldr	x0, [x19]
	ldr	x8, [x0]
	ldr	x8, [x8]
	str	xzr, [x8, #8]
	bl	_mmal_component_action_trigger
Lloh0:
	adrp	x8, _MMAL_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAL_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _MMAL_EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMAL_EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAL_EINVAL,4,2                ; @MMAL_EINVAL
	.comm	_MMAL_SUCCESS,4,2               ; @MMAL_SUCCESS
	.no_dead_strip	_avcodec_output_port_set_format
.subsections_via_symbols
