	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdfld_dsi_read_mcs             ## -- Begin function mdfld_dsi_read_mcs
	.p2align	4, 0x90
_mdfld_dsi_read_mcs:                    ## @mdfld_dsi_read_mcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%esi, -4(%rbp)
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdx, %rax
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movl	%ecx, %r9d
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.4:
	movq	_MIPI_DSI_DCS_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%r8d, (%rsp)
	leaq	-4(%rbp), %rdx
	movl	$1, %ecx
	movq	%rax, %r8
	callq	___read_panel_data
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_ERROR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid parameters\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MIPI_DSI_DCS_READ,4,2          ## @MIPI_DSI_DCS_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdfld_dsi_read_mcs             ; -- Begin function mdfld_dsi_read_mcs
	.p2align	2
_mdfld_dsi_read_mcs:                    ; @mdfld_dsi_read_mcs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	stur	w1, [x29, #-4]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x6, x4
	mov	x4, x2
	cbz	x2, LBB0_4
; %bb.2:
	mov	x5, x3
	cbz	w3, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _MIPI_DSI_DCS_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIPI_DSI_DCS_READ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	mov	w3, #1
	bl	___read_panel_data
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid parameters\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MIPI_DSI_DCS_READ,4,2          ; @MIPI_DSI_DCS_READ
.subsections_via_symbols
