	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_hdmi_hw_aud_set_channel_swap
_mtk_hdmi_hw_aud_set_channel_swap:      ## @mtk_hdmi_hw_aud_set_channel_swap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	l_switch.table.mtk_hdmi_hw_aud_set_channel_swap(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_LFE_CC_SWAP@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	_GRL_CH_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$255, %ecx
	popq	%rbp
	jmp	_mtk_hdmi_mask                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LR_SWAP,4,2                    ## @LR_SWAP
	.comm	_LFE_CC_SWAP,4,2                ## @LFE_CC_SWAP
	.comm	_LSRS_SWAP,4,2                  ## @LSRS_SWAP
	.comm	_RLS_RRS_SWAP,4,2               ## @RLS_RRS_SWAP
	.comm	_LR_STATUS_SWAP,4,2             ## @LR_STATUS_SWAP
	.comm	_GRL_CH_SWAP,4,2                ## @GRL_CH_SWAP
	.no_dead_strip	_mtk_hdmi_hw_aud_set_channel_swap
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mtk_hdmi_hw_aud_set_channel_swap
l_switch.table.mtk_hdmi_hw_aud_set_channel_swap:
	.quad	_RLS_RRS_SWAP
	.quad	_LSRS_SWAP
	.quad	_LR_STATUS_SWAP
	.quad	_LR_SWAP
	.quad	_LFE_CC_SWAP

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_hdmi_hw_aud_set_channel_swap
_mtk_hdmi_hw_aud_set_channel_swap:      ; @mtk_hdmi_hw_aud_set_channel_swap
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.mtk_hdmi_hw_aud_set_channel_swap@PAGE
Lloh1:
	add	x9, x9, l_switch.table.mtk_hdmi_hw_aud_set_channel_swap@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _LFE_CC_SWAP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LFE_CC_SWAP@GOTPAGEOFF]
LBB0_3:
Lloh4:
	adrp	x9, _GRL_CH_SWAP@GOTPAGE
Lloh5:
	ldr	x9, [x9, _GRL_CH_SWAP@GOTPAGEOFF]
	ldr	w2, [x8]
Lloh6:
	ldr	w1, [x9]
	mov	w3, #255
	b	_mtk_hdmi_mask
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LR_SWAP,4,2                    ; @LR_SWAP
	.comm	_LFE_CC_SWAP,4,2                ; @LFE_CC_SWAP
	.comm	_LSRS_SWAP,4,2                  ; @LSRS_SWAP
	.comm	_RLS_RRS_SWAP,4,2               ; @RLS_RRS_SWAP
	.comm	_LR_STATUS_SWAP,4,2             ; @LR_STATUS_SWAP
	.comm	_GRL_CH_SWAP,4,2                ; @GRL_CH_SWAP
	.no_dead_strip	_mtk_hdmi_hw_aud_set_channel_swap
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mtk_hdmi_hw_aud_set_channel_swap
l_switch.table.mtk_hdmi_hw_aud_set_channel_swap:
	.quad	_RLS_RRS_SWAP
	.quad	_LSRS_SWAP
	.quad	_LR_STATUS_SWAP
	.quad	_LR_SWAP
	.quad	_LFE_CC_SWAP

.subsections_via_symbols
