	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_dc_set_timings
_tegra_dc_set_timings:                  ## @tegra_dc_set_timings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_DC_DISP_DISP_TIMING_OPTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tegra_dc_writel
	movq	_DC_DISP_REF_TO_SYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$65537, %esi                    ## imm = 0x10001
	movq	%r14, %rdi
	callq	_tegra_dc_writel
LBB0_2:
	movl	(%rbx), %eax
	subl	4(%rbx), %eax
	movl	8(%rbx), %ecx
	shll	$16, %eax
	subl	12(%rbx), %ecx
	orl	%eax, %ecx
	movslq	%ecx, %rsi
	movq	_DC_DISP_SYNC_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_tegra_dc_writel
	movl	16(%rbx), %eax
	subl	(%rbx), %eax
	movl	20(%rbx), %ecx
	shll	$16, %eax
	subl	8(%rbx), %ecx
	orl	%eax, %ecx
	movslq	%ecx, %rsi
	movq	_DC_DISP_BACK_PORCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_tegra_dc_writel
	movl	4(%rbx), %eax
	subl	24(%rbx), %eax
	movl	12(%rbx), %ecx
	shll	$16, %eax
	subl	28(%rbx), %ecx
	orl	%eax, %ecx
	movslq	%ecx, %rsi
	movq	_DC_DISP_FRONT_PORCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_tegra_dc_writel
	movl	24(%rbx), %eax
	shll	$16, %eax
	orl	28(%rbx), %eax
	movslq	%eax, %rsi
	movq	_DC_DISP_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_tegra_dc_writel
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_DISP_DISP_TIMING_OPTIONS,4,2 ## @DC_DISP_DISP_TIMING_OPTIONS
	.comm	_DC_DISP_REF_TO_SYNC,4,2        ## @DC_DISP_REF_TO_SYNC
	.comm	_DC_DISP_SYNC_WIDTH,4,2         ## @DC_DISP_SYNC_WIDTH
	.comm	_DC_DISP_BACK_PORCH,4,2         ## @DC_DISP_BACK_PORCH
	.comm	_DC_DISP_FRONT_PORCH,4,2        ## @DC_DISP_FRONT_PORCH
	.comm	_DC_DISP_ACTIVE,4,2             ## @DC_DISP_ACTIVE
	.no_dead_strip	_tegra_dc_set_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_dc_set_timings
_tegra_dc_set_timings:                  ; @tegra_dc_set_timings
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DC_DISP_DISP_TIMING_OPTIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_DISP_DISP_TIMING_OPTIONS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_tegra_dc_writel
Lloh3:
	adrp	x8, _DC_DISP_REF_TO_SYNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DC_DISP_REF_TO_SYNC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #65537
	bl	_tegra_dc_writel
LBB0_2:
	ldp	w8, w9, [x20]
	sub	w8, w8, w9
	ldp	w9, w10, [x20, #8]
	sub	w9, w9, w10
	orr	w8, w9, w8, lsl #16
	sxtw	x1, w8
Lloh6:
	adrp	x8, _DC_DISP_SYNC_WIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DC_DISP_SYNC_WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tegra_dc_writel
	ldr	w8, [x20]
	ldp	w9, w10, [x20, #16]
	sub	w8, w9, w8
	ldr	w9, [x20, #8]
	sub	w9, w10, w9
	orr	w8, w9, w8, lsl #16
	sxtw	x1, w8
Lloh9:
	adrp	x8, _DC_DISP_BACK_PORCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DC_DISP_BACK_PORCH@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tegra_dc_writel
	ldr	w8, [x20, #4]
	ldp	w9, w10, [x20, #24]
	sub	w8, w8, w9
	ldr	w9, [x20, #12]
	sub	w9, w9, w10
	orr	w8, w9, w8, lsl #16
	sxtw	x1, w8
Lloh12:
	adrp	x8, _DC_DISP_FRONT_PORCH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DC_DISP_FRONT_PORCH@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tegra_dc_writel
	ldp	w8, w9, [x20, #24]
	orr	w8, w9, w8, lsl #16
	sxtw	x1, w8
Lloh15:
	adrp	x8, _DC_DISP_ACTIVE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DC_DISP_ACTIVE@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tegra_dc_writel
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_DISP_DISP_TIMING_OPTIONS,4,2 ; @DC_DISP_DISP_TIMING_OPTIONS
	.comm	_DC_DISP_REF_TO_SYNC,4,2        ; @DC_DISP_REF_TO_SYNC
	.comm	_DC_DISP_SYNC_WIDTH,4,2         ; @DC_DISP_SYNC_WIDTH
	.comm	_DC_DISP_BACK_PORCH,4,2         ; @DC_DISP_BACK_PORCH
	.comm	_DC_DISP_FRONT_PORCH,4,2        ; @DC_DISP_FRONT_PORCH
	.comm	_DC_DISP_ACTIVE,4,2             ; @DC_DISP_ACTIVE
	.no_dead_strip	_tegra_dc_set_timings
.subsections_via_symbols
