	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quality                        ## -- Begin function quality
	.p2align	4, 0x90
_quality:                               ## @quality
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_qual_max@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_2
LBB0_3:
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	callq	*(%rbx)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	imull	$100, -36(%rbp), %eax
	cltd
	idivl	(%r12)
	movl	%eax, %r14d
	jmp	LBB0_5
LBB0_2:
	movq	_qual_max@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	*8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qual_max,4,2                   ## @qual_max
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quality                        ; -- Begin function quality
	.p2align	2
_quality:                               ; @quality
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _qual_max@GOTPAGE
Lloh1:
	ldr	x21, [x21, _qual_max@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #0
	b.le	LBB0_4
LBB0_2:
	ldr	x8, [x20]
	add	x1, sp, #12
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	w8, [sp, #12]
	mov	w9, #100
	mul	w8, w8, w9
	ldr	w9, [x21]
	sdiv	w0, w8, w9
	b	LBB0_6
LBB0_4:
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x1, _qual_max@GOTPAGE
Lloh3:
	ldr	x1, [x1, _qual_max@GOTPAGEOFF]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_2
LBB0_5:
	mov	w0, #-1
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_qual_max,4,2                   ; @qual_max
.subsections_via_symbols
