	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_nvhdmi_2ch
_patch_nvhdmi_2ch:                      ## @patch_nvhdmi_2ch
	.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
	movq	_nvhdmi_master_con_nid_7x@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_nvhdmi_master_pin_nid_7x@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_patch_simple_hdmi
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_nvhdmi_7x_init_2ch@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	(%rbx), %rax
	movq	_SUPPORTED_RATES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_SUPPORTED_MAXBPS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_SUPPORTED_FORMATS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvhdmi_master_con_nid_7x,4,2   ## @nvhdmi_master_con_nid_7x
	.comm	_nvhdmi_master_pin_nid_7x,4,2   ## @nvhdmi_master_pin_nid_7x
	.comm	_nvhdmi_7x_init_2ch,4,2         ## @nvhdmi_7x_init_2ch
	.comm	_SUPPORTED_RATES,4,2            ## @SUPPORTED_RATES
	.comm	_SUPPORTED_MAXBPS,4,2           ## @SUPPORTED_MAXBPS
	.comm	_SUPPORTED_FORMATS,4,2          ## @SUPPORTED_FORMATS
	.no_dead_strip	_patch_nvhdmi_2ch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_nvhdmi_2ch
_patch_nvhdmi_2ch:                      ; @patch_nvhdmi_2ch
	.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
Lloh0:
	adrp	x8, _nvhdmi_master_con_nid_7x@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvhdmi_master_con_nid_7x@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _nvhdmi_master_pin_nid_7x@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvhdmi_master_pin_nid_7x@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_patch_simple_hdmi
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w0, #0
Lloh6:
	adrp	x8, _nvhdmi_7x_init_2ch@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nvhdmi_7x_init_2ch@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _SUPPORTED_RATES@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SUPPORTED_RATES@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w9, [x8, #8]
Lloh12:
	adrp	x9, _SUPPORTED_MAXBPS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SUPPORTED_MAXBPS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _SUPPORTED_FORMATS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _SUPPORTED_FORMATS@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_nvhdmi_master_con_nid_7x,4,2   ; @nvhdmi_master_con_nid_7x
	.comm	_nvhdmi_master_pin_nid_7x,4,2   ; @nvhdmi_master_pin_nid_7x
	.comm	_nvhdmi_7x_init_2ch,4,2         ; @nvhdmi_7x_init_2ch
	.comm	_SUPPORTED_RATES,4,2            ; @SUPPORTED_RATES
	.comm	_SUPPORTED_MAXBPS,4,2           ; @SUPPORTED_MAXBPS
	.comm	_SUPPORTED_FORMATS,4,2          ; @SUPPORTED_FORMATS
	.no_dead_strip	_patch_nvhdmi_2ch
.subsections_via_symbols
