	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_crtc_atomic_flush
_tegra_crtc_atomic_flush:               ## @tegra_crtc_atomic_flush
	.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, %rbx
	movl	(%rdi), %edi
	callq	_to_dc_state
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_to_tegra_dc
	movq	%rax, %rbx
	movl	(%r14), %esi
	shll	$8, %esi
	movq	_GENERAL_UPDATE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_DC_CMD_STATE_CONTROL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_tegra_dc_writel
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_tegra_dc_readl
	movq	_GENERAL_ACT_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_tegra_dc_writel
	movl	(%r15), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tegra_dc_readl                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GENERAL_UPDATE,4,2             ## @GENERAL_UPDATE
	.comm	_DC_CMD_STATE_CONTROL,4,2       ## @DC_CMD_STATE_CONTROL
	.comm	_GENERAL_ACT_REQ,4,2            ## @GENERAL_ACT_REQ
	.no_dead_strip	_tegra_crtc_atomic_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_crtc_atomic_flush
_tegra_crtc_atomic_flush:               ; @tegra_crtc_atomic_flush
	.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	_to_dc_state
	mov	x20, x0
	mov	x0, x19
	bl	_to_tegra_dc
	mov	x19, x0
Lloh0:
	adrp	x8, _GENERAL_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENERAL_UPDATE@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh2:
	ldr	w8, [x8]
	orr	w1, w8, w9, lsl #8
Lloh3:
	adrp	x21, _DC_CMD_STATE_CONTROL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DC_CMD_STATE_CONTROL@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_tegra_dc_writel
	ldr	w1, [x21]
	mov	x0, x19
	bl	_tegra_dc_readl
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _GENERAL_ACT_REQ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GENERAL_ACT_REQ@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldr	w2, [x21]
	mov	x0, x19
	bl	_tegra_dc_writel
	ldr	w1, [x21]
	mov	x0, 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	_tegra_dc_readl
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GENERAL_UPDATE,4,2             ; @GENERAL_UPDATE
	.comm	_DC_CMD_STATE_CONTROL,4,2       ; @DC_CMD_STATE_CONTROL
	.comm	_GENERAL_ACT_REQ,4,2            ; @GENERAL_ACT_REQ
	.no_dead_strip	_tegra_crtc_atomic_flush
.subsections_via_symbols
