	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xvid_ff_2pass_after
_xvid_ff_2pass_after:                   ## @xvid_ff_2pass_after
	.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	(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movl	(%rsi), %eax
	leal	-1(%rax), %ecx
	cmpl	$3, %ecx
	ja	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rcx
	movsbl	(%rax,%rcx), %r15d
	movq	%r14, %rdi
	callq	_BUFFER_CAT
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_BUFFER_REMAINING
	movl	4(%rbx), %r8d
	movl	8(%rbx), %r9d
	movl	12(%rbx), %r10d
	movl	16(%rbx), %r11d
	movl	20(%rbx), %r14d
	movl	24(%rbx), %ebx
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	%r15d, %ecx
	pushq	%rbx
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_snprintf
	addq	$32, %rsp
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	movq	_XVID_ERR_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" ipbs"

	.comm	_XVID_ERR_FAIL,4,2              ## @XVID_ERR_FAIL
L_.str.1:                               ## @.str.1
	.asciz	"%c %d %d %d %d %d %d\n"

	.no_dead_strip	_xvid_ff_2pass_after
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xvid_ff_2pass_after
_xvid_ff_2pass_after:                   ; @xvid_ff_2pass_after
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x20, [x0]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1]
	sub	w9, w8, #1
	cmp	w9, #3
	b.hi	LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, l_.str@PAGE
Lloh1:
	add	x9, x9, l_.str@PAGEOFF
	ldrsb	w21, [x9, x8]
	mov	x0, x20
	bl	_BUFFER_CAT
	mov	x22, x0
	mov	x0, x20
	bl	_BUFFER_REMAINING
	mov	x1, x0
	ldp	w4, w5, [x19, #4]
	ldp	w6, w7, [x19, #12]
	ldp	w8, w9, [x19, #20]
	stp	w8, w9, [sp]
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x3, x21
	bl	_snprintf
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _XVID_ERR_FAIL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _XVID_ERR_FAIL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" ipbs"

	.comm	_XVID_ERR_FAIL,4,2              ; @XVID_ERR_FAIL
l_.str.1:                               ; @.str.1
	.asciz	"%c %d %d %d %d %d %d\n"

	.no_dead_strip	_xvid_ff_2pass_after
.subsections_via_symbols
