	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_crtc_atomic_enable
_zx_crtc_atomic_enable:                 ## @zx_crtc_atomic_enable
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	_DRM_MODE_FLAG_INTERLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%rbx), %r12d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_to_zx_crtc
	movq	%rax, %rcx
	movq	32(%rax), %r14
	movq	16(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rcx), %r15
	leaq	-144(%rbp), %rsi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_drm_display_mode_to_videomode
	movl	-144(%rbp), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movl	%r13d, %ecx
	andl	%r12d, %ecx
	cmovel	%eax, %edi
	decl	%edi
	callq	_V_ACTIVE
	movl	%eax, %ebx
	movl	-140(%rbp), %edi
	decl	%edi
	callq	_H_ACTIVE
	orl	%eax, %ebx
	movq	40(%r15), %rdi
	addq	8(%r14), %rdi
	movl	%ebx, %esi
	callq	_zx_writel
	movq	-88(%rbp), %rdi
	decq	%rdi
	callq	_SYNC_WIDE
	movl	%eax, %ebx
	movq	-96(%rbp), %rdi
	decq	%rdi
	callq	_BACK_PORCH
	orl	%eax, %ebx
	movq	-104(%rbp), %rdi
	decq	%rdi
	callq	_FRONT_PORCH
	orl	%eax, %ebx
	movq	32(%r15), %rdi
	addq	8(%r14), %rdi
	movl	%ebx, %esi
	callq	_zx_writel
	movq	-112(%rbp), %rdi
	decq	%rdi
	callq	_SYNC_WIDE
	movl	%eax, %ebx
	movq	-120(%rbp), %rdi
	decq	%rdi
	callq	_BACK_PORCH
	orl	%eax, %ebx
	movq	-128(%rbp), %rdi
	decq	%rdi
	callq	_FRONT_PORCH
	orl	%eax, %ebx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %rdi
	addq	8(%r14), %rdi
	movl	%ebx, %esi
	callq	_zx_writel
	andl	%r12d, %r13d
	je	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	(%rax), %bl
	movl	4(%rax), %r15d
	movq	_SEC_V_ACTIVE@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	8(%r14), %rdi
	callq	_zx_readl
	movl	-144(%rbp), %ecx
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	decl	%esi
	movl	%ebx, %ecx
	shll	%cl, %esi
	xorl	%eax, %esi
	andl	%r15d, %esi
	xorl	%eax, %esi
	movq	(%r12), %rdi
	addq	8(%r14), %rdi
	callq	_zx_writel
	movq	-112(%rbp), %rdi
	decq	%rdi
	callq	_SYNC_WIDE
	movl	%eax, %ebx
	movq	-120(%rbp), %rdi
	callq	_BACK_PORCH
	orl	%eax, %ebx
	movq	-128(%rbp), %rdi
	decq	%rdi
	callq	_FRONT_PORCH
	orl	%eax, %ebx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	addq	8(%r14), %rdi
	movl	%ebx, %esi
	callq	_zx_writel
