	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function obtain_quality
_obtain_quality:                        ## @obtain_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	%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
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	(%rdi), %rcx
	movq	_YOML_TYPE_SCALAR@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.1:
	movq	%r8, %r12
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	8(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rdx
	callq	_sscanf
	movl	%eax, %ecx
	movl	$-1, %eax
	cmpl	$1, %ecx
	jne	LBB0_8
## %bb.5:
	movl	-44(%rbp), %r13d
	cmpl	%r15d, %r13d
	jl	LBB0_8
## %bb.6:
	cmpl	%r14d, %r13d
	jle	LBB0_7
	jmp	LBB0_8
LBB0_2:
	movl	$-1, %r13d
LBB0_7:
	movl	%r13d, (%r12)
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_YOML_TYPE_SCALAR,8,3           ## @YOML_TYPE_SCALAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OFF"

L_.str.1:                               ## @.str.1
	.asciz	"ON"

L_.str.2:                               ## @.str.2
	.asciz	"%d"

	.no_dead_strip	_obtain_quality
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function obtain_quality
_obtain_quality:                        ; @obtain_quality
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _YOML_TYPE_SCALAR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _YOML_TYPE_SCALAR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w0, [x23, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_8
; %bb.3:
	ldr	w0, [x23, #8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	w21, [sp, #12]
	mov	w0, #-1
	cmp	w21, w22
	b.lt	LBB0_9
; %bb.5:
	cmp	w21, w20
	b.le	LBB0_8
	b	LBB0_9
LBB0_6:
	mov	w0, #-1
	b	LBB0_9
LBB0_7:
	mov	w21, #-1
LBB0_8:
	mov	w0, #0
	str	w21, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_YOML_TYPE_SCALAR,8,3           ; @YOML_TYPE_SCALAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OFF"

l_.str.1:                               ; @.str.1
	.asciz	"ON"

l_.str.2:                               ; @.str.2
	.asciz	"%d"

	.no_dead_strip	_obtain_quality
.subsections_via_symbols
