	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mpeg4_init_partitions       ## -- Begin function ff_mpeg4_init_partitions
	.p2align	4, 0x90
_ff_mpeg4_init_partitions:              ## @ff_mpeg4_init_partitions
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_put_bits_ptr
	movq	%rax, %r15
	movq	8(%r14), %rax
	subq	%r15, %rax
	shrq	$2, %rax
	movslq	%eax, %r13
	imulq	$1431655766, %r13, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	leal	(%r15,%rax), %ebx
	andl	$-4, %ebx
	subq	%r15, %rbx
	subl	%ebx, %r13d
	subl	%ebx, %r13d
	andl	$-4, %r13d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_set_put_bits_buffer_size
	leaq	4(%r14), %rdi
	movslq	%ebx, %r12
	leaq	(%r15,%r12,4), %rbx
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_init_put_bits
	movslq	%r13d, %rax
	leaq	(%rbx,%rax,4), %rsi
	movq	%r14, %rdi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_init_put_bits                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mpeg4_init_partitions       ; -- Begin function ff_mpeg4_init_partitions
	.p2align	2
_ff_mpeg4_init_partitions:              ; @ff_mpeg4_init_partitions
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_put_bits_ptr
	mov	x21, x0
	ldr	x8, [x19, #8]
	sub	x8, x8, x0
	lsr	x8, x8, #2
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	add	w9, w9, w21
	and	x9, x9, #0xfffffffc
	sub	x22, x9, x0
	sub	w8, w8, w22, lsl #1
	and	w23, w8, #0xfffffffc
	mov	x0, x20
	mov	x1, x22
	bl	_set_put_bits_buffer_size
	add	x0, x19, #4
	lsl	x8, x22, #32
	add	x20, x21, x8, asr #30
	mov	x1, x20
	mov	x2, x23
	bl	_init_put_bits
	add	x1, x20, w23, sxtw #2
	mov	x0, x19
	mov	x2, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_init_put_bits
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
