	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sharp_panel_probe
_sharp_panel_probe:                     ## @sharp_panel_probe
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$4, (%rdi)
	movq	_MIPI_DSI_FMT_RGB888@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_MIPI_DSI_MODE_LPM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_of_parse_phandle
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%r15, %rdi
	callq	_of_find_mipi_dsi_device_by_node
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_of_node_put
	testq	%r12, %r12
	je	LBB0_6
## %bb.8:
	leaq	4(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_mipi_dsi_set_drvdata
	movq	%r12, 8(%r13)
	movq	%rbx, (%r13)
	movq	%r13, %rdi
	callq	_sharp_panel_add
	testl	%eax, %eax
	jns	LBB0_2
## %bb.11:
	addq	$4, %r12
	movq	%r12, %rdi
	movl	%eax, %r14d
	callq	_put_device
	jmp	LBB0_12
LBB0_1:
                                        ## implicit-def: $r13
LBB0_2:
	movq	%rbx, %rdi
	callq	_mipi_dsi_attach
	testl	%eax, %eax
	cmovsl	%eax, %r14d
	jns	LBB0_12
## %bb.3:
	testq	%r15, %r15
	je	LBB0_12
## %bb.4:
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_sharp_panel_del
	movl	%ebx, %r14d
	jmp	LBB0_12
LBB0_6:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_put_device
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIPI_DSI_FMT_RGB888,4,2        ## @MIPI_DSI_FMT_RGB888
	.comm	_MIPI_DSI_MODE_LPM,4,2          ## @MIPI_DSI_MODE_LPM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link2"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_sharp_panel_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sharp_panel_probe
_sharp_panel_probe:                     ; @sharp_panel_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	w8, #4
	str	w8, [x0]
Lloh0:
	adrp	x8, _MIPI_DSI_FMT_RGB888@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIPI_DSI_FMT_RGB888@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MIPI_DSI_MODE_LPM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MIPI_DSI_MODE_LPM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	mov	x22, x0
	ldr	w0, [x22, #4]!
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #0
	bl	_of_parse_phandle
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_of_find_mipi_dsi_device_by_node
	mov	x21, x0
	mov	x0, x20
	bl	_of_node_put
	cbz	x21, LBB0_9
; %bb.2:
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_mipi_dsi_set_drvdata
	stp	x19, x21, [x22]
	mov	x0, x22
	bl	_sharp_panel_add
	tbz	w0, #31, LBB0_6
; %bb.4:
	mov	x23, x0
	add	x0, x21, #4
	bl	_put_device
	b	LBB0_12
LBB0_5:
                                        ; implicit-def: $x22
LBB0_6:
	mov	x0, x19
	bl	_mipi_dsi_attach
	cmp	w0, #0
	csel	w23, wzr, w0, ge
	tbz	w0, #31, LBB0_12
; %bb.7:
	cbz	x20, LBB0_12
; %bb.8:
	mov	x19, x0
	mov	x0, x22
	bl	_sharp_panel_del
	mov	x23, x19
	b	LBB0_12
LBB0_9:
Lloh11:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	add	x0, x21, #4
	bl	_put_device
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_12:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MIPI_DSI_FMT_RGB888,4,2        ; @MIPI_DSI_FMT_RGB888
	.comm	_MIPI_DSI_MODE_LPM,4,2          ; @MIPI_DSI_MODE_LPM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link2"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_sharp_panel_probe
.subsections_via_symbols
