	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvhdmi_8ch_7x_set_info_frame_parameters
_nvhdmi_8ch_7x_set_info_frame_parameters: ## @nvhdmi_8ch_7x_set_info_frame_parameters
	.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, %ebx
	movq	%rdi, %r14
	leal	-4(%rbx), %eax
	xorl	%r15d, %r15d
	cmpl	$4, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.nvhdmi_8ch_7x_set_info_frame_parameters(%rip), %rcx
	movl	(%rcx,%rax,4), %r15d
LBB0_2:
	movq	_Nv_VERB_SET_Channel_Allocation@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	%r15d, %r8d
	callq	_snd_hda_codec_write
	movl	$114, %eax
	subl	%ebx, %eax
	testl	%ebx, %ebx
	movq	_Nv_VERB_SET_Info_Frame_Checksum@GOTPCREL(%rip), %rcx
	movl	$112, %r8d
	cmovnel	%eax, %r8d
	movl	(%rcx), %ecx
	subl	%r15d, %r8d
	movq	%r14, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_codec_write            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Nv_VERB_SET_Channel_Allocation,4,2 ## @Nv_VERB_SET_Channel_Allocation
	.comm	_Nv_VERB_SET_Info_Frame_Checksum,4,2 ## @Nv_VERB_SET_Info_Frame_Checksum
	.no_dead_strip	_nvhdmi_8ch_7x_set_info_frame_parameters
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.nvhdmi_8ch_7x_set_info_frame_parameters
l_switch.table.nvhdmi_8ch_7x_set_info_frame_parameters:
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	11                              ## 0xb
	.long	0                               ## 0x0
	.long	19                              ## 0x13

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvhdmi_8ch_7x_set_info_frame_parameters
_nvhdmi_8ch_7x_set_info_frame_parameters: ; @nvhdmi_8ch_7x_set_info_frame_parameters
	.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	x20, x1
	mov	x19, x0
	sub	w8, w1, #4
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.nvhdmi_8ch_7x_set_info_frame_parameters@PAGE
Lloh1:
	add	x9, x9, l_switch.table.nvhdmi_8ch_7x_set_info_frame_parameters@PAGEOFF
	ldr	w21, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w21, #0
LBB0_3:
Lloh2:
	adrp	x8, _Nv_VERB_SET_Channel_Allocation@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Nv_VERB_SET_Channel_Allocation@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	x4, x21
	bl	_snd_hda_codec_write
Lloh5:
	adrp	x8, _Nv_VERB_SET_Info_Frame_Checksum@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Nv_VERB_SET_Info_Frame_Checksum@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	w8, #114
	sub	w8, w8, w20
	mov	w9, #112
	cmp	w20, #0
	csel	w8, w9, w8, eq
	sub	w4, w8, w21
	mov	x0, x19
	mov	w1, #1
	mov	w2, #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
	b	_snd_hda_codec_write
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_Nv_VERB_SET_Channel_Allocation,4,2 ; @Nv_VERB_SET_Channel_Allocation
	.comm	_Nv_VERB_SET_Info_Frame_Checksum,4,2 ; @Nv_VERB_SET_Info_Frame_Checksum
	.no_dead_strip	_nvhdmi_8ch_7x_set_info_frame_parameters
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.nvhdmi_8ch_7x_set_info_frame_parameters
l_switch.table.nvhdmi_8ch_7x_set_info_frame_parameters:
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	11                              ; 0xb
	.long	0                               ; 0x0
	.long	19                              ; 0x13

.subsections_via_symbols
