	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gdp_dbg_show
_gdp_dbg_show:                          ## @gdp_dbg_show
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r12
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_drm_modeset_lock
	movq	16(%r12), %rax
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_drm_modeset_unlock
	movq	%rbx, %rdi
	callq	_sti_plane_to_str
	movq	(%r12), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_seq_printf
	movq	_GAM_GDP_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_CTL_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_gdp_dbg_ctl
	movq	_GAM_GDP_AGC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_VPO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_VPO_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_gdp_dbg_vpo
	movq	_GAM_GDP_VPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_VPS_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_gdp_dbg_vps
	movq	_GAM_GDP_PML@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_PMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_SIZE_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_gdp_dbg_size
	movq	_GAM_GDP_NVN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_NVN_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_gdp_dbg_nvn
	movq	_GAM_GDP_KEY1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_KEY2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_PPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_PPT_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_gdp_dbg_ppt
	movq	_GAM_GDP_CML@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_MST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DBGFS_DUMP
	movq	_GAM_GDP_MST_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r12), %rdi
	callq	_readl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_gdp_dbg_mst
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_seq_puts
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movl	(%r14), %ebx
	movq	%r14, %rdi
	callq	_to_sti_mixer
	movl	%eax, %edi
	callq	_sti_mixer_to_str
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movq	%rax, %rcx
	callq	_seq_printf
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_seq_puts
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: (vaddr = 0x%p)"

	.comm	_GAM_GDP_CTL,4,2                ## @GAM_GDP_CTL
	.comm	_GAM_GDP_CTL_OFFSET,8,3         ## @GAM_GDP_CTL_OFFSET
	.comm	_GAM_GDP_AGC,4,2                ## @GAM_GDP_AGC
	.comm	_GAM_GDP_VPO,4,2                ## @GAM_GDP_VPO
	.comm	_GAM_GDP_VPO_OFFSET,8,3         ## @GAM_GDP_VPO_OFFSET
	.comm	_GAM_GDP_VPS,4,2                ## @GAM_GDP_VPS
	.comm	_GAM_GDP_VPS_OFFSET,8,3         ## @GAM_GDP_VPS_OFFSET
	.comm	_GAM_GDP_PML,4,2                ## @GAM_GDP_PML
	.comm	_GAM_GDP_PMP,4,2                ## @GAM_GDP_PMP
	.comm	_GAM_GDP_SIZE,4,2               ## @GAM_GDP_SIZE
	.comm	_GAM_GDP_SIZE_OFFSET,8,3        ## @GAM_GDP_SIZE_OFFSET
	.comm	_GAM_GDP_NVN,4,2                ## @GAM_GDP_NVN
	.comm	_GAM_GDP_NVN_OFFSET,8,3         ## @GAM_GDP_NVN_OFFSET
	.comm	_GAM_GDP_KEY1,4,2               ## @GAM_GDP_KEY1
	.comm	_GAM_GDP_KEY2,4,2               ## @GAM_GDP_KEY2
	.comm	_GAM_GDP_PPT,4,2                ## @GAM_GDP_PPT
	.comm	_GAM_GDP_PPT_OFFSET,8,3         ## @GAM_GDP_PPT_OFFSET
	.comm	_GAM_GDP_CML,4,2                ## @GAM_GDP_CML
	.comm	_GAM_GDP_MST,4,2                ## @GAM_GDP_MST
	.comm	_GAM_GDP_MST_OFFSET,8,3         ## @GAM_GDP_MST_OFFSET
L_.str.1:                               ## @.str.1
	.asciz	"\n\n"

L_.str.2:                               ## @.str.2
	.asciz	"  Not connected to any DRM CRTC\n"

L_.str.3:                               ## @.str.3
	.asciz	"  Connected to DRM CRTC #%d (%s)\n"

	.no_dead_strip	_gdp_dbg_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gdp_dbg_show