LBB0_2:
	movl	-136(%rbp), %eax
	movq	_DISPLAY_FLAGS_VSYNC_LOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%eax, %esi
	movq	_POL_VSYNC_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %edx
	movl	$1, %edi
	shll	%cl, %edi
	testl	%esi, %esi
	cmovel	%esi, %edi
	movq	_DISPLAY_FLAGS_HSYNC_LOW@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_POL_HSYNC_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	testl	%eax, %eax
	cmovel	%eax, %edx
	orl	%edi, %edx
	movq	_TIMING_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	8(%r15), %esi
	movb	12(%r15), %cl
	shll	%cl, %edx
	callq	_zx_writel_mask
	movq	_V_SHIFT_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$16, %esi
	testl	%r13d, %r13d
	movq	_H_SHIFT_VAL@GOTPCREL(%rip), %rax
	cmovel	%r13d, %esi
	orl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	addq	8(%r14), %rdi
	callq	_zx_writel
	movq	(%rbx), %rdi
	addq	8(%r14), %rdi
	movq	_H_PI_SHIFT_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_zx_writel
	movl	20(%r15), %esi
	orl	16(%r15), %esi
	testl	%r13d, %r13d
	movq	_SCAN_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%esi, %edx
	cmovel	%r13d, %edx
	addq	8(%r14), %rdi
	callq	_zx_writel_mask
	movq	_TIMING_TC_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	movl	24(%r15), %edx
	movl	%edx, %esi
	callq	_zx_writel_mask
	movq	_CHN_CTRL1@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addq	8(%rbx), %rdi
	movq	_CHN_SCREEN_W_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-140(%rbp), %edx
	movq	_CHN_SCREEN_W_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	callq	_zx_writel_mask
	movq	(%r15), %rdi
	addq	8(%rbx), %rdi
	movq	_CHN_SCREEN_H_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-144(%rbp), %edx
	movq	_CHN_SCREEN_H_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	callq	_zx_writel_mask
	testl	%r13d, %r13d
	movq	_CHN_INTERLACE_BUF_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_CHN_INTERLACE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmovnel	%esi, %r13d
	addq	8(%rbx), %rdi
	movl	%r13d, %edx
	callq	_zx_writel_mask
	movq	%rbx, %rdi
	callq	_vou_chn_set_update
	movq	_CHN_CTRL0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	movq	_CHN_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %esi
	callq	_zx_writel_mask
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_drm_crtc_vblank_on
	movl	(%rbx), %edi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	imull	$1000, 4(%rax), %esi            ## imm = 0x3E8
	callq	_clk_set_rate
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_4:
	movl	(%rbx), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movl	%eax, %edx
	callq	_DRM_DEV_ERROR
LBB0_7:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ## @DRM_MODE_FLAG_INTERLACE
	.comm	_SEC_V_ACTIVE,8,3               ## @SEC_V_ACTIVE
	.comm	_DISPLAY_FLAGS_VSYNC_LOW,4,2    ## @DISPLAY_FLAGS_VSYNC_LOW
	.comm	_POL_VSYNC_SHIFT,4,2            ## @POL_VSYNC_SHIFT
	.comm	_DISPLAY_FLAGS_HSYNC_LOW,4,2    ## @DISPLAY_FLAGS_HSYNC_LOW
	.comm	_POL_HSYNC_SHIFT,4,2            ## @POL_HSYNC_SHIFT
	.comm	_TIMING_CTRL,8,3                ## @TIMING_CTRL
	.comm	_H_SHIFT_VAL,4,2                ## @H_SHIFT_VAL
	.comm	_V_SHIFT_VAL,4,2                ## @V_SHIFT_VAL
	.comm	_H_PI_SHIFT_VAL,4,2             ## @H_PI_SHIFT_VAL
	.comm	_SCAN_CTRL,8,3                  ## @SCAN_CTRL
	.comm	_TIMING_TC_ENABLE,8,3           ## @TIMING_TC_ENABLE
	.comm	_CHN_CTRL1,8,3                  ## @CHN_CTRL1
	.comm	_CHN_SCREEN_W_MASK,4,2          ## @CHN_SCREEN_W_MASK
	.comm	_CHN_SCREEN_W_SHIFT,4,2         ## @CHN_SCREEN_W_SHIFT
	.comm	_CHN_SCREEN_H_MASK,4,2          ## @CHN_SCREEN_H_MASK
	.comm	_CHN_SCREEN_H_SHIFT,4,2         ## @CHN_SCREEN_H_SHIFT
	.comm	_CHN_INTERLACE_BUF_CTRL,8,3     ## @CHN_INTERLACE_BUF_CTRL
	.comm	_CHN_INTERLACE_EN,4,2           ## @CHN_INTERLACE_EN
	.comm	_CHN_CTRL0,8,3                  ## @CHN_CTRL0
	.comm	_CHN_ENABLE,4,2                 ## @CHN_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to set pixclk rate: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed to enable pixclk: %d\n"

	.no_dead_strip	_zx_crtc_atomic_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_crtc_atomic_enable
