	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_me_search_hexbs             ## -- Begin function ff_me_search_hexbs
	.p2align	4, 0x90
_ff_me_search_hexbs:                    ## @ff_me_search_hexbs
	.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, %r12d
	movq	%rdi, %rbx
	movl	32(%rdi), %edi
	movslq	%esi, %r14
	movq	%r14, %rsi
	subq	16(%rbx), %rsi
	callq	_FFMAX
	movl	28(%rbx), %edi
	movslq	%r12d, %r12
	movq	%r12, %rsi
	subq	16(%rbx), %rsi
	callq	_FFMAX
	movq	16(%rbx), %rdi
	addq	%r14, %rdi
	movl	24(%rbx), %esi
	callq	_FFMIN
	movq	16(%rbx), %rdi
	addq	%r12, %rdi
	movl	8(%rbx), %esi
	callq	_FFMIN
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	*(%rbx)
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	(%r15), %eax
	movq	_hex2@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r15), %r12
	movslq	%eax, %rbx
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r13), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r13), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r13), %rax
	movq	24(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r13), %rax
	movq	32(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r13), %rax
	movq	40(%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_2
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	4(%r15), %r12d
	jne	LBB0_2
## %bb.4:
	movq	_dia1@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r15), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	8(%rax), %rsi
	addq	%r12, %rsi
	callq	_COST_P_MV
	movq	(%r15), %rax
	movq	24(%rax), %rax
	addq	(%rax), %rbx
	addq	8(%rax), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_COST_P_MV
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_hexbs             ; -- Begin function ff_me_search_hexbs
	.p2align	2
_ff_me_search_hexbs:                    ; @ff_me_search_hexbs
	.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
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x0, #32]
	sxtw	x23, w21
	ldr	x8, [x22, #16]
	sub	x1, x23, x8
	bl	_FFMAX
	ldr	w0, [x22, #28]
	sxtw	x24, w20
	ldr	x8, [x22, #16]
	sub	x1, x24, x8
	bl	_FFMAX
	ldr	x8, [x22, #16]
	add	x0, x8, x23
	ldr	w1, [x22, #24]
	bl	_FFMIN
	ldr	x8, [x22, #16]
	add	x0, x8, x24
	ldr	w1, [x22, #8]
	bl	_FFMIN
	ldr	x8, [x22]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x21
	mov	x4, x20
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x23, _hex2@GOTPAGE
Lloh1:
	ldr	x23, [x23, _hex2@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x24, x8
	ldrsw	x21, [x19, #4]
	sxtw	x22, w24
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #24]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #32]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	x8, [x23]
	ldr	x8, [x8, #40]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	w8, [x19]
	cmp	w24, w8
	b.ne	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x19, #4]
	cmp	w21, w9
	b.ne	LBB0_2
; %bb.4:
Lloh2:
	adrp	x19, _dia1@GOTPAGE
Lloh3:
	ldr	x19, [x19, _dia1@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
	ldr	x8, [x19]
	ldr	x8, [x8, #24]
	ldp	x9, x8, [x8]
	add	x0, x9, x22
	add	x1, x8, x21
	bl	_COST_P_MV
LBB0_5:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_hex2,8,3                       ; @hex2
	.comm	_dia1,8,3                       ; @dia1
.subsections_via_symbols
