	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_dpi_select_source_dra7xx
_dss_dpi_select_source_dra7xx:          ## @dss_dpi_select_source_dra7xx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$1, %esi
	je	LBB0_4
## %bb.2:
	testl	%esi, %esi
	jne	LBB0_7
## %bb.3:
	xorl	%esi, %esi
	popq	%rbp
	jmp	_dss_dpi_select_source_omap5    ## TAILCALL
LBB0_5:
	movq	_OMAP_DSS_CHANNEL_LCD3@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_OMAP_DSS_CHANNEL_LCD2@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	cmpl	%edx, (%rcx)
	je	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP_DSS_CHANNEL_LCD2,4,2      ## @OMAP_DSS_CHANNEL_LCD2
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OMAP_DSS_CHANNEL_LCD3,4,2      ## @OMAP_DSS_CHANNEL_LCD3
	.no_dead_strip	_dss_dpi_select_source_dra7xx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_dpi_select_source_dra7xx
_dss_dpi_select_source_dra7xx:          ; @dss_dpi_select_source_dra7xx
	.cfi_startproc
; %bb.0:
	cmp	w1, #2
	b.eq	LBB0_6
; %bb.1:
	cmp	w1, #1
	b.eq	LBB0_4
; %bb.2:
	cbnz	w1, LBB0_8
; %bb.3:
	b	_dss_dpi_select_source_omap5
LBB0_4:
Lloh0:
	adrp	x8, _OMAP_DSS_CHANNEL_LCD2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMAP_DSS_CHANNEL_LCD2@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_8
; %bb.5:
	mov	w0, #0
	ret
LBB0_6:
Lloh3:
	adrp	x8, _OMAP_DSS_CHANNEL_LCD3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OMAP_DSS_CHANNEL_LCD3@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	ret
LBB0_8:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP_DSS_CHANNEL_LCD2,4,2      ; @OMAP_DSS_CHANNEL_LCD2
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OMAP_DSS_CHANNEL_LCD3,4,2      ; @OMAP_DSS_CHANNEL_LCD3
	.no_dead_strip	_dss_dpi_select_source_dra7xx
.subsections_via_symbols
