	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_me_search_umh               ## -- Begin function ff_me_search_umh
	.p2align	4, 0x90
_ff_me_search_umh:                      ## @ff_me_search_umh
	.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	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %r12
	movl	(%rdi), %edi
	subl	4(%r12), %esi
	callq	_FFMAX
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	8(%r12), %edi
	movl	%r15d, %esi
	subl	4(%r12), %esi
	callq	_FFMAX
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %edi
	addl	%r13d, %edi
	movl	12(%r12), %esi
	callq	_FFMIN
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%r12), %edi
	addl	%r15d, %edi
	movl	16(%r12), %esi
	callq	_FFMIN
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	32(%r12), %r14
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	20(%r12), %edi
	addl	%r13d, %edi
	movl	24(%r12), %esi
	addl	%r15d, %esi
	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
	movl	(%rax), %edi
	addl	%r13d, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %r13d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, 4(%r12)
	jle	LBB0_9
## %bb.4:
	movl	4(%r14), %r15d
	movl	$1, %ebx
	movl	$-1, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	addl	$2, %ebx
	addl	$-2, %r12d
	cmpl	%eax, %ebx
	jg	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%r13), %edi
	movl	%r15d, %esi
	callq	_COST_P_MV
	leal	(%rbx,%r13), %edi
	movl	%r15d, %esi
	callq	_COST_P_MV
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	cmpl	%ecx, %ebx
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	(%r15,%r12), %esi
	movl	%r13d, %edi
	callq	_COST_P_MV
	leal	(%r15,%rbx), %esi
	movl	%r13d, %edi
	callq	_COST_P_MV
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	jmp	LBB0_7
LBB0_8:
	movl	(%r14), %r13d
LBB0_9:
	addl	$2, %r13d
	movl	%r13d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_FFMIN
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %edi
	addl	$2, %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_FFMIN
	movl	%eax, %ebx
	movl	4(%r14), %esi
	addl	$-2, %esi
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_FFMAX
	cmpl	%ebx, %eax
	jle	LBB0_10
LBB0_15:
	movl	(%r14), %r13d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$4, 4(%rax)
	jl	LBB0_21
## %bb.16:
	movl	4(%r14), %r15d
	movl	$1, %ebx
	movq	_hex4@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax), %edi
	imull	%ebx, %edi
	addl	%r13d, %edi
	movl	4(%rax), %esi
	imull	%ebx, %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	incq	%r14
	cmpq	$16, %r14
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	leal	1(%rbx), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	cmpl	%edx, %ebx
	movl	%eax, %ebx
	jl	LBB0_17
## %bb.20:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %r13d
LBB0_21:
	movq	_hex2@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %ebx
	movl	4(%r14), %r15d
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	addl	%r13d, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edi
	addl	%r13d, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movq	(%r12), %rax
	movq	16(%rax), %rax
	movl	(%rax), %edi
	addl	%r13d, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movq	(%r12), %rax
	movq	24(%rax), %rax
	movl	(%rax), %edi
	addl	%r13d, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movq	(%r12), %rax
	movq	32(%rax), %rax
	movl	(%rax), %edi
	addl	%r13d, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movq	(%r12), %rax
	movq	40(%rax), %rax
	movl	(%rax), %edi
	addl	%r13d, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movl	(%r14), %r13d
	cmpl	%r13d, %ebx
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	cmpl	4(%r14), %r15d
	jne	LBB0_22
## %bb.24:
	movq	_dia1@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	addl	%ebx, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edi
	addl	%ebx, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movl	(%rax), %edi
	addl	%ebx, %edi
	movl	4(%rax), %esi
	addl	%r15d, %esi
	callq	_COST_P_MV
	movq	(%r14), %rax
	movq	24(%rax), %rax
	addl	(%rax), %ebx
	addl	4(%rax), %r15d
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_COST_P_MV
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%eax, %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %r13d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	leal	1(%r12), %eax
	cmpl	%ebx, %r12d
	movl	%eax, %r12d
	je	LBB0_15
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movl	(%r14), %esi
	addl	$-2, %esi
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	_FFMAX
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_COST_P_MV
	incl	%r15d
	cmpl	%r15d, %r13d
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.comm	_hex4,8,3                       ## @hex4
	.comm	_hex2,8,3                       ## @hex2
	.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_umh               ; -- Begin function ff_me_search_umh
	.p2align	2
