	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_nvhdmi_8ch_7x
_patch_nvhdmi_8ch_7x:                   ## @patch_nvhdmi_8ch_7x
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_patch_nvhdmi_2ch
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movl	$8, 4(%rax)
	movq	_nvhdmi_pcm_playback_8ch_7x@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_nvhdmi_7x_init_8ch@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_nvhdmi_8ch_7x_set_info_frame_parameters
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvhdmi_pcm_playback_8ch_7x,4,2 ## @nvhdmi_pcm_playback_8ch_7x
	.comm	_nvhdmi_7x_init_8ch,4,2         ## @nvhdmi_7x_init_8ch
	.no_dead_strip	_patch_nvhdmi_8ch_7x
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_nvhdmi_8ch_7x
_patch_nvhdmi_8ch_7x:                   ; @patch_nvhdmi_8ch_7x
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_patch_nvhdmi_2ch
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	mov	w9, #8
Lloh0:
	adrp	x10, _nvhdmi_pcm_playback_8ch_7x@GOTPAGE
Lloh1:
	ldr	x10, [x10, _nvhdmi_pcm_playback_8ch_7x@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
Lloh3:
	adrp	x8, _nvhdmi_7x_init_8ch@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvhdmi_7x_init_8ch@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #8
	bl	_nvhdmi_8ch_7x_set_info_frame_parameters
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nvhdmi_pcm_playback_8ch_7x,4,2 ; @nvhdmi_pcm_playback_8ch_7x
	.comm	_nvhdmi_7x_init_8ch,4,2         ; @nvhdmi_7x_init_8ch
	.no_dead_strip	_patch_nvhdmi_8ch_7x
.subsections_via_symbols
