	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i915_swizzle_info
_i915_swizzle_info:                     ## @i915_swizzle_info
	.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	(%rdi), %edi
	callq	_node_to_i915
	movq	%rax, %r12
	leaq	16(%rax), %r13
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_intel_runtime_pm_get
	movl	%eax, %r15d
	movl	12(%r12), %edi
	callq	_swizzle_string
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movl	8(%r12), %edi
	callq	_swizzle_string
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	%r12, %rdi
	movl	$3, %esi
	movl	$4, %edx
	callq	_IS_GEN_RANGE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_DCC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	_DCC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	_C0DRB3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read16
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	_C1DRB3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read16
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_4
LBB0_2:
	movq	%r12, %rdi
	callq	_INTEL_GEN
	cmpl	$6, %eax
	jl	LBB0_5
## %bb.3:
	movq	_MAD_DIMM_C0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	_MAD_DIMM_C1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	_MAD_DIMM_C2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	_TILECTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	%r12, %rdi
	callq	_INTEL_GEN
	cmpl	$8, %eax
	leaq	L_.str.10(%rip), %rax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	leaq	L_.str.11(%rip), %r15
	cmovgeq	%rax, %r15
	movq	_ARB_MODE@GOTPCREL(%rip), %rax
	cmovgeq	_GAMTARBMODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%eax, %edx
	callq	_seq_printf
	movq	_DISP_ARB_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_intel_uncore_read
	leaq	L_.str.12(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_seq_printf
LBB0_5:
	movq	_QUIRK_PIN_SWIZZLED_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	callq	_seq_puts
LBB0_7:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_intel_runtime_pm_put
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bit6 swizzle for X-tiling = %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"bit6 swizzle for Y-tiling = %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"DDC = 0x%08x\n"

	.comm	_DCC,4,2                        ## @DCC
L_.str.3:                               ## @.str.3
	.asciz	"DDC2 = 0x%08x\n"

	.comm	_DCC2,4,2                       ## @DCC2
L_.str.4:                               ## @.str.4
	.asciz	"C0DRB3 = 0x%04x\n"

	.comm	_C0DRB3,4,2                     ## @C0DRB3
L_.str.5:                               ## @.str.5
	.asciz	"C1DRB3 = 0x%04x\n"

	.comm	_C1DRB3,4,2                     ## @C1DRB3
L_.str.6:                               ## @.str.6
	.asciz	"MAD_DIMM_C0 = 0x%08x\n"

	.comm	_MAD_DIMM_C0,4,2                ## @MAD_DIMM_C0
L_.str.7:                               ## @.str.7
	.asciz	"MAD_DIMM_C1 = 0x%08x\n"

	.comm	_MAD_DIMM_C1,4,2                ## @MAD_DIMM_C1
L_.str.8:                               ## @.str.8
	.asciz	"MAD_DIMM_C2 = 0x%08x\n"

	.comm	_MAD_DIMM_C2,4,2                ## @MAD_DIMM_C2
L_.str.9:                               ## @.str.9
	.asciz	"TILECTL = 0x%08x\n"

	.comm	_TILECTL,4,2                    ## @TILECTL
L_.str.10:                              ## @.str.10
	.asciz	"GAMTARBMODE = 0x%08x\n"

	.comm	_GAMTARBMODE,4,2                ## @GAMTARBMODE
L_.str.11:                              ## @.str.11
	.asciz	"ARB_MODE = 0x%08x\n"

	.comm	_ARB_MODE,4,2                   ## @ARB_MODE
L_.str.12:                              ## @.str.12
	.asciz	"DISP_ARB_CTL = 0x%08x\n"

	.comm	_DISP_ARB_CTL,4,2               ## @DISP_ARB_CTL
	.comm	_QUIRK_PIN_SWIZZLED_PAGES,4,2   ## @QUIRK_PIN_SWIZZLED_PAGES
L_.str.13:                              ## @.str.13
	.asciz	"L-shaped memory detected\n"

	.no_dead_strip	_i915_swizzle_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i915_swizzle_info
_i915_swizzle_info:                     ; @i915_swizzle_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0]
	bl	_node_to_i915
	mov	x22, x0
	add	x23, x0, #16
	add	x20, x0, #4
	mov	x0, x20
	bl	_intel_runtime_pm_get
	mov	x21, x0
	ldr	w0, [x22, #12]
	bl	_swizzle_string
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	ldr	w0, [x22, #8]
	bl	_swizzle_string
	mov	x2, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	mov	x0, x22
	mov	w1, #3
	mov	w2, #4
	bl	_IS_GEN_RANGE
	cbz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _DCC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DCC@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh9:
	adrp	x8, _DCC2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DCC2@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh14:
	adrp	x8, _C0DRB3@GOTPAGE
Lloh15:
	ldr	x8, [x8, _C0DRB3@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read16
	mov	x2, x0
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh19:
	adrp	x8, _C1DRB3@GOTPAGE
Lloh20:
	ldr	x8, [x8, _C1DRB3@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read16
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x0, x22
	bl	_INTEL_GEN
	cmp	w0, #6
	b.lt	LBB0_5
; %bb.3:
Lloh24:
	adrp	x8, _MAD_DIMM_C0@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MAD_DIMM_C0@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read
	mov	x2, x0
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh29:
	adrp	x8, _MAD_DIMM_C1@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MAD_DIMM_C1@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read
	mov	x2, x0
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh34:
	adrp	x8, _MAD_DIMM_C2@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MAD_DIMM_C2@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read
	mov	x2, x0
Lloh37:
	adrp	x1, l_.str.8@PAGE
Lloh38:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh39:
	adrp	x8, _TILECTL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TILECTL@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read
	mov	x2, x0
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
	mov	x0, x22
	bl	_INTEL_GEN
Lloh44:
	adrp	x8, l_.str.11@PAGE
Lloh45:
	add	x8, x8, l_.str.11@PAGEOFF
Lloh46:
	adrp	x9, l_.str.10@PAGE
Lloh47:
	add	x9, x9, l_.str.10@PAGEOFF
	cmp	w0, #7
	csel	x24, x9, x8, gt
Lloh48:
	adrp	x8, _GAMTARBMODE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _GAMTARBMODE@GOTPAGEOFF]
Lloh50:
	adrp	x9, _ARB_MODE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _ARB_MODE@GOTPAGEOFF]
	csel	x8, x8, x9, gt
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_seq_printf
Lloh52:
	adrp	x8, _DISP_ARB_CTL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _DISP_ARB_CTL@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_intel_uncore_read
	mov	x2, x0
Lloh55:
	adrp	x1, l_.str.12@PAGE
Lloh56:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_seq_printf
LBB0_5:
	ldr	w8, [x22]
Lloh57:
	adrp	x9, _QUIRK_PIN_SWIZZLED_PAGES@GOTPAGE
Lloh58:
	ldr	x9, [x9, _QUIRK_PIN_SWIZZLED_PAGES@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh60:
	adrp	x1, l_.str.13@PAGE
Lloh61:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
LBB0_7:
	mov	x0, x20
	mov	x1, x21
	bl	_intel_runtime_pm_put
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bit6 swizzle for X-tiling = %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"bit6 swizzle for Y-tiling = %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"DDC = 0x%08x\n"

	.comm	_DCC,4,2                        ; @DCC
l_.str.3:                               ; @.str.3
	.asciz	"DDC2 = 0x%08x\n"

	.comm	_DCC2,4,2                       ; @DCC2
l_.str.4:                               ; @.str.4
	.asciz	"C0DRB3 = 0x%04x\n"

	.comm	_C0DRB3,4,2                     ; @C0DRB3
l_.str.5:                               ; @.str.5
	.asciz	"C1DRB3 = 0x%04x\n"

	.comm	_C1DRB3,4,2                     ; @C1DRB3
l_.str.6:                               ; @.str.6
	.asciz	"MAD_DIMM_C0 = 0x%08x\n"

	.comm	_MAD_DIMM_C0,4,2                ; @MAD_DIMM_C0
l_.str.7:                               ; @.str.7
	.asciz	"MAD_DIMM_C1 = 0x%08x\n"

	.comm	_MAD_DIMM_C1,4,2                ; @MAD_DIMM_C1
l_.str.8:                               ; @.str.8
	.asciz	"MAD_DIMM_C2 = 0x%08x\n"

	.comm	_MAD_DIMM_C2,4,2                ; @MAD_DIMM_C2
l_.str.9:                               ; @.str.9
	.asciz	"TILECTL = 0x%08x\n"

	.comm	_TILECTL,4,2                    ; @TILECTL
l_.str.10:                              ; @.str.10
	.asciz	"GAMTARBMODE = 0x%08x\n"

	.comm	_GAMTARBMODE,4,2                ; @GAMTARBMODE
l_.str.11:                              ; @.str.11
	.asciz	"ARB_MODE = 0x%08x\n"

	.comm	_ARB_MODE,4,2                   ; @ARB_MODE
l_.str.12:                              ; @.str.12
	.asciz	"DISP_ARB_CTL = 0x%08x\n"

	.comm	_DISP_ARB_CTL,4,2               ; @DISP_ARB_CTL
	.comm	_QUIRK_PIN_SWIZZLED_PAGES,4,2   ; @QUIRK_PIN_SWIZZLED_PAGES
l_.str.13:                              ; @.str.13
	.asciz	"L-shaped memory detected\n"

	.no_dead_strip	_i915_swizzle_info
.subsections_via_symbols
