	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8960_hw_params
_wm8960_hw_params:                      ## @wm8960_hw_params
	.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	%rsi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movq	_WM8960_IFACE1@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_snd_soc_read
	movl	%eax, %ebx
	andl	$65523, %ebx                    ## imm = 0xFFF3
	movq	%r15, %rdi
	callq	_params_format
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_4
## %bb.2:
	orl	$4, %ebx
	jmp	LBB0_4
LBB0_3:
	orl	$8, %ebx
LBB0_4:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_snd_soc_write
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8960_IFACE1,4,2              ## @WM8960_IFACE1
	.no_dead_strip	_wm8960_hw_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8960_hw_params
_wm8960_hw_params:                      ; @wm8960_hw_params
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x20, [x8]
Lloh0:
	adrp	x21, _WM8960_IFACE1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WM8960_IFACE1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_read
	mov	w8, #65523
	and	w22, w0, w8
	mov	x0, x19
	bl	_params_format
	orr	w8, w22, #0x8
	orr	w9, w22, #0x4
	cmp	w0, #129
	csel	w9, w22, w9, ne
	cmp	w0, #128
	csel	w2, w8, w9, eq
	ldr	w1, [x21]
	mov	x0, x20
	bl	_snd_soc_write
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8960_IFACE1,4,2              ; @WM8960_IFACE1
	.no_dead_strip	_wm8960_hw_params
.subsections_via_symbols
