	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_ff_mixdown_xlat             ## -- Begin function hb_ff_mixdown_xlat
	.p2align	4, 0x90
_hb_ff_mixdown_xlat:                    ## @hb_ff_mixdown_xlat
	.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	%rsi, %r14
	movl	%edi, %esi
	movq	_AV_MATRIX_ENCODING_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leal	-128(%rsi), %eax
	cmpl	$10, %eax
	ja	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_AV_CH_LAYOUT_MONO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_hb_log
	testq	%r14, %r14
	jne	LBB0_13
	jmp	LBB0_14
LBB0_5:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_AV_MATRIX_ENCODING_DPLII@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_AV_CH_LAYOUT_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_AV_MATRIX_ENCODING_DOLBY@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r15d
	testq	%r14, %r14
	jne	LBB0_13
	jmp	LBB0_14
LBB0_9:
	movq	_AV_CH_LAYOUT_7POINT1@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_10:
	movq	_AV_CH_LAYOUT_6POINT1@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	movq	_AV_CH_LAYOUT_5POINT1_BACK@GOTPCREL(%rip), %rax
	movq	_AV_CH_FRONT_LEFT_OF_CENTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_AV_CH_FRONT_RIGHT_OF_CENTER@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_12:
	testq	%r14, %r14
	je	LBB0_14
LBB0_13:
	movl	%r15d, (%r14)
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_AV_CH_LAYOUT_5POINT1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	testq	%r14, %r14
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_AV_MATRIX_ENCODING_NONE,4,2    ## @AV_MATRIX_ENCODING_NONE
	.comm	_AV_CH_LAYOUT_MONO,4,2          ## @AV_CH_LAYOUT_MONO
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ## @AV_CH_LAYOUT_STEREO
	.comm	_AV_MATRIX_ENCODING_DOLBY,4,2   ## @AV_MATRIX_ENCODING_DOLBY
	.comm	_AV_MATRIX_ENCODING_DPLII,4,2   ## @AV_MATRIX_ENCODING_DPLII
	.comm	_AV_CH_LAYOUT_5POINT1,4,2       ## @AV_CH_LAYOUT_5POINT1
	.comm	_AV_CH_LAYOUT_6POINT1,4,2       ## @AV_CH_LAYOUT_6POINT1
	.comm	_AV_CH_LAYOUT_7POINT1,4,2       ## @AV_CH_LAYOUT_7POINT1
	.comm	_AV_CH_LAYOUT_5POINT1_BACK,4,2  ## @AV_CH_LAYOUT_5POINT1_BACK
	.comm	_AV_CH_FRONT_LEFT_OF_CENTER,4,2 ## @AV_CH_FRONT_LEFT_OF_CENTER
	.comm	_AV_CH_FRONT_RIGHT_OF_CENTER,4,2 ## @AV_CH_FRONT_RIGHT_OF_CENTER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hb_ff_mixdown_xlat: unsupported mixdown %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_ff_mixdown_xlat             ; -- Begin function hb_ff_mixdown_xlat
	.p2align	2
_hb_ff_mixdown_xlat:                    ; @hb_ff_mixdown_xlat
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _AV_MATRIX_ENCODING_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_MATRIX_ENCODING_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	sub	w8, w0, #128
	cmp	w8, #10
	b.hi	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x8, _AV_CH_LAYOUT_MONO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_CH_LAYOUT_MONO@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	cbnz	x19, LBB0_11
	b	LBB0_12
LBB0_3:
	mov	x1, x0
Lloh8:
	adrp	x8, _AV_CH_LAYOUT_STEREO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
	cbnz	x19, LBB0_11
	b	LBB0_12
LBB0_4:
Lloh13:
	adrp	x8, _AV_CH_LAYOUT_STEREO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
	cbnz	x19, LBB0_11
	b	LBB0_12
LBB0_5:
Lloh16:
	adrp	x8, _AV_CH_LAYOUT_STEREO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
