	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_mixdown_get_best            ## -- Begin function hb_mixdown_get_best
	.p2align	4, 0x90
_hb_mixdown_get_best:                   ## @hb_mixdown_get_best
	.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	_HB_ACODEC_PASS_FLAG@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_HB_AMIXDOWN_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_9:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%edx, %r13d
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_HB_INVALID_AMIXDOWN@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	callq	_hb_mixdown_get_next
	movq	%rax, %rdi
	callq	_hb_mixdown_get_next
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_hb_mixdown_get_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	cmpl	%r13d, (%r12)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r13d, %edi
	jg	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_hb_mixdown_is_supported
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_ACODEC_PASS_FLAG,4,2        ## @HB_ACODEC_PASS_FLAG
	.comm	_HB_AMIXDOWN_NONE,4,2           ## @HB_AMIXDOWN_NONE
	.comm	_HB_INVALID_AMIXDOWN,4,2        ## @HB_INVALID_AMIXDOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_mixdown_get_best            ; -- Begin function hb_mixdown_get_best
	.p2align	2
_hb_mixdown_get_best:                   ; @hb_mixdown_get_best
	.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
Lloh0:
	adrp	x8, _HB_ACODEC_PASS_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HB_ACODEC_PASS_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _HB_AMIXDOWN_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HB_AMIXDOWN_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
LBB0_2:
	mov	x0, x22
	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
LBB0_3:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh6:
	adrp	x24, _HB_INVALID_AMIXDOWN@GOTPAGE
Lloh7:
	ldr	x24, [x24, _HB_INVALID_AMIXDOWN@GOTPAGEOFF]
	ldr	w22, [x24]
	mov	x0, #0
	bl	_hb_mixdown_get_next
	bl	_hb_mixdown_get_next
	cbz	x0, LBB0_2
; %bb.4:
	mov	x23, x0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_hb_mixdown_get_next
	mov	x23, x0
	cbz	x0, LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	ldr	w0, [x23]
	cmp	w8, w19
	ccmp	w0, w19, #4, ne
	b.gt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x21
	mov	x2, x20
	bl	_hb_mixdown_is_supported
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w22, [x23]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_ACODEC_PASS_FLAG,4,2        ; @HB_ACODEC_PASS_FLAG
	.comm	_HB_AMIXDOWN_NONE,4,2           ; @HB_AMIXDOWN_NONE
	.comm	_HB_INVALID_AMIXDOWN,4,2        ; @HB_INVALID_AMIXDOWN
.subsections_via_symbols
