	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fifo_thread_dispatch_message
_fifo_thread_dispatch_message:          ## @fifo_thread_dispatch_message
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_EINVAL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_AVERROR
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_fifo_thread_write_header
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_7
LBB0_3:
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_8
## %bb.4:
	cmpl	$130, %eax
	je	LBB0_9
## %bb.5:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.6:
	movl	%r14d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_av_assert0
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	addq	$4, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fifo_thread_write_packet       ## TAILCALL
LBB0_9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fifo_thread_flush_output       ## TAILCALL
LBB0_10:
	xorl	%edi, %edi
	callq	_av_assert0
	movl	(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_fifo_thread_dispatch_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fifo_thread_dispatch_message
_fifo_thread_dispatch_message:          ; @fifo_thread_dispatch_message
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _EINVAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EINVAL@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_AVERROR
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x0
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_fifo_thread_write_header
	mov	x20, x0
	tbnz	w0, #31, LBB0_7
LBB0_3:
	ldr	w8, [x21]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.4:
	cmp	w8, #130
	b.eq	LBB0_9
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_10
; %bb.6:
	mvn	w8, w20
	lsr	w0, w8, #31
	bl	_av_assert0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	add	x1, x21, #4
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fifo_thread_write_packet
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fifo_thread_flush_output
LBB0_10:
	mov	w0, #0
	bl	_av_assert0
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_fifo_thread_dispatch_message
.subsections_via_symbols
