	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ffat_decode_callback
_ffat_decode_callback:                  ## @ffat_decode_callback
	.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	%rcx, %r14
	movq	%rsi, %r15
	movq	(%r8), %rbx
	cmpq	$0, 32(%rbx)
	je	LBB0_3
## %bb.1:
	movl	$0, (%r15)
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_7
## %bb.2:
	leaq	16(%rbx), %rcx
	movq	%rcx, (%r14)
	movq	$0, 16(%rbx)
	jmp	LBB0_7
LBB0_3:
	movq	%rdx, %r12
	movq	%rbx, %rdi
	callq	_av_packet_unref
	leaq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_av_packet_move_ref
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	$1, (%r12)
	movq	8(%r12), %rdx
	movq	$0, 16(%rdx)
	movq	(%rbx), %rcx
	movq	%rcx, 8(%rdx)
	movq	%rax, (%rdx)
	movl	$1, (%r15)
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	leaq	16(%rbx), %rdx
	movq	%rdx, (%r14)
	movq	%rcx, 16(%rbx)
	jmp	LBB0_7
LBB0_4:
	movl	$0, (%r15)
	movl	$1, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ffat_decode_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ffat_decode_callback
_ffat_decode_callback:                  ; @ffat_decode_callback
	.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	x19, x3
	mov	x21, x1
	ldr	x20, [x4]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_3
; %bb.1:
	str	wzr, [x21]
	mov	w0, #0
	cbz	x19, LBB0_8
; %bb.2:
	str	xzr, [x20, #16]!
	b	LBB0_6
LBB0_3:
	mov	x22, x2
	mov	x0, x20
	bl	_av_packet_unref
	add	x1, x20, #24
	mov	x0, x20
	bl	_av_packet_move_ref
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.4:
	mov	w10, #1
	str	w10, [x22]
	ldr	x11, [x22, #8]
	str	xzr, [x11, #16]
	ldr	x9, [x20]
	stp	x8, x9, [x11]
	str	w10, [x21]
	mov	w0, #0
	cbz	x19, LBB0_8
; %bb.5:
	str	x9, [x20, #16]!
LBB0_6:
	str	x20, [x19]
	b	LBB0_8
LBB0_7:
	str	wzr, [x21]
	mov	w0, #1
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ffat_decode_callback
.subsections_via_symbols
