	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_min_buffer_size
_get_min_buffer_size:                   ## @get_min_buffer_size
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ebx
	movl	4(%rdi), %eax
	movq	8(%rdi), %r8
	movq	16(%rdi), %r12
	movl	24(%rdi), %ecx
	movl	28(%rdi), %r9d
	movl	32(%rdi), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, (%rsi)
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r9d, (%rdx)
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.1:
	movl	$-1, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	decl	-52(%rbp)                       ## 4-byte Folded Spill
	decl	-48(%rbp)                       ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	cltd
	idivl	%ebx
	movl	(%r8,%r15,4), %edi
	addl	-52(%rbp), %edi                 ## 4-byte Folded Reload
	cltq
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	(%r12,%rax,4), %esi
	addl	-48(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%r14d, %ecx
	shll	%cl, %esi
	callq	_FFMAX
	movl	%eax, %ebx
	andl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %edi
	movl	%ebx, %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	subl	(%rax,%r15,4), %esi
	callq	_FFMAX
	movl	%r14d, %ecx
	sarl	%cl, %ebx
	movl	%eax, (%r12)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	subl	(%r12,%rax,4), %ebx
	movl	%ebx, %esi
	callq	_FFMAX
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx)
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	incq	%r15
	addl	%eax, %r13d
	cmpq	%r15, %rbx
	jne	LBB0_2
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_min_buffer_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_min_buffer_size
_get_min_buffer_size:                   ; @get_min_buffer_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldp	w10, w11, [x0]
	ldp	x25, x23, [x0, #8]
	ldp	w8, w9, [x0, #24]
	ldr	w13, [x0, #32]
	str	w13, [sp, #28]                  ; 4-byte Folded Spill
	str	w8, [x1]
	str	w9, [x2]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	w26, #0
	mov	x27, #0
	sub	w8, w8, #1
	stp	w8, w11, [sp, #8]               ; 8-byte Folded Spill
	sub	w8, w9, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	mov	w8, #-1
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	lsl	w8, w8, w9
	str	w8, [sp]                        ; 4-byte Folded Spill
	str	x10, [sp, #16]                  ; 8-byte Folded Spill
	ldr	w24, [sp, #28]                  ; 4-byte Folded Reload
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sdiv	w8, w26, w10
	lsl	x22, x27, #2
	ldr	w9, [x25, x22]
	ldr	w10, [sp, #8]                   ; 4-byte Folded Reload
	add	w0, w10, w9
	sbfiz	x28, x8, #2, #32
	ldr	w8, [x23, x28]
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	add	w8, w9, w8
	lsl	w1, w8, w24
	bl	_FFMAX
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	and	w19, w0, w8
	ldr	w0, [x20]
	ldr	w8, [x25, x22]
	sub	w1, w19, w8
	bl	_FFMAX
	str	w0, [x20]
	ldr	w0, [x21]
	asr	w8, w19, w24
	ldr	w9, [x23, x28]
	sub	w1, w8, w9
	bl	_FFMAX
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	str	w0, [x21]
	add	x27, x27, #1
	add	w26, w26, w11
	cmp	x10, x27
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_min_buffer_size
.subsections_via_symbols
