	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __find_resolution
___find_resolution:                     ## @__find_resolution
	.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, %r12
	movq	%rdx, %r14
	movq	_m5mols_reg_res@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r15
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	16(%rsi), %edi
	callq	___find_restype
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	%eax, %ebx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	$-1, %r14d
	xorl	%r13d, %r13d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %r15
	testl	%ebx, %ebx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	(%r15), %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rdi
	subq	8(%r12), %rdi
	callq	_abs
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%r15), %rdi
	subq	(%r12), %rdi
	callq	_abs
	addl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	%r14d, %eax
	cmovbq	%r15, %r13
	cmovbl	%eax, %r14d
	jmp	LBB0_4
LBB0_5:
	testq	%r13, %r13
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:
	movups	8(%r13), %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
	movl	4(%r13), %eax
	movl	%eax, (%rdx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_m5mols_reg_res,8,3             ## @m5mols_reg_res
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	___find_resolution
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __find_resolution
___find_resolution:                     ; @__find_resolution
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x23, _m5mols_reg_res@GOTPAGE
Lloh1:
	ldr	x23, [x23, _m5mols_reg_res@GOTPAGEOFF]
	ldr	x25, [x23]
	ldr	w0, [x1, #16]
	bl	___find_restype
	mov	x22, x0
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_7
; %bb.1:
	mov	x23, x0
	mov	x26, #0
	mov	w27, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #24
	cbz	w23, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w23, w23, #1
	ldr	w8, [x25]
	cmp	w22, w8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25, #16]
	ldr	x9, [x21, #8]
	sub	x0, x8, x9
	bl	_abs
	mov	x24, x0
	ldr	x8, [x25, #8]
	ldr	x9, [x21]
	sub	x0, x8, x9
	bl	_abs
	add	w8, w0, w24
	cmp	w8, w27
	csel	x26, x25, x26, lo
	csel	w27, w8, w27, lo
	b	LBB0_2
LBB0_5:
	cbz	x26, LBB0_7
; %bb.6:
	mov	w0, #0
	ldur	q0, [x26, #8]
	str	q0, [x21]
	ldr	w8, [x26, #4]
	str	w8, [x20]
	str	w22, [x19]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_m5mols_reg_res,8,3             ; @m5mols_reg_res
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	___find_resolution
.subsections_via_symbols
