	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_infoframe_init           ## -- Begin function intel_infoframe_init
	.p2align	4, 0x90
_intel_infoframe_init:                  ## @intel_infoframe_init
	.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
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_to_i915
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_VALLEYVIEW
	movq	_vlv_infoframes_enabled@GOTPCREL(%rip), %r15
	movq	_vlv_set_infoframes@GOTPCREL(%rip), %r13
	movq	_vlv_read_infoframe@GOTPCREL(%rip), %r12
	movq	_vlv_write_infoframe@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	%r14, %rdi
	callq	_IS_CHERRYVIEW
	movq	_vlv_write_infoframe@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	movq	%r14, %rdi
	callq	_IS_G4X
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_g4x_infoframes_enabled@GOTPCREL(%rip), %r15
	movq	_g4x_set_infoframes@GOTPCREL(%rip), %r13
	movq	_g4x_read_infoframe@GOTPCREL(%rip), %r12
	movq	_g4x_write_infoframe@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	movq	%r14, %rdi
	callq	_HAS_DDI
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	cmpq	$0, 16(%rbx)
	movq	_lspcon_write_infoframe@GOTPCREL(%rip), %rcx
	cmoveq	_hsw_write_infoframe@GOTPCREL(%rip), %rcx
	movq	_lspcon_read_infoframe@GOTPCREL(%rip), %r12
	cmoveq	_hsw_read_infoframe@GOTPCREL(%rip), %r12
	movq	_lspcon_set_infoframes@GOTPCREL(%rip), %r13
	cmoveq	_hsw_set_infoframes@GOTPCREL(%rip), %r13
	movq	_lspcon_infoframes_enabled@GOTPCREL(%rip), %r15
	cmoveq	_hsw_infoframes_enabled@GOTPCREL(%rip), %r15
	jmp	LBB0_7
LBB0_6:
	movq	%r14, %rdi
	callq	_HAS_PCH_IBX
	testq	%rax, %rax
	movq	_ibx_write_infoframe@GOTPCREL(%rip), %rcx
	cmoveq	_cpt_write_infoframe@GOTPCREL(%rip), %rcx
	movq	_ibx_read_infoframe@GOTPCREL(%rip), %r12
	cmoveq	_cpt_read_infoframe@GOTPCREL(%rip), %r12
	movq	_ibx_set_infoframes@GOTPCREL(%rip), %r13
	cmoveq	_cpt_set_infoframes@GOTPCREL(%rip), %r13
	movq	_ibx_infoframes_enabled@GOTPCREL(%rip), %r15
	cmoveq	_cpt_infoframes_enabled@GOTPCREL(%rip), %r15
LBB0_7:
	movl	(%rcx), %eax
	movl	%eax, 12(%rbx)
	movl	(%r12), %eax
	movl	%eax, 8(%rbx)
	movl	(%r13), %eax
	movl	%eax, 4(%rbx)
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vlv_write_infoframe,4,2        ## @vlv_write_infoframe
	.comm	_vlv_read_infoframe,4,2         ## @vlv_read_infoframe
	.comm	_vlv_set_infoframes,4,2         ## @vlv_set_infoframes
	.comm	_vlv_infoframes_enabled,4,2     ## @vlv_infoframes_enabled
	.comm	_g4x_write_infoframe,4,2        ## @g4x_write_infoframe
	.comm	_g4x_read_infoframe,4,2         ## @g4x_read_infoframe
	.comm	_g4x_set_infoframes,4,2         ## @g4x_set_infoframes
	.comm	_g4x_infoframes_enabled,4,2     ## @g4x_infoframes_enabled
	.comm	_lspcon_write_infoframe,4,2     ## @lspcon_write_infoframe
	.comm	_lspcon_read_infoframe,4,2      ## @lspcon_read_infoframe
	.comm	_lspcon_set_infoframes,4,2      ## @lspcon_set_infoframes
	.comm	_lspcon_infoframes_enabled,4,2  ## @lspcon_infoframes_enabled
	.comm	_hsw_write_infoframe,4,2        ## @hsw_write_infoframe
	.comm	_hsw_read_infoframe,4,2         ## @hsw_read_infoframe
	.comm	_hsw_set_infoframes,4,2         ## @hsw_set_infoframes
	.comm	_hsw_infoframes_enabled,4,2     ## @hsw_infoframes_enabled
	.comm	_ibx_write_infoframe,4,2        ## @ibx_write_infoframe
	.comm	_ibx_read_infoframe,4,2         ## @ibx_read_infoframe
	.comm	_ibx_set_infoframes,4,2         ## @ibx_set_infoframes
	.comm	_ibx_infoframes_enabled,4,2     ## @ibx_infoframes_enabled
	.comm	_cpt_write_infoframe,4,2        ## @cpt_write_infoframe
	.comm	_cpt_read_infoframe,4,2         ## @cpt_read_infoframe
	.comm	_cpt_set_infoframes,4,2         ## @cpt_set_infoframes
	.comm	_cpt_infoframes_enabled,4,2     ## @cpt_infoframes_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_infoframe_init           ; -- Begin function intel_infoframe_init
	.p2align	2