_gdp_dbg_show:                          ; @gdp_dbg_show
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x21, [x8]
	add	x22, x21, #8
	mov	x0, x22
	mov	x1, #0
	bl	_drm_modeset_lock
	ldr	x8, [x21, #16]
	ldr	x20, [x8]
	mov	x0, x22
	bl	_drm_modeset_unlock
	mov	x0, x22
	bl	_sti_plane_to_str
	mov	x2, x0
	ldr	x3, [x21]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh2:
	adrp	x8, _GAM_GDP_CTL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GAM_GDP_CTL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _GAM_GDP_CTL_OFFSET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GAM_GDP_CTL_OFFSET@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x1, x0
	mov	x0, x19
	bl	_gdp_dbg_ctl
Lloh8:
	adrp	x8, _GAM_GDP_AGC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GAM_GDP_AGC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
Lloh11:
	adrp	x8, _GAM_GDP_VPO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GAM_GDP_VPO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
	ldr	x8, [x21]
Lloh14:
	adrp	x9, _GAM_GDP_VPO_OFFSET@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GAM_GDP_VPO_OFFSET@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x1, x0
	mov	x0, x19
	bl	_gdp_dbg_vpo
Lloh17:
	adrp	x8, _GAM_GDP_VPS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GAM_GDP_VPS@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
	ldr	x8, [x21]
Lloh20:
	adrp	x9, _GAM_GDP_VPS_OFFSET@GOTPAGE
Lloh21:
	ldr	x9, [x9, _GAM_GDP_VPS_OFFSET@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x1, x0
	mov	x0, x19
	bl	_gdp_dbg_vps
Lloh23:
	adrp	x8, _GAM_GDP_PML@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GAM_GDP_PML@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
Lloh26:
	adrp	x8, _GAM_GDP_PMP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GAM_GDP_PMP@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
Lloh29:
	adrp	x8, _GAM_GDP_SIZE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GAM_GDP_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
	ldr	x8, [x21]
Lloh32:
	adrp	x9, _GAM_GDP_SIZE_OFFSET@GOTPAGE
Lloh33:
	ldr	x9, [x9, _GAM_GDP_SIZE_OFFSET@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x1, x0
	mov	x0, x19
	bl	_gdp_dbg_size
Lloh35:
	adrp	x8, _GAM_GDP_NVN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _GAM_GDP_NVN@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
	ldr	x8, [x21]
Lloh38:
	adrp	x9, _GAM_GDP_NVN_OFFSET@GOTPAGE
Lloh39:
	ldr	x9, [x9, _GAM_GDP_NVN_OFFSET@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_gdp_dbg_nvn
Lloh41:
	adrp	x8, _GAM_GDP_KEY1@GOTPAGE
Lloh42:
	ldr	x8, [x8, _GAM_GDP_KEY1@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
Lloh44:
	adrp	x8, _GAM_GDP_KEY2@GOTPAGE
Lloh45:
	ldr	x8, [x8, _GAM_GDP_KEY2@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
Lloh47:
	adrp	x8, _GAM_GDP_PPT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _GAM_GDP_PPT@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
	ldr	x8, [x21]
Lloh50:
	adrp	x9, _GAM_GDP_PPT_OFFSET@GOTPAGE
Lloh51:
	ldr	x9, [x9, _GAM_GDP_PPT_OFFSET@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x1, x0
	mov	x0, x19
	bl	_gdp_dbg_ppt
Lloh53:
	adrp	x8, _GAM_GDP_CML@GOTPAGE
Lloh54:
	ldr	x8, [x8, _GAM_GDP_CML@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
Lloh56:
	adrp	x8, _GAM_GDP_MST@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GAM_GDP_MST@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	bl	_DBGFS_DUMP
	ldr	x8, [x21]
Lloh59:
	adrp	x9, _GAM_GDP_MST_OFFSET@GOTPAGE
Lloh60:
	ldr	x9, [x9, _GAM_GDP_MST_OFFSET@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x1, x0
	mov	x0, x19
	bl	_gdp_dbg_mst
Lloh62:
	adrp	x1, l_.str.1@PAGE
Lloh63:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w21, [x20]
	mov	x0, x20
	bl	_to_sti_mixer
	bl	_sti_mixer_to_str
	mov	x3, x0
Lloh64:
	adrp	x1, l_.str.3@PAGE
Lloh65:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_seq_printf
	b	LBB0_3
LBB0_2:
Lloh66:
	adrp	x1, l_.str.2@PAGE
Lloh67:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_seq_puts
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: (vaddr = 0x%p)"

	.comm	_GAM_GDP_CTL,4,2                ; @GAM_GDP_CTL
	.comm	_GAM_GDP_CTL_OFFSET,8,3         ; @GAM_GDP_CTL_OFFSET
	.comm	_GAM_GDP_AGC,4,2                ; @GAM_GDP_AGC
	.comm	_GAM_GDP_VPO,4,2                ; @GAM_GDP_VPO
	.comm	_GAM_GDP_VPO_OFFSET,8,3         ; @GAM_GDP_VPO_OFFSET
	.comm	_GAM_GDP_VPS,4,2                ; @GAM_GDP_VPS
	.comm	_GAM_GDP_VPS_OFFSET,8,3         ; @GAM_GDP_VPS_OFFSET
	.comm	_GAM_GDP_PML,4,2                ; @GAM_GDP_PML
	.comm	_GAM_GDP_PMP,4,2                ; @GAM_GDP_PMP
	.comm	_GAM_GDP_SIZE,4,2               ; @GAM_GDP_SIZE
	.comm	_GAM_GDP_SIZE_OFFSET,8,3        ; @GAM_GDP_SIZE_OFFSET
	.comm	_GAM_GDP_NVN,4,2                ; @GAM_GDP_NVN
	.comm	_GAM_GDP_NVN_OFFSET,8,3         ; @GAM_GDP_NVN_OFFSET
	.comm	_GAM_GDP_KEY1,4,2               ; @GAM_GDP_KEY1
	.comm	_GAM_GDP_KEY2,4,2               ; @GAM_GDP_KEY2
	.comm	_GAM_GDP_PPT,4,2                ; @GAM_GDP_PPT
	.comm	_GAM_GDP_PPT_OFFSET,8,3         ; @GAM_GDP_PPT_OFFSET
	.comm	_GAM_GDP_CML,4,2                ; @GAM_GDP_CML
	.comm	_GAM_GDP_MST,4,2                ; @GAM_GDP_MST
	.comm	_GAM_GDP_MST_OFFSET,8,3         ; @GAM_GDP_MST_OFFSET
l_.str.1:                               ; @.str.1
	.asciz	"\n\n"

l_.str.2:                               ; @.str.2
	.asciz	"  Not connected to any DRM CRTC\n"

l_.str.3:                               ; @.str.3
	.asciz	"  Connected to DRM CRTC #%d (%s)\n"

	.no_dead_strip	_gdp_dbg_show
.subsections_via_symbols
