	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ak435X_reset
_ak435X_reset:                          ## @ak435X_reset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	$2, %r14d
	testl	%esi, %esi
	je	LBB0_1
LBB0_5:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_akm4xxx_write              ## TAILCALL
LBB0_1:
	movl	%edx, %r15d
	movl	$1, %r14d
	testb	%r15b, %r15b
	je	LBB0_5
## %bb.2:
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_snd_akm4xxx_get
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%eax, %ecx
	callq	_snd_akm4xxx_write
	leal	-1(%r15), %eax
	cmpb	$2, %al
	jb	LBB0_5
## %bb.3:
	movzbl	%r15b, %r15d
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%bl, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_snd_akm4xxx_get
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_snd_akm4xxx_write
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ak435X_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ak435X_reset
_ak435X_reset:                          ; @ak435X_reset
	.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, x0
	cbz	w1, LBB0_2
; %bb.1:
	mov	w3, #2
	b	LBB0_7
LBB0_2:
	mov	x20, x2
	cbz	w2, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_snd_akm4xxx_get
	mov	x3, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_snd_akm4xxx_write
	sub	w8, w20, #1
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.4:
	mov	w21, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	and	w2, w21, #0xff
	mov	x0, x19
	mov	w1, #0
	bl	_snd_akm4xxx_get
	mov	x3, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_snd_akm4xxx_write
	add	w21, w21, #1
	cmp	w20, w21
	b.ne	LBB0_5
LBB0_6:
	mov	w3, #1
LBB0_7:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	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
	b	_snd_akm4xxx_write
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ak435X_reset
.subsections_via_symbols
