	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispc_mgr_check_timings
_dispc_mgr_check_timings:               ## @dispc_mgr_check_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	32(%rdx), %edx
	movl	36(%rbx), %esi
	callq	__dispc_mgr_size_ok
	movq	_MODE_BAD@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	28(%rbx), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	__dispc_mgr_pclk_ok
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	%r15d, %edi
	callq	_dss_mgr_is_lcd
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_DISPLAY_FLAGS_INTERLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_6
## %bb.4:
	movl	24(%rbx), %esi
	movl	20(%rbx), %edx
	movl	16(%rbx), %ecx
	movl	12(%rbx), %r8d
	movl	4(%rbx), %eax
	movl	8(%rbx), %r9d
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	callq	__dispc_lcd_timings_ok
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	movq	_MODE_OK@GOTPCREL(%rip), %r12
LBB0_6:
	movl	(%r12), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_BAD,4,2                   ## @MODE_BAD
	.comm	_DISPLAY_FLAGS_INTERLACED,4,2   ## @DISPLAY_FLAGS_INTERLACED
	.comm	_MODE_OK,4,2                    ## @MODE_OK
	.no_dead_strip	_dispc_mgr_check_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispc_mgr_check_timings
_dispc_mgr_check_timings:               ; @dispc_mgr_check_timings
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldp	w2, w1, [x2, #32]
	bl	__dispc_mgr_size_ok
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w2, [x20, #28]
	mov	x0, x19
	mov	x1, x21
	bl	__dispc_mgr_pclk_ok
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_dss_mgr_is_lcd
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _DISPLAY_FLAGS_INTERLACED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DISPLAY_FLAGS_INTERLACED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _MODE_BAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODE_BAD@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldp	w2, w1, [x20, #20]
	ldp	w4, w3, [x20, #12]
	ldp	w6, w5, [x20, #4]
	mov	x0, x19
	bl	__dispc_lcd_timings_ok
	cbz	w0, LBB0_4
LBB0_6:
Lloh5:
	adrp	x8, _MODE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MODE_OK@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_BAD,4,2                   ; @MODE_BAD
	.comm	_DISPLAY_FLAGS_INTERLACED,4,2   ; @DISPLAY_FLAGS_INTERLACED
	.comm	_MODE_OK,4,2                    ; @MODE_OK
	.no_dead_strip	_dispc_mgr_check_timings
.subsections_via_symbols
