	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_audio_quality_enabled      ## -- Begin function ghb_audio_quality_enabled
	.p2align	4, 0x90
_ghb_audio_quality_enabled:             ## @ghb_audio_quality_enabled
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_ghb_dict_get_int
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ghb_dict_get_double
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ghb_dict_get
	testl	%r14d, %r14d
	setle	%cl
	testq	%rax, %rax
	setne	%al
	andb	%cl, %al
	movq	_HB_INVALID_AUDIO_QUALITY@GOTPCREL(%rip), %rcx
	movsd	-32(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	ucomisd	(%rcx), %xmm0
	setp	%cl
	setne	%dl
	orb	%cl, %dl
	andb	%al, %dl
	movzbl	%dl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bitrate"

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

	.comm	_HB_INVALID_AUDIO_QUALITY,8,3   ## @HB_INVALID_AUDIO_QUALITY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_audio_quality_enabled      ; -- Begin function ghb_audio_quality_enabled
	.p2align	2
_ghb_audio_quality_enabled:             ; @ghb_audio_quality_enabled
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ghb_dict_get_int
	mov	x20, x0
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ghb_dict_get_double
	fmov	d8, d0
	mov	x0, x19
	mov	x1, x21
	bl	_ghb_dict_get
	cmp	w20, #1
	ccmp	x0, #0, #4, lt
Lloh4:
	adrp	x8, _HB_INVALID_AUDIO_QUALITY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HB_INVALID_AUDIO_QUALITY@GOTPAGEOFF]
	cset	w9, ne
Lloh6:
	ldr	d0, [x8]
	fcmp	d8, d0
	cset	w8, ne
	and	w0, w9, w8
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bitrate"

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

	.comm	_HB_INVALID_AUDIO_QUALITY,8,3   ; @HB_INVALID_AUDIO_QUALITY
.subsections_via_symbols