_zx_crtc_atomic_enable:                 ; @zx_crtc_atomic_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	ldr	x20, [x0]
	ldr	w22, [x20]
Lloh0:
	adrp	x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_FLAG_INTERLACE@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	bl	_to_zx_crtc
	mov	x19, x0
	ldp	x26, x23, [x0, #24]
	ldr	x25, [x0, #16]
	mov	x1, sp
	mov	x0, x20
	bl	_drm_display_mode_to_videomode
	ldr	w8, [sp]
	cmp	w8, #0
	cinc	w9, w8, lt
	ands	w24, w24, w22
	asr	w9, w9, #1
	csel	w8, w8, w9, eq
	sub	w0, w8, #1
	bl	_V_ACTIVE
	mov	x22, x0
	ldr	w8, [sp, #4]
	sub	w0, w8, #1
	bl	_H_ACTIVE
	orr	w1, w0, w22
	ldr	x8, [x23, #8]
	ldr	x9, [x26, #40]
	add	x0, x9, x8
	bl	_zx_writel
	ldr	x8, [sp, #56]
	sub	x0, x8, #1
	bl	_SYNC_WIDE
	mov	x22, x0
	ldr	x8, [sp, #48]
	sub	x0, x8, #1
	bl	_BACK_PORCH
	orr	w22, w0, w22
	ldr	x8, [sp, #40]
	sub	x0, x8, #1
	bl	_FRONT_PORCH
	orr	w1, w22, w0
	ldr	x8, [x23, #8]
	ldr	x9, [x26, #32]
	add	x0, x9, x8
	bl	_zx_writel
	ldr	x8, [sp, #32]
	sub	x0, x8, #1
	bl	_SYNC_WIDE
	mov	x22, x0
	ldr	x8, [sp, #24]
	sub	x0, x8, #1
	bl	_BACK_PORCH
	orr	w22, w0, w22
	ldr	x8, [sp, #16]
	sub	x0, x8, #1
	bl	_FRONT_PORCH
	orr	w1, w22, w0
	ldr	x8, [x23, #8]
	ldr	x9, [x26, #24]
	add	x0, x9, x8
	bl	_zx_writel
	cbz	w24, LBB0_2
; %bb.1:
	ldp	w22, w27, [x25]
	ldr	x8, [x23, #8]
Lloh3:
	adrp	x28, _SEC_V_ACTIVE@GOTPAGE
Lloh4:
	ldr	x28, [x28, _SEC_V_ACTIVE@GOTPAGEOFF]
	ldr	x9, [x28]
	add	x0, x9, x8
	bl	_zx_readl
	bic	w8, w0, w27
	ldr	w9, [sp]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	sub	w9, w9, #1
	lsl	w9, w9, w22
	and	w9, w9, w27
	orr	w1, w9, w8
	ldr	x8, [x23, #8]
	ldr	x9, [x28]
	add	x0, x9, x8
	bl	_zx_writel
	ldr	x8, [sp, #32]
	sub	x0, x8, #1
	bl	_SYNC_WIDE
	mov	x22, x0
	ldr	x0, [sp, #24]
	bl	_BACK_PORCH
	orr	w22, w0, w22
	ldr	x8, [sp, #16]
	sub	x0, x8, #1
	bl	_FRONT_PORCH
	orr	w1, w22, w0
	ldr	x8, [x23, #8]
	ldr	x9, [x26, #16]
	add	x0, x9, x8
	bl	_zx_writel
LBB0_2:
	ldr	w8, [sp, #8]
Lloh5:
	adrp	x9, _DISPLAY_FLAGS_VSYNC_LOW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DISPLAY_FLAGS_VSYNC_LOW@GOTPAGEOFF]
Lloh7:
	adrp	x10, _POL_VSYNC_SHIFT@GOTPAGE
Lloh8:
	ldr	x10, [x10, _POL_VSYNC_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	ldr	w10, [x10]
	mov	w11, #1
	lsl	w10, w11, w10
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh11:
	adrp	x10, _DISPLAY_FLAGS_HSYNC_LOW@GOTPAGE
Lloh12:
	ldr	x10, [x10, _DISPLAY_FLAGS_HSYNC_LOW@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	adrp	x12, _POL_HSYNC_SHIFT@GOTPAGE
Lloh15:
	ldr	x12, [x12, _POL_HSYNC_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	lsl	w11, w11, w12
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _TIMING_CTRL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _TIMING_CTRL@GOTPAGEOFF]
	ldr	x10, [x23, #8]
Lloh19:
	ldr	x9, [x9]
	add	x0, x9, x10
	ldp	w1, w9, [x25, #8]
	lsl	w2, w8, w9
	bl	_zx_writel_mask
Lloh20:
	adrp	x8, _H_SHIFT_VAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _H_SHIFT_VAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _V_SHIFT_VAL@GOTPAGE
Lloh24:
	ldr	x9, [x9, _V_SHIFT_VAL@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	lsl	w9, w9, #16
	cmp	w24, #0
	csel	w9, wzr, w9, eq
	orr	w1, w9, w8
	ldr	x8, [x23, #8]
	ldr	x9, [x26, #8]
	add	x0, x9, x8
	bl	_zx_writel
	ldr	x8, [x23, #8]
	ldr	x9, [x26]
	add	x0, x9, x8
Lloh26:
	adrp	x8, _H_PI_SHIFT_VAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _H_PI_SHIFT_VAL@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_zx_writel
	ldp	w8, w9, [x25, #16]
	orr	w1, w9, w8
	ldr	x8, [x23, #8]
Lloh29:
	adrp	x9, _SCAN_CTRL@GOTPAGE
Lloh30:
	ldr	x9, [x9, _SCAN_CTRL@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	add	x0, x9, x8
	cmp	w24, #0
	csel	w2, wzr, w1, eq
	bl	_zx_writel_mask
	ldr	x8, [x23, #8]
Lloh32:
	adrp	x9, _TIMING_TC_ENABLE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _TIMING_TC_ENABLE@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	add	x0, x9, x8
	ldr	w1, [x25, #24]
	mov	x2, x1
	bl	_zx_writel_mask
	ldr	x8, [x19, #8]
Lloh35:
	adrp	x22, _CHN_CTRL1@GOTPAGE
Lloh36:
	ldr	x22, [x22, _CHN_CTRL1@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
Lloh37:
	adrp	x8, _CHN_SCREEN_W_MASK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CHN_SCREEN_W_MASK@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	w8, [sp, #4]
Lloh40:
	adrp	x9, _CHN_SCREEN_W_SHIFT@GOTPAGE
Lloh41:
	ldr	x9, [x9, _CHN_SCREEN_W_SHIFT@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	lsl	w2, w8, w9
	bl	_zx_writel_mask
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x0, x9, x8
Lloh43:
	adrp	x8, _CHN_SCREEN_H_MASK@GOTPAGE
Lloh44:
	ldr	x8, [x8, _CHN_SCREEN_H_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	ldr	w8, [sp]
Lloh46:
	adrp	x9, _CHN_SCREEN_H_SHIFT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _CHN_SCREEN_H_SHIFT@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	lsl	w2, w8, w9
	bl	_zx_writel_mask
	ldr	x8, [x19, #8]
Lloh49:
	adrp	x9, _CHN_INTERLACE_BUF_CTRL@GOTPAGE
Lloh50:
	ldr	x9, [x9, _CHN_INTERLACE_BUF_CTRL@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	add	x0, x9, x8
Lloh52:
	adrp	x8, _CHN_INTERLACE_EN@GOTPAGE
Lloh53:
	ldr	x8, [x8, _CHN_INTERLACE_EN@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	cmp	w24, #0
	csel	w2, wzr, w1, eq
	bl	_zx_writel_mask
	mov	x0, x19
	bl	_vou_chn_set_update
Lloh55:
	adrp	x8, _CHN_CTRL0@GOTPAGE
Lloh56:
	ldr	x8, [x8, _CHN_CTRL0@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh57:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh58:
	adrp	x8, _CHN_ENABLE@GOTPAGE
Lloh59:
	ldr	x8, [x8, _CHN_ENABLE@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x2, x1
	bl	_zx_writel_mask
	mov	x0, x21
	bl	_drm_crtc_vblank_on
	ldr	w0, [x19]
	ldr	w8, [x20, #4]
	mov	w9, #1000
	mul	w1, w8, w9
	bl	_clk_set_rate
	cbz	w0, LBB0_4
; %bb.3:
	mov	x2, x0
	ldr	w0, [x23]
Lloh61:
	adrp	x1, l_.str@PAGE
Lloh62:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	w0, [x19]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_7
; %bb.5:
	mov	x2, x0
	ldr	w0, [x23]
Lloh63:
	adrp	x1, l_.str.1@PAGE
Lloh64:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	bl	_DRM_DEV_ERROR
LBB0_7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.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	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_FLAG_INTERLACE,4,2    ; @DRM_MODE_FLAG_INTERLACE
	.comm	_SEC_V_ACTIVE,8,3               ; @SEC_V_ACTIVE
	.comm	_DISPLAY_FLAGS_VSYNC_LOW,4,2    ; @DISPLAY_FLAGS_VSYNC_LOW
	.comm	_POL_VSYNC_SHIFT,4,2            ; @POL_VSYNC_SHIFT
	.comm	_DISPLAY_FLAGS_HSYNC_LOW,4,2    ; @DISPLAY_FLAGS_HSYNC_LOW
	.comm	_POL_HSYNC_SHIFT,4,2            ; @POL_HSYNC_SHIFT
	.comm	_TIMING_CTRL,8,3                ; @TIMING_CTRL
	.comm	_H_SHIFT_VAL,4,2                ; @H_SHIFT_VAL
	.comm	_V_SHIFT_VAL,4,2                ; @V_SHIFT_VAL
	.comm	_H_PI_SHIFT_VAL,4,2             ; @H_PI_SHIFT_VAL
	.comm	_SCAN_CTRL,8,3                  ; @SCAN_CTRL
	.comm	_TIMING_TC_ENABLE,8,3           ; @TIMING_TC_ENABLE
	.comm	_CHN_CTRL1,8,3                  ; @CHN_CTRL1
	.comm	_CHN_SCREEN_W_MASK,4,2          ; @CHN_SCREEN_W_MASK
	.comm	_CHN_SCREEN_W_SHIFT,4,2         ; @CHN_SCREEN_W_SHIFT
	.comm	_CHN_SCREEN_H_MASK,4,2          ; @CHN_SCREEN_H_MASK
	.comm	_CHN_SCREEN_H_SHIFT,4,2         ; @CHN_SCREEN_H_SHIFT
	.comm	_CHN_INTERLACE_BUF_CTRL,8,3     ; @CHN_INTERLACE_BUF_CTRL
	.comm	_CHN_INTERLACE_EN,4,2           ; @CHN_INTERLACE_EN
	.comm	_CHN_CTRL0,8,3                  ; @CHN_CTRL0
	.comm	_CHN_ENABLE,4,2                 ; @CHN_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to set pixclk rate: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed to enable pixclk: %d\n"

	.no_dead_strip	_zx_crtc_atomic_enable
.subsections_via_symbols
