	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipu_crtc_mode_fixup
_ipu_crtc_mode_fixup:                   ## @ipu_crtc_mode_fixup
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_to_ipu_crtc
	movq	%rax, %rbx
	leaq	-40(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_drm_display_mode_to_videomode
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_ipu_di_adjust_videomode
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_4
## %bb.1:
	cmpq	$0, -40(%rbp)
	je	LBB0_4
## %bb.2:
	cmpq	$0, -32(%rbp)
	je	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rdi
	movq	%r14, %rsi
	callq	_drm_display_mode_from_videomode
	movl	$1, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ipu_crtc_mode_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipu_crtc_mode_fixup
_ipu_crtc_mode_fixup:                   ; @ipu_crtc_mode_fixup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	bl	_to_ipu_crtc
	mov	x20, x0
	mov	x1, sp
	mov	x0, x19
	bl	_drm_display_mode_to_videomode
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ipu_di_adjust_videomode
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	ldr	x8, [sp]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, sp
	mov	x1, x19
	bl	_drm_display_mode_from_videomode
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ipu_crtc_mode_fixup
.subsections_via_symbols
