	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ap_cs8427_codec_select
_ap_cs8427_codec_select:                ## @ap_cs8427_codec_select
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_ICE1712_IREG_GPIO_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_snd_ice1712_read
	movl	(%r14), %ecx
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_ICE1712_DELTA_AP_CCLK@GOTPCREL(%rip), %rcx
	movq	_ICE1712_DELTA_AP_CS_CODEC@GOTPCREL(%rip), %rdx
	movb	(%rcx), %cl
	orb	%al, %cl
	orb	(%rdx), %cl
	movq	_ICE1712_DELTA_AP_CS_DIGITAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	movq	_ICE1712_DELTA_1010LT_CS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	notb	%cl
	andb	%cl, %al
	movq	_ICE1712_DELTA_1010LT_CCLK@GOTPCREL(%rip), %rcx
	movq	_ICE1712_DELTA_1010LT_CS_CS8427@GOTPCREL(%rip), %rdx
	orb	(%rcx), %al
	orb	(%rdx), %al
	jmp	LBB0_6
LBB0_4:
	movq	_ICE1712_VX442_CCLK@GOTPCREL(%rip), %rcx
	movq	_ICE1712_VX442_CODEC_CHIP_A@GOTPCREL(%rip), %rdx
	movq	_ICE1712_VX442_CODEC_CHIP_B@GOTPCREL(%rip), %rsi
	movb	(%rcx), %cl
	orb	%al, %cl
	orb	(%rdx), %cl
	orb	(%rsi), %cl
	movq	_ICE1712_VX442_CS_DIGITAL@GOTPCREL(%rip), %rax
LBB0_5:
	movb	(%rax), %al
	notb	%al
	andb	%cl, %al
LBB0_6:
	movl	(%rbx), %esi
	movzbl	%al, %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_snd_ice1712_write
	movl	$5, %edi
	callq	_udelay
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_ICE1712_IREG_GPIO_DATA,4,2     ## @ICE1712_IREG_GPIO_DATA
	.comm	_ICE1712_DELTA_1010LT_CS,1,0    ## @ICE1712_DELTA_1010LT_CS
	.comm	_ICE1712_DELTA_1010LT_CCLK,1,0  ## @ICE1712_DELTA_1010LT_CCLK
	.comm	_ICE1712_DELTA_1010LT_CS_CS8427,1,0 ## @ICE1712_DELTA_1010LT_CS_CS8427
	.comm	_ICE1712_DELTA_AP_CCLK,1,0      ## @ICE1712_DELTA_AP_CCLK
	.comm	_ICE1712_DELTA_AP_CS_CODEC,1,0  ## @ICE1712_DELTA_AP_CS_CODEC
	.comm	_ICE1712_DELTA_AP_CS_DIGITAL,1,0 ## @ICE1712_DELTA_AP_CS_DIGITAL
	.comm	_ICE1712_VX442_CCLK,1,0         ## @ICE1712_VX442_CCLK
	.comm	_ICE1712_VX442_CODEC_CHIP_A,1,0 ## @ICE1712_VX442_CODEC_CHIP_A
	.comm	_ICE1712_VX442_CODEC_CHIP_B,1,0 ## @ICE1712_VX442_CODEC_CHIP_B
	.comm	_ICE1712_VX442_CS_DIGITAL,1,0   ## @ICE1712_VX442_CS_DIGITAL
	.no_dead_strip	_ap_cs8427_codec_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ap_cs8427_codec_select
_ap_cs8427_codec_select:                ; @ap_cs8427_codec_select
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _ICE1712_IREG_GPIO_DATA@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ICE1712_IREG_GPIO_DATA@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_snd_ice1712_read
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x8, _ICE1712_DELTA_AP_CCLK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ICE1712_DELTA_AP_CCLK@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh6:
	adrp	x9, _ICE1712_DELTA_AP_CS_CODEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICE1712_DELTA_AP_CS_CODEC@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w8, w0
	orr	w8, w8, w9
Lloh8:
	adrp	x9, _ICE1712_DELTA_AP_CS_DIGITAL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ICE1712_DELTA_AP_CS_DIGITAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x8, _ICE1712_DELTA_1010LT_CS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ICE1712_DELTA_1010LT_CS@GOTPAGEOFF]
	ldrb	w8, [x8]
	bic	w8, w0, w8
Lloh12:
	adrp	x9, _ICE1712_DELTA_1010LT_CCLK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ICE1712_DELTA_1010LT_CCLK@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh14:
	adrp	x10, _ICE1712_DELTA_1010LT_CS_CS8427@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ICE1712_DELTA_1010LT_CS_CS8427@GOTPAGEOFF]
	ldrb	w10, [x10]
	orr	w8, w8, w9
	orr	w0, w8, w10
	b	LBB0_6
LBB0_4:
Lloh16:
	adrp	x8, _ICE1712_VX442_CCLK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ICE1712_VX442_CCLK@GOTPAGEOFF]
Lloh18:
	adrp	x9, _ICE1712_VX442_CODEC_CHIP_A@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ICE1712_VX442_CODEC_CHIP_A@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldrb	w9, [x9]
Lloh20:
	adrp	x10, _ICE1712_VX442_CODEC_CHIP_B@GOTPAGE
Lloh21:
	ldr	x10, [x10, _ICE1712_VX442_CODEC_CHIP_B@GOTPAGEOFF]
	ldrb	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w8, w8, w10
Lloh22:
	adrp	x9, _ICE1712_VX442_CS_DIGITAL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ICE1712_VX442_CS_DIGITAL@GOTPAGEOFF]
LBB0_5:
	ldrb	w9, [x9]
	bic	w0, w8, w9
LBB0_6:
	ldr	w1, [x20]
	and	w20, w0, #0xff
	mov	x0, x19
	mov	x2, x20
	bl	_snd_ice1712_write
	mov	w0, #5
	bl	_udelay
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_ICE1712_IREG_GPIO_DATA,4,2     ; @ICE1712_IREG_GPIO_DATA
	.comm	_ICE1712_DELTA_1010LT_CS,1,0    ; @ICE1712_DELTA_1010LT_CS
	.comm	_ICE1712_DELTA_1010LT_CCLK,1,0  ; @ICE1712_DELTA_1010LT_CCLK
	.comm	_ICE1712_DELTA_1010LT_CS_CS8427,1,0 ; @ICE1712_DELTA_1010LT_CS_CS8427
	.comm	_ICE1712_DELTA_AP_CCLK,1,0      ; @ICE1712_DELTA_AP_CCLK
	.comm	_ICE1712_DELTA_AP_CS_CODEC,1,0  ; @ICE1712_DELTA_AP_CS_CODEC
	.comm	_ICE1712_DELTA_AP_CS_DIGITAL,1,0 ; @ICE1712_DELTA_AP_CS_DIGITAL
	.comm	_ICE1712_VX442_CCLK,1,0         ; @ICE1712_VX442_CCLK
	.comm	_ICE1712_VX442_CODEC_CHIP_A,1,0 ; @ICE1712_VX442_CODEC_CHIP_A
	.comm	_ICE1712_VX442_CODEC_CHIP_B,1,0 ; @ICE1712_VX442_CODEC_CHIP_B
	.comm	_ICE1712_VX442_CS_DIGITAL,1,0   ; @ICE1712_VX442_CS_DIGITAL
	.no_dead_strip	_ap_cs8427_codec_select
.subsections_via_symbols