_intel_infoframe_init:                  ; @intel_infoframe_init
	.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	w0, [x0, #24]
	bl	_to_i915
	mov	x20, x0
	bl	_IS_VALLEYVIEW
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x10, _vlv_infoframes_enabled@GOTPAGE
Lloh1:
	ldr	x10, [x10, _vlv_infoframes_enabled@GOTPAGEOFF]
Lloh2:
	adrp	x9, _vlv_set_infoframes@GOTPAGE
Lloh3:
	ldr	x9, [x9, _vlv_set_infoframes@GOTPAGEOFF]
Lloh4:
	adrp	x8, _vlv_read_infoframe@GOTPAGE
Lloh5:
	ldr	x8, [x8, _vlv_read_infoframe@GOTPAGEOFF]
Lloh6:
	adrp	x11, _vlv_write_infoframe@GOTPAGE
Lloh7:
	ldr	x11, [x11, _vlv_write_infoframe@GOTPAGEOFF]
LBB0_3:
	ldr	w11, [x11]
	ldr	w8, [x8]
	stp	w8, w11, [x19, #8]
	ldr	w8, [x9]
	ldr	w9, [x10]
	stp	w9, w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x20
	bl	_IS_G4X
	cbz	x0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x10, _g4x_infoframes_enabled@GOTPAGE
Lloh9:
	ldr	x10, [x10, _g4x_infoframes_enabled@GOTPAGEOFF]
Lloh10:
	adrp	x9, _g4x_set_infoframes@GOTPAGE
Lloh11:
	ldr	x9, [x9, _g4x_set_infoframes@GOTPAGEOFF]
Lloh12:
	adrp	x8, _g4x_read_infoframe@GOTPAGE
Lloh13:
	ldr	x8, [x8, _g4x_read_infoframe@GOTPAGEOFF]
Lloh14:
	adrp	x11, _g4x_write_infoframe@GOTPAGE
Lloh15:
	ldr	x11, [x11, _g4x_write_infoframe@GOTPAGEOFF]
	b	LBB0_3
LBB0_6:
	mov	x0, x20
	bl	_HAS_DDI
	cbz	x0, LBB0_8
; %bb.7:
Lloh16:
	adrp	x8, _lspcon_write_infoframe@GOTPAGE
Lloh17:
	ldr	x8, [x8, _lspcon_write_infoframe@GOTPAGEOFF]
Lloh18:
	adrp	x9, _hsw_write_infoframe@GOTPAGE
Lloh19:
	ldr	x9, [x9, _hsw_write_infoframe@GOTPAGEOFF]
	ldr	x10, [x19, #16]
Lloh20:
	adrp	x12, _lspcon_read_infoframe@GOTPAGE
Lloh21:
	ldr	x12, [x12, _lspcon_read_infoframe@GOTPAGEOFF]
Lloh22:
	adrp	x13, _hsw_read_infoframe@GOTPAGE
Lloh23:
	ldr	x13, [x13, _hsw_read_infoframe@GOTPAGEOFF]
	cmp	x10, #0
	csel	x11, x9, x8, eq
	csel	x8, x13, x12, eq
Lloh24:
	adrp	x9, _lspcon_set_infoframes@GOTPAGE
Lloh25:
	ldr	x9, [x9, _lspcon_set_infoframes@GOTPAGEOFF]
Lloh26:
	adrp	x10, _hsw_set_infoframes@GOTPAGE
Lloh27:
	ldr	x10, [x10, _hsw_set_infoframes@GOTPAGEOFF]
	csel	x9, x10, x9, eq
Lloh28:
	adrp	x10, _lspcon_infoframes_enabled@GOTPAGE
Lloh29:
	ldr	x10, [x10, _lspcon_infoframes_enabled@GOTPAGEOFF]
Lloh30:
	adrp	x12, _hsw_infoframes_enabled@GOTPAGE
Lloh31:
	ldr	x12, [x12, _hsw_infoframes_enabled@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_HAS_PCH_IBX
Lloh32:
	adrp	x8, _ibx_write_infoframe@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ibx_write_infoframe@GOTPAGEOFF]
Lloh34:
	adrp	x9, _cpt_write_infoframe@GOTPAGE
Lloh35:
	ldr	x9, [x9, _cpt_write_infoframe@GOTPAGEOFF]
Lloh36:
	adrp	x10, _ibx_read_infoframe@GOTPAGE
Lloh37:
	ldr	x10, [x10, _ibx_read_infoframe@GOTPAGEOFF]
Lloh38:
	adrp	x12, _cpt_read_infoframe@GOTPAGE
Lloh39:
	ldr	x12, [x12, _cpt_read_infoframe@GOTPAGEOFF]
	cmp	x0, #0
	csel	x11, x9, x8, eq
	csel	x8, x12, x10, eq
Lloh40:
	adrp	x9, _ibx_set_infoframes@GOTPAGE
Lloh41:
	ldr	x9, [x9, _ibx_set_infoframes@GOTPAGEOFF]
Lloh42:
	adrp	x10, _cpt_set_infoframes@GOTPAGE
Lloh43:
	ldr	x10, [x10, _cpt_set_infoframes@GOTPAGEOFF]
	csel	x9, x10, x9, eq
Lloh44:
	adrp	x10, _ibx_infoframes_enabled@GOTPAGE
Lloh45:
	ldr	x10, [x10, _ibx_infoframes_enabled@GOTPAGEOFF]
Lloh46:
	adrp	x12, _cpt_infoframes_enabled@GOTPAGE
Lloh47:
	ldr	x12, [x12, _cpt_infoframes_enabled@GOTPAGEOFF]
LBB0_9:
	csel	x10, x12, x10, eq
	b	LBB0_3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_vlv_write_infoframe,4,2        ; @vlv_write_infoframe
	.comm	_vlv_read_infoframe,4,2         ; @vlv_read_infoframe
	.comm	_vlv_set_infoframes,4,2         ; @vlv_set_infoframes
	.comm	_vlv_infoframes_enabled,4,2     ; @vlv_infoframes_enabled
	.comm	_g4x_write_infoframe,4,2        ; @g4x_write_infoframe
	.comm	_g4x_read_infoframe,4,2         ; @g4x_read_infoframe
	.comm	_g4x_set_infoframes,4,2         ; @g4x_set_infoframes
	.comm	_g4x_infoframes_enabled,4,2     ; @g4x_infoframes_enabled
	.comm	_lspcon_write_infoframe,4,2     ; @lspcon_write_infoframe
	.comm	_lspcon_read_infoframe,4,2      ; @lspcon_read_infoframe
	.comm	_lspcon_set_infoframes,4,2      ; @lspcon_set_infoframes
	.comm	_lspcon_infoframes_enabled,4,2  ; @lspcon_infoframes_enabled
	.comm	_hsw_write_infoframe,4,2        ; @hsw_write_infoframe
	.comm	_hsw_read_infoframe,4,2         ; @hsw_read_infoframe
	.comm	_hsw_set_infoframes,4,2         ; @hsw_set_infoframes
	.comm	_hsw_infoframes_enabled,4,2     ; @hsw_infoframes_enabled
	.comm	_ibx_write_infoframe,4,2        ; @ibx_write_infoframe
	.comm	_ibx_read_infoframe,4,2         ; @ibx_read_infoframe
	.comm	_ibx_set_infoframes,4,2         ; @ibx_set_infoframes
	.comm	_ibx_infoframes_enabled,4,2     ; @ibx_infoframes_enabled
	.comm	_cpt_write_infoframe,4,2        ; @cpt_write_infoframe
	.comm	_cpt_read_infoframe,4,2         ; @cpt_read_infoframe
	.comm	_cpt_set_infoframes,4,2         ; @cpt_set_infoframes
	.comm	_cpt_infoframes_enabled,4,2     ; @cpt_infoframes_enabled
.subsections_via_symbols
