	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ffmmal_decode
_ffmmal_decode:                         ## @ffmmal_decode
	.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	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	16(%rbx), %r13
	cmpl	$0, (%r13)
	jne	LBB0_3
## %bb.2:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_av_init_packet
	movl	8(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -64(%rbp)
	movl	$1, (%r13)
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_ffmmal_add_packet
	testl	%eax, %eax
	js	LBB0_9
LBB0_3:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ffmmal_add_packet
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_ffmmal_fill_input_port
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movq	%rbx, %rdi
	callq	_ffmmal_fill_output_port
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ffmmal_read_frame
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_ffmmal_fill_output_port
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_ffmmal_fill_input_port
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ffmmal_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ffmmal_decode
_ffmmal_decode:                         ; @ffmmal_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x23, [x19, #16]
	ldr	w8, [x23]
	cbnz	w8, LBB0_3
; %bb.2:
	stp	xzr, xzr, [sp]
	mov	x0, sp
	bl	_av_init_packet
	ldr	w8, [x19, #8]
	str	w8, [sp, #8]
	ldr	x8, [x19]
	str	x8, [sp]
	mov	w8, #1
	str	w8, [x23]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #1
	bl	_ffmmal_add_packet
	tbnz	w0, #31, LBB0_9
LBB0_3:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_ffmmal_add_packet
	tbnz	w0, #31, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_ffmmal_fill_input_port
	tbnz	w0, #31, LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_ffmmal_fill_output_port
	tbnz	w0, #31, LBB0_9
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ffmmal_read_frame
	tbnz	w0, #31, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_ffmmal_fill_output_port
	tbnz	w0, #31, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_ffmmal_fill_input_port
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ffmmal_decode
.subsections_via_symbols