Lloh19:
	adrp	x8, _AV_MATRIX_ENCODING_DPLII@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_MATRIX_ENCODING_DPLII@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
	cbnz	x19, LBB0_11
	b	LBB0_12
LBB0_6:
Lloh22:
	adrp	x8, _AV_CH_LAYOUT_STEREO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AV_CH_LAYOUT_STEREO@GOTPAGEOFF]
Lloh24:
	ldr	w20, [x8]
Lloh25:
	adrp	x8, _AV_MATRIX_ENCODING_DOLBY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_MATRIX_ENCODING_DOLBY@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
	cbnz	x19, LBB0_11
	b	LBB0_12
LBB0_7:
Lloh28:
	adrp	x8, _AV_CH_LAYOUT_7POINT1@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_CH_LAYOUT_7POINT1@GOTPAGEOFF]
Lloh30:
	ldr	w20, [x8]
	cbnz	x19, LBB0_11
	b	LBB0_12
LBB0_8:
Lloh31:
	adrp	x8, _AV_CH_LAYOUT_6POINT1@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AV_CH_LAYOUT_6POINT1@GOTPAGEOFF]
Lloh33:
	ldr	w20, [x8]
	cbnz	x19, LBB0_11
	b	LBB0_12
LBB0_9:
Lloh34:
	adrp	x8, _AV_CH_LAYOUT_5POINT1_BACK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AV_CH_LAYOUT_5POINT1_BACK@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _AV_CH_FRONT_LEFT_OF_CENTER@GOTPAGE
Lloh38:
	ldr	x9, [x9, _AV_CH_FRONT_LEFT_OF_CENTER@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh40:
	adrp	x9, _AV_CH_FRONT_RIGHT_OF_CENTER@GOTPAGE
Lloh41:
	ldr	x9, [x9, _AV_CH_FRONT_RIGHT_OF_CENTER@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w20, w8, w9
LBB0_10:
	cbz	x19, LBB0_12
LBB0_11:
	str	w21, [x19]
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh43:
	adrp	x8, _AV_CH_LAYOUT_5POINT1@GOTPAGE
Lloh44:
	ldr	x8, [x8, _AV_CH_LAYOUT_5POINT1@GOTPAGEOFF]
Lloh45:
	ldr	w20, [x8]
	cbnz	x19, LBB0_11
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_AV_MATRIX_ENCODING_NONE,4,2    ; @AV_MATRIX_ENCODING_NONE
	.comm	_AV_CH_LAYOUT_MONO,4,2          ; @AV_CH_LAYOUT_MONO
	.comm	_AV_CH_LAYOUT_STEREO,4,2        ; @AV_CH_LAYOUT_STEREO
	.comm	_AV_MATRIX_ENCODING_DOLBY,4,2   ; @AV_MATRIX_ENCODING_DOLBY
	.comm	_AV_MATRIX_ENCODING_DPLII,4,2   ; @AV_MATRIX_ENCODING_DPLII
	.comm	_AV_CH_LAYOUT_5POINT1,4,2       ; @AV_CH_LAYOUT_5POINT1
	.comm	_AV_CH_LAYOUT_6POINT1,4,2       ; @AV_CH_LAYOUT_6POINT1
	.comm	_AV_CH_LAYOUT_7POINT1,4,2       ; @AV_CH_LAYOUT_7POINT1
	.comm	_AV_CH_LAYOUT_5POINT1_BACK,4,2  ; @AV_CH_LAYOUT_5POINT1_BACK
	.comm	_AV_CH_FRONT_LEFT_OF_CENTER,4,2 ; @AV_CH_FRONT_LEFT_OF_CENTER
	.comm	_AV_CH_FRONT_RIGHT_OF_CENTER,4,2 ; @AV_CH_FRONT_RIGHT_OF_CENTER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hb_ff_mixdown_xlat: unsupported mixdown %d"

.subsections_via_symbols
