	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mdp_hw_revision
_read_mdp_hw_revision:                  ## @read_mdp_hw_revision
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	%r12, %rdi
	callq	_pm_runtime_get_sync
	movq	_REG_MDP5_HW_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mdp5_read
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_pm_runtime_put_sync
	movq	_MDP5_HW_VERSION_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_FIELD
	movl	%eax, (%r15)
	movq	_MDP5_HW_VERSION_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_FIELD
	movl	%eax, (%r14)
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_DEV_INFO                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_MDP5_HW_VERSION,4,2        ## @REG_MDP5_HW_VERSION
	.comm	_MDP5_HW_VERSION_MAJOR,4,2      ## @MDP5_HW_VERSION_MAJOR
	.comm	_MDP5_HW_VERSION_MINOR,4,2      ## @MDP5_HW_VERSION_MINOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MDP5 version v%d.%d"

	.no_dead_strip	_read_mdp_hw_revision
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mdp_hw_revision
_read_mdp_hw_revision:                  ; @read_mdp_hw_revision
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0]
	mov	x0, x22
	bl	_pm_runtime_get_sync
Lloh0:
	adrp	x8, _REG_MDP5_HW_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_MDP5_HW_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mdp5_read
	mov	x21, x0
	mov	x0, x22
	bl	_pm_runtime_put_sync
Lloh3:
	adrp	x8, _MDP5_HW_VERSION_MAJOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MDP5_HW_VERSION_MAJOR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_FIELD
	str	w0, [x20]
Lloh6:
	adrp	x8, _MDP5_HW_VERSION_MINOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDP5_HW_VERSION_MINOR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_FIELD
	mov	x3, x0
	str	w0, [x19]
	ldr	w2, [x20]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	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
	b	_DRM_DEV_INFO
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_MDP5_HW_VERSION,4,2        ; @REG_MDP5_HW_VERSION
	.comm	_MDP5_HW_VERSION_MAJOR,4,2      ; @MDP5_HW_VERSION_MAJOR
	.comm	_MDP5_HW_VERSION_MINOR,4,2      ; @MDP5_HW_VERSION_MINOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MDP5 version v%d.%d"

	.no_dead_strip	_read_mdp_hw_revision
.subsections_via_symbols
