	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chipio_set_control_param
_chipio_set_control_param:              ## @chipio_set_control_param
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	cmpl	$31, %esi
	ja	LBB0_2
## %bb.1:
	cmpl	$7, %ebx
	jg	LBB0_2
## %bb.5:
	shll	$5, %ebx
	orl	%r12d, %ebx
	movq	_WIDGET_CHIP_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VENDOR_CHIPIO_PARAM_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_codec_write            ## TAILCALL
LBB0_2:
	movq	(%r14), %r15
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	_VENDOR_CHIPIO_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_chipio_send
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_WIDGET_CHIP_CTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_VENDOR_CHIPIO_PARAM_EX_ID_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%r12d, %r8d
	callq	_snd_hda_codec_write
	movl	(%r13), %esi
	movq	_VENDOR_CHIPIO_PARAM_EX_VALUE_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	callq	_snd_hda_codec_write
LBB0_4:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WIDGET_CHIP_CTRL,4,2           ## @WIDGET_CHIP_CTRL
	.comm	_VENDOR_CHIPIO_PARAM_SET,4,2    ## @VENDOR_CHIPIO_PARAM_SET
	.comm	_VENDOR_CHIPIO_STATUS,4,2       ## @VENDOR_CHIPIO_STATUS
	.comm	_VENDOR_CHIPIO_PARAM_EX_ID_SET,4,2 ## @VENDOR_CHIPIO_PARAM_EX_ID_SET
	.comm	_VENDOR_CHIPIO_PARAM_EX_VALUE_SET,4,2 ## @VENDOR_CHIPIO_PARAM_EX_VALUE_SET
	.no_dead_strip	_chipio_set_control_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chipio_set_control_param
_chipio_set_control_param:              ; @chipio_set_control_param
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	cmp	w1, #31
	b.hi	LBB0_3
; %bb.1:
	cmp	w20, #7
	b.gt	LBB0_3
; %bb.2:
	orr	w4, w22, w20, lsl #5
Lloh0:
	adrp	x8, _WIDGET_CHIP_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WIDGET_CHIP_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _VENDOR_CHIPIO_PARAM_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VENDOR_CHIPIO_PARAM_SET@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_snd_hda_codec_write
LBB0_3:
	ldr	x21, [x19]
	mov	x0, x21
	bl	_mutex_lock
Lloh6:
	adrp	x8, _VENDOR_CHIPIO_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VENDOR_CHIPIO_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_chipio_send
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x23, _WIDGET_CHIP_CTRL@GOTPAGE
Lloh10:
	ldr	x23, [x23, _WIDGET_CHIP_CTRL@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh11:
	adrp	x8, _VENDOR_CHIPIO_PARAM_EX_ID_SET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VENDOR_CHIPIO_PARAM_EX_ID_SET@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x22
	bl	_snd_hda_codec_write
	ldr	w1, [x23]
Lloh14:
	adrp	x8, _VENDOR_CHIPIO_PARAM_EX_VALUE_SET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VENDOR_CHIPIO_PARAM_EX_VALUE_SET@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x4, x20
	bl	_snd_hda_codec_write
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WIDGET_CHIP_CTRL,4,2           ; @WIDGET_CHIP_CTRL
	.comm	_VENDOR_CHIPIO_PARAM_SET,4,2    ; @VENDOR_CHIPIO_PARAM_SET
	.comm	_VENDOR_CHIPIO_STATUS,4,2       ; @VENDOR_CHIPIO_STATUS
	.comm	_VENDOR_CHIPIO_PARAM_EX_ID_SET,4,2 ; @VENDOR_CHIPIO_PARAM_EX_ID_SET
	.comm	_VENDOR_CHIPIO_PARAM_EX_VALUE_SET,4,2 ; @VENDOR_CHIPIO_PARAM_EX_VALUE_SET
	.no_dead_strip	_chipio_set_control_param
.subsections_via_symbols
