	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_i2s_blk_set_audio_input ## -- Begin function cx231xx_i2s_blk_set_audio_input
	.p2align	4, 0x90
_cx231xx_i2s_blk_set_audio_input:       ## @cx231xx_i2s_blk_set_audio_input
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	cmpl	$129, %esi
	jne	LBB0_2
## %bb.1:
	movq	_I2S_BLK_DEVICE_ADDRESS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_CH_PWR_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_cx231xx_write_i2c_data
	movl	(%r15), %esi
	movq	_CH_PWR_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	movl	$128, %r8d
	movl	$1, %r9d
	callq	_cx231xx_write_i2c_data
LBB0_2:
	movl	%r14d, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2S_BLK_DEVICE_ADDRESS,4,2     ## @I2S_BLK_DEVICE_ADDRESS
	.comm	_CH_PWR_CTRL2,4,2               ## @CH_PWR_CTRL2
	.comm	_CH_PWR_CTRL1,4,2               ## @CH_PWR_CTRL1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx231xx_i2s_blk_set_audio_input ; -- Begin function cx231xx_i2s_blk_set_audio_input
	.p2align	2
_cx231xx_i2s_blk_set_audio_input:       ; @cx231xx_i2s_blk_set_audio_input
	.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
	mov	x20, x0
	cmp	w1, #129
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x21, _I2S_BLK_DEVICE_ADDRESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I2S_BLK_DEVICE_ADDRESS@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _CH_PWR_CTRL2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CH_PWR_CTRL2@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	bl	_cx231xx_write_i2c_data
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _CH_PWR_CTRL1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CH_PWR_CTRL1@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #1
	mov	w4, #128
	mov	w5, #1
	bl	_cx231xx_write_i2c_data
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	str	w19, [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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I2S_BLK_DEVICE_ADDRESS,4,2     ; @I2S_BLK_DEVICE_ADDRESS
	.comm	_CH_PWR_CTRL2,4,2               ; @CH_PWR_CTRL2
	.comm	_CH_PWR_CTRL1,4,2               ; @CH_PWR_CTRL1
.subsections_via_symbols
