	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_display_hub_update
_tegra_display_hub_update:              ## @tegra_display_hub_update
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_pm_runtime_get_sync
	movq	_DC_CMD_IHUB_COMMON_MISC_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_tegra_dc_readl
	movq	_LATENCY_EVENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_tegra_dc_writel
	movq	_DC_DISP_IHUB_COMMON_DISPLAY_FETCH_METER@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_tegra_dc_readl
	movl	$1, %edi
	callq	_CURS_SLOTS
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_WGRP_SLOTS
	orl	%eax, %ebx
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_tegra_dc_writel
	movq	_COMMON_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DC_CMD_STATE_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_tegra_dc_writel
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_tegra_dc_readl
	movq	_COMMON_ACTREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_tegra_dc_writel
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_tegra_dc_readl
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pm_runtime_put                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_CMD_IHUB_COMMON_MISC_CTL,4,2 ## @DC_CMD_IHUB_COMMON_MISC_CTL
	.comm	_LATENCY_EVENT,4,2              ## @LATENCY_EVENT
	.comm	_DC_DISP_IHUB_COMMON_DISPLAY_FETCH_METER,4,2 ## @DC_DISP_IHUB_COMMON_DISPLAY_FETCH_METER
	.comm	_COMMON_UPDATE,4,2              ## @COMMON_UPDATE
	.comm	_DC_CMD_STATE_CONTROL,4,2       ## @DC_CMD_STATE_CONTROL
	.comm	_COMMON_ACTREQ,4,2              ## @COMMON_ACTREQ
	.no_dead_strip	_tegra_display_hub_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_display_hub_update
_tegra_display_hub_update:              ; @tegra_display_hub_update
	.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	w0, [x0]
	bl	_pm_runtime_get_sync
Lloh0:
	adrp	x20, _DC_CMD_IHUB_COMMON_MISC_CTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DC_CMD_IHUB_COMMON_MISC_CTL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_tegra_dc_readl
Lloh2:
	adrp	x8, _LATENCY_EVENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LATENCY_EVENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w2, [x20]
	mov	x0, x19
	bl	_tegra_dc_writel
Lloh5:
	adrp	x21, _DC_DISP_IHUB_COMMON_DISPLAY_FETCH_METER@GOTPAGE
Lloh6:
	ldr	x21, [x21, _DC_DISP_IHUB_COMMON_DISPLAY_FETCH_METER@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_tegra_dc_readl
	mov	w0, #1
	bl	_CURS_SLOTS
	mov	x20, x0
	mov	w0, #1
	bl	_WGRP_SLOTS
	orr	w1, w0, w20
	ldr	w2, [x21]
	mov	x0, x19
	bl	_tegra_dc_writel
Lloh7:
	adrp	x8, _COMMON_UPDATE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COMMON_UPDATE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x20, _DC_CMD_STATE_CONTROL@GOTPAGE
Lloh11:
	ldr	x20, [x20, _DC_CMD_STATE_CONTROL@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_tegra_dc_writel
	ldr	w1, [x20]
	mov	x0, x19
	bl	_tegra_dc_readl
Lloh12:
	adrp	x8, _COMMON_ACTREQ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMMON_ACTREQ@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_tegra_dc_writel
	ldr	w1, [x20]
	mov	x0, x19
	bl	_tegra_dc_readl
	ldr	w0, [x19]
	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	_pm_runtime_put
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_CMD_IHUB_COMMON_MISC_CTL,4,2 ; @DC_CMD_IHUB_COMMON_MISC_CTL
	.comm	_LATENCY_EVENT,4,2              ; @LATENCY_EVENT
	.comm	_DC_DISP_IHUB_COMMON_DISPLAY_FETCH_METER,4,2 ; @DC_DISP_IHUB_COMMON_DISPLAY_FETCH_METER
	.comm	_COMMON_UPDATE,4,2              ; @COMMON_UPDATE
	.comm	_DC_CMD_STATE_CONTROL,4,2       ; @DC_CMD_STATE_CONTROL
	.comm	_COMMON_ACTREQ,4,2              ; @COMMON_ACTREQ
	.no_dead_strip	_tegra_display_hub_update
.subsections_via_symbols
