	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_sb_csp_qsound_transfer
_snd_sb_csp_qsound_transfer:            ## @snd_sb_csp_qsound_transfer
	.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
	movq	%rdi, %rbx
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	leaq	12(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	_SNDRV_SB_CSP_ST_QSOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	24(%rbx), %edi
	movl	$224, %esi
	movl	$1, %edx
	callq	_set_codec_parameter
	movl	4(%rbx), %edx
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	callq	_set_codec_parameter
	movl	24(%rbx), %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_set_codec_parameter
	movl	8(%rbx), %edx
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	callq	_set_codec_parameter
	movl	24(%rbx), %edi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_set_codec_parameter
	xorl	%r15d, %r15d
LBB0_2:
	movq	$0, 16(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_SNDRV_SB_CSP_ST_QSOUND,4,2     ## @SNDRV_SB_CSP_ST_QSOUND
	.no_dead_strip	_snd_sb_csp_qsound_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_sb_csp_qsound_transfer
_snd_sb_csp_qsound_transfer:            ; @snd_sb_csp_qsound_transfer
	.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
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	add	x20, x0, #12
	mov	x0, x20
	bl	_spin_lock
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SNDRV_SB_CSP_ST_QSOUND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNDRV_SB_CSP_ST_QSOUND@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
	mov	w1, #224
	mov	w2, #1
	bl	_set_codec_parameter
	ldr	w0, [x19, #24]
	ldr	w2, [x19, #4]
	mov	w1, #0
	bl	_set_codec_parameter
	ldr	w0, [x19, #24]
	mov	w1, #2
	mov	w2, #0
	bl	_set_codec_parameter
	ldr	w0, [x19, #24]
	ldr	w2, [x19, #8]
	mov	w1, #0
	bl	_set_codec_parameter
	ldr	w0, [x19, #24]
	mov	w1, #3
	mov	w2, #0
	bl	_set_codec_parameter
	mov	w21, #0
	b	LBB0_3
LBB0_2:
	neg	w21, w21
LBB0_3:
	str	xzr, [x19, #16]
	mov	x0, x20
	bl	_spin_unlock
	mov	x0, x21
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_SNDRV_SB_CSP_ST_QSOUND,4,2     ; @SNDRV_SB_CSP_ST_QSOUND
	.no_dead_strip	_snd_sb_csp_qsound_transfer
.subsections_via_symbols
