	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_tx_hdcp_config
_hdmi_tx_hdcp_config:                   ## @hdmi_tx_hdcp_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_HIGH@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r14d
	movq	_HDMI_A_HDCPCFG0_RXDETECT_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_A_HDCPCFG0_RXDETECT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HDMI_A_HDCPCFG0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_hdmi_modb
	movq	_HDMI_A_VIDPOLCFG_DATAENPOL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HDMI_A_VIDPOLCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_hdmi_modb
	movq	_HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HDMI_A_HDCPCFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hdmi_modb                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_HIGH,4,2 ## @HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_HIGH
	.comm	_HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_LOW,4,2 ## @HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_LOW
	.comm	_HDMI_A_HDCPCFG0_RXDETECT_DISABLE,4,2 ## @HDMI_A_HDCPCFG0_RXDETECT_DISABLE
	.comm	_HDMI_A_HDCPCFG0_RXDETECT_MASK,4,2 ## @HDMI_A_HDCPCFG0_RXDETECT_MASK
	.comm	_HDMI_A_HDCPCFG0,4,2            ## @HDMI_A_HDCPCFG0
	.comm	_HDMI_A_VIDPOLCFG_DATAENPOL_MASK,4,2 ## @HDMI_A_VIDPOLCFG_DATAENPOL_MASK
	.comm	_HDMI_A_VIDPOLCFG,4,2           ## @HDMI_A_VIDPOLCFG
	.comm	_HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_DISABLE,4,2 ## @HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_DISABLE
	.comm	_HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_MASK,4,2 ## @HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_MASK
	.comm	_HDMI_A_HDCPCFG1,4,2            ## @HDMI_A_HDCPCFG1
	.no_dead_strip	_hdmi_tx_hdcp_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_tx_hdcp_config
_hdmi_tx_hdcp_config:                   ; @hdmi_tx_hdcp_config
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_LOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_LOW@GOTPAGEOFF]
Lloh2:
	adrp	x10, _HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_HIGH@GOTPAGE
Lloh3:
	ldr	x10, [x10, _HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_HIGH@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w20, [x8]
Lloh4:
	adrp	x8, _HDMI_A_HDCPCFG0_RXDETECT_DISABLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HDMI_A_HDCPCFG0_RXDETECT_DISABLE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _HDMI_A_HDCPCFG0_RXDETECT_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDMI_A_HDCPCFG0_RXDETECT_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _HDMI_A_HDCPCFG0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HDMI_A_HDCPCFG0@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	bl	_hdmi_modb
Lloh13:
	adrp	x8, _HDMI_A_VIDPOLCFG_DATAENPOL_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _HDMI_A_VIDPOLCFG_DATAENPOL_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _HDMI_A_VIDPOLCFG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HDMI_A_VIDPOLCFG@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_hdmi_modb
Lloh19:
	adrp	x8, _HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_DISABLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_DISABLE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_MASK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_MASK@GOTPAGEOFF]
Lloh24:
	adrp	x9, _HDMI_A_HDCPCFG1@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HDMI_A_HDCPCFG1@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	ldr	w3, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hdmi_modb
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_HIGH,4,2 ; @HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_HIGH
	.comm	_HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_LOW,4,2 ; @HDMI_A_VIDPOLCFG_DATAENPOL_ACTIVE_LOW
	.comm	_HDMI_A_HDCPCFG0_RXDETECT_DISABLE,4,2 ; @HDMI_A_HDCPCFG0_RXDETECT_DISABLE
	.comm	_HDMI_A_HDCPCFG0_RXDETECT_MASK,4,2 ; @HDMI_A_HDCPCFG0_RXDETECT_MASK
	.comm	_HDMI_A_HDCPCFG0,4,2            ; @HDMI_A_HDCPCFG0
	.comm	_HDMI_A_VIDPOLCFG_DATAENPOL_MASK,4,2 ; @HDMI_A_VIDPOLCFG_DATAENPOL_MASK
	.comm	_HDMI_A_VIDPOLCFG,4,2           ; @HDMI_A_VIDPOLCFG
	.comm	_HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_DISABLE,4,2 ; @HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_DISABLE
	.comm	_HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_MASK,4,2 ; @HDMI_A_HDCPCFG1_ENCRYPTIONDISABLE_MASK
	.comm	_HDMI_A_HDCPCFG1,4,2            ; @HDMI_A_HDCPCFG1
	.no_dead_strip	_hdmi_tx_hdcp_config
.subsections_via_symbols