_ff_me_search_umh:                      ; @ff_me_search_umh
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x3
	mov	x26, x2
	mov	x27, x1
	mov	x21, x0
	ldr	w0, [x0]
	ldr	w8, [x21, #4]
	sub	w1, w1, w8
	bl	_FFMAX
	mov	x22, x0
	ldp	w8, w0, [x21, #4]
	sub	w1, w26, w8
	bl	_FFMAX
	mov	x23, x0
	ldr	w8, [x21, #4]
	add	w0, w8, w27
	ldr	w1, [x21, #12]
	bl	_FFMIN
	mov	x24, x0
	ldr	w8, [x21, #4]
	add	w0, w8, w26
	ldr	w1, [x21, #16]
	bl	_FFMIN
	mov	x25, x0
Lloh0:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
	ldr	x19, [x21, #32]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldp	w8, w9, [x21, #20]
	add	w0, w8, w27
	add	w1, w9, w26
	bl	_COST_P_MV
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x28, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x28, lsl #3]
	ldp	w9, w8, [x8]
	add	w0, w9, w27
	add	w1, w8, w26
	bl	_COST_P_MV
	add	x28, x28, #1
	ldrsw	x8, [x19]
	cmp	x28, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	w26, [x20]
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	ldr	w27, [x20, #4]
	mov	w28, #1
	mov	w19, #-1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w28, w28, #2
	sub	w19, w19, #2
	cmp	w28, w8
	b.gt	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w0, w26, w19
	mov	x1, x27
	bl	_COST_P_MV
	add	w0, w26, w28
	mov	x1, x27
	bl	_COST_P_MV
	ldr	w8, [x21, #4]
	cmp	w8, #0
	cinc	w9, w8, lt
	cmp	w28, w9, asr #1
	b.gt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w1, w27, w19
	mov	x0, x26
	bl	_COST_P_MV
	add	w1, w27, w28
	mov	x0, x26
	bl	_COST_P_MV
	ldr	w8, [x21, #4]
	b	LBB0_5
LBB0_8:
	ldr	w26, [x20]
LBB0_9:
	add	w0, w26, #2
	mov	x1, x24
	bl	_FFMIN
	mov	x24, x0
	ldr	w8, [x20, #4]
	add	w0, w8, #2
	mov	x1, x25
	bl	_FFMIN
	mov	x25, x0
	ldr	w8, [x20, #4]
	sub	w1, w8, #2
	mov	x0, x23
	bl	_FFMAX
	cmp	w0, w25
	b.le	LBB0_20
LBB0_10:
	ldr	w24, [x20]
	ldr	w8, [x21, #4]
	cmp	w8, #4
	b.lt	LBB0_16
; %bb.11:
	ldr	w19, [x20, #4]
	mov	w22, #1
Lloh3:
	adrp	x23, _hex4@GOTPAGE
Lloh4:
	ldr	x23, [x23, _hex4@GOTPAGEOFF]
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	mov	w25, #8
LBB0_13:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23]
	ldr	x8, [x8, x25]
	ldp	w9, w8, [x8]
	madd	w0, w9, w22, w24
	madd	w1, w8, w22, w19
	bl	_COST_P_MV
	add	x25, x25, #8
	cmp	x25, #128
	b.ne	LBB0_13
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x21, #4]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w22, w8, asr #2
	add	w22, w22, #1
	b.lt	LBB0_12
; %bb.15:
	ldr	w24, [x20]
LBB0_16:
Lloh5:
	adrp	x23, _hex2@GOTPAGE
Lloh6:
	ldr	x23, [x23, _hex2@GOTPAGEOFF]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x21, x24
	ldr	w22, [x20, #4]
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	add	w0, w9, w24
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldp	w9, w8, [x8]
	add	w0, w9, w24
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	ldp	w9, w8, [x8]
	add	w0, w9, w24
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #24]
	ldp	w9, w8, [x8]
	add	w0, w9, w24
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #32]
	ldp	w9, w8, [x8]
	add	w0, w9, w24
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #40]
	ldp	w9, w8, [x8]
	add	w0, w9, w24
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	w24, [x20]
	cmp	w21, w24
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x20, #4]
	cmp	w22, w8
	b.ne	LBB0_17
; %bb.19:
Lloh7:
	adrp	x19, _dia1@GOTPAGE
Lloh8:
	ldr	x19, [x19, _dia1@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	add	w0, w9, w21
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldp	w9, w8, [x8]
	add	w0, w9, w21
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldp	w9, w8, [x8]
	add	w0, w9, w21
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	x8, [x19]
	ldr	x8, [x8, #24]
	ldp	w9, w8, [x8]
	add	w0, w9, w21
	add	w1, w8, w22
	bl	_COST_P_MV
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_20:
	mov	x23, x0
	add	w19, w24, #1
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	w8, w23, #1
	cmp	w23, w25
	mov	x23, x8
	b.eq	LBB0_10
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
	ldr	w8, [x20]
	sub	w1, w8, #2
	mov	x0, x22
	bl	_FFMAX
	cmp	w0, w24
	b.gt	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x26, x0
LBB0_24:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x26
	mov	x1, x23
	bl	_COST_P_MV
	add	w26, w26, #1
	cmp	w19, w26
	b.ne	LBB0_24
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.comm	_hex4,8,3                       ; @hex4
	.comm	_hex2,8,3                       ; @hex2
	.comm	_dia1,8,3                       ; @dia1
.subsections_via_symbols
