	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_me_search_epzs              ## -- Begin function ff_me_search_epzs
	.p2align	4, 0x90
_ff_me_search_epzs:                     ## @ff_me_search_epzs
	.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	%rcx, %r15
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movl	48(%rdi), %edi
	movslq	%esi, %r12
	movq	%r12, %rsi
	subq	32(%rbx), %rsi
	callq	_FFMAX
	movl	44(%rbx), %edi
	movslq	%r14d, %r13
	movq	%r13, %rsi
	subq	32(%rbx), %rsi
	callq	_FFMAX
	movq	32(%rbx), %rdi
	addq	%r12, %rdi
	movl	40(%rbx), %esi
	callq	_FFMIN
	movq	32(%rbx), %rdi
	addq	%r13, %rdi
	movl	24(%rbx), %esi
	callq	_FFMIN
	movq	16(%rbx), %r14
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rdi
	addq	%r12, %rdi
	movq	(%rbx), %rsi
	addq	%r13, %rsi
	callq	_COST_P_MV
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	addq	%r12, %rdi
	movq	8(%rax), %rsi
	addq	%r13, %rsi
	callq	_COST_P_MV
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	cmpl	$0, 16(%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax), %rdi
	addq	%r12, %rdi
	movq	8(%rax), %rsi
	addq	%r13, %rsi
	callq	_COST_P_MV
	incq	%rbx
	movslq	16(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movl	(%r15), %eax
	movq	_dia1@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r15), %r12
	movslq	%eax, %rbx
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r14), %rax
	movq	24(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movl	(%r15), %eax
	cmpl	%eax, %ebx
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	4(%r15), %r12d
	jne	LBB0_7
## %bb.9:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.comm	_dia1,8,3                       ## @dia1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_me_search_epzs              ; -- Begin function ff_me_search_epzs
	.p2align	2
_ff_me_search_epzs:                     ; @ff_me_search_epzs
	.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, x3
	mov	x20, x2
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x21, x0
	ldr	w0, [x0, #48]
	sxtw	x22, w1
	ldr	x8, [x21, #32]
	sub	x1, x22, x8
	bl	_FFMAX
	ldr	w0, [x21, #44]
	sxtw	x23, w20
	ldr	x8, [x21, #32]
	sub	x1, x23, x8
	bl	_FFMAX
	ldr	x8, [x21, #32]
	add	x0, x8, x22
	ldr	w1, [x21, #40]
	bl	_FFMIN
	ldr	x8, [x21, #32]
	add	x0, x8, x23
	ldr	w1, [x21, #24]
	bl	_FFMIN
Lloh0:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldp	x8, x24, [x21, #8]
	ldr	x9, [x21]
	add	x0, x8, x22
	add	x1, x9, x23
	bl	_COST_P_MV
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x23
	bl	_COST_P_MV
	add	x21, x21, #1
	ldrsw	x8, [x24]
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	w8, [x24, #16]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #24]
	ldr	x8, [x8, x21, lsl #3]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x23
	bl	_COST_P_MV
	add	x21, x21, #1
	ldrsw	x8, [x24, #16]
	cmp	x21, x8
	b.lt	LBB0_5
LBB0_6:
	ldr	w8, [x19]
Lloh3:
	adrp	x21, _dia1@GOTPAGE
Lloh4:
	ldr	x21, [x21, _dia1@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	ldrsw	x22, [x19, #4]
	sxtw	x24, w23
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldp	x9, x8, [x8]
	add	x0, x9, x24
	add	x1, x8, x22
	bl	_COST_P_MV
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldp	x9, x8, [x8]
	add	x0, x9, x24
	add	x1, x8, x22
	bl	_COST_P_MV
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
	ldp	x9, x8, [x8]
	add	x0, x9, x24
	add	x1, x8, x22
	bl	_COST_P_MV
	ldr	x8, [x21]
	ldr	x8, [x8, #24]
	ldp	x9, x8, [x8]
	add	x0, x9, x24
	add	x1, x8, x22
	bl	_COST_P_MV
	ldr	w8, [x19]
	cmp	w23, w8
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x19, #4]
	cmp	w22, w9
	b.ne	LBB0_7
; %bb.9:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.comm	_dia1,8,3                       ; @dia1
.subsections_via_symbols
