	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_insert_pad                  ## -- Begin function ff_insert_pad
	.p2align	4, 0x90
_ff_insert_pad:                         ## @ff_insert_pad
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	(%rsi), %esi
	callq	_FFMIN
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rdi
	movl	(%rbx), %esi
	incl	%esi
	movl	$8, %edx
	callq	_av_realloc_array
	movq	%rax, %r15
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rdi
	movl	(%rbx), %esi
	incl	%esi
	movl	$8, %edx
	callq	_av_realloc_array
	testq	%r15, %r15
	je	LBB0_1
## %bb.4:
	movq	%r15, (%r13)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	(%r13), %rax
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r15d
	leaq	(%rax,%r15,8), %rsi
	leaq	(,%r15,8), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r15,8), %rdi
	addq	$8, %rdi
	movl	(%rbx), %edx
	subl	%r12d, %edx
	shll	$3, %edx
	callq	_memmove
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	leaq	(%rax,%r15,8), %rsi
	leaq	(%rax,%r15,8), %rdi
	addq	$8, %rdi
	movl	(%rbx), %edx
	subl	%r12d, %edx
	shll	$3, %edx
	callq	_memmove
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	(%r13), %rdi
	movl	%r12d, %r13d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_memcpy
	movq	(%r12), %rax
	movq	$0, (%rax,%r15,8)
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	incl	%r13d
	cmpl	%eax, %r13d
	jae	LBB0_10
## %bb.6:
	movq	(%r12), %rcx
	movl	%r13d, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	cmpl	%edx, %eax
	jbe	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	(%rsi,%r14,4)
	movl	(%rbx), %eax
	jmp	LBB0_9
LBB0_10:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_insert_pad                  ; -- Begin function ff_insert_pad
	.p2align	2
_ff_insert_pad:                         ; @ff_insert_pad
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x5
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x19, x1
	ldr	w1, [x1]
	bl	_FFMIN
	mov	x23, x0
	ldr	x0, [x24]
	ldr	w8, [x19]
	add	w1, w8, #1
	mov	w2, #8
	bl	_av_realloc_array
	mov	x25, x0
	ldr	x0, [x20]
	ldr	w8, [x19]
	add	w1, w8, #1
	mov	w2, #8
	bl	_av_realloc_array
	cbz	x25, LBB0_8
; %bb.1:
	str	x25, [x24]
	cbz	x0, LBB0_10
; %bb.2:
	str	x0, [x20]
	ldr	x8, [x24]
	mov	w9, w23
	lsl	x25, x9, #3
	add	x1, x8, x25
	add	x0, x1, #8
	ldr	w8, [x19]
	sub	w8, w8, w23
	lsl	w2, w8, #3
	bl	_memmove
	ldr	x8, [x20]
	add	x1, x8, x25
	add	x0, x1, #8
	ldr	w8, [x19]
	sub	w8, w8, w23
	lsl	w2, w8, #3
	bl	_memmove
	ldr	x8, [x24]
	add	x0, x8, x25
	mov	x1, x22
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x20]
	str	xzr, [x8, x25]
	ldr	w8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
	add	w8, w23, #1
	cmp	w8, w9
	b.hs	LBB0_7
; %bb.3:
	ldr	x10, [x20]
	lsl	x11, x21, #2
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	cmp	w9, w8
	b.ls	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x8, lsl #3]
	cbz	x12, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x12, x11]
	add	w9, w9, #1
	str	w9, [x12, x11]
	ldr	w9, [x19]
	b	LBB0_4
LBB0_7:
	mov	w0, #0
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	cbz	x0, LBB0_10
; %bb.9:
	str	x0, [x20]
LBB0_10:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
