	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sharp_panel_add
_sharp_panel_add:                       ## @sharp_panel_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	_default_mode@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rdi)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movl	%eax, 28(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	28(%rbx), %edi
	jmp	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	callq	_devm_of_find_backlight
	movl	%eax, 24(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	24(%rbx), %edi
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	callq	_drm_panel_init
	movq	_sharp_panel_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_drm_panel_add                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_default_mode,4,2               ## @default_mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"power"

	.comm	_sharp_panel_funcs,4,2          ## @sharp_panel_funcs
	.no_dead_strip	_sharp_panel_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sharp_panel_add
_sharp_panel_add:                       ; @sharp_panel_add
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _default_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _default_mode@GOTPAGEOFF]
	str	x8, [x0, #32]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_devm_regulator_get
	str	w0, [x19, #28]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #28]
	b	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_devm_of_find_backlight
	str	w0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x19, #24]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
	mov	x0, x19
	bl	_drm_panel_init
Lloh4:
	adrp	x8, _sharp_panel_funcs@GOTPAGE
Lloh5:
	ldr	x8, [x8, _sharp_panel_funcs@GOTPAGEOFF]
	ldr	x9, [x19, #16]
	stp	x9, x8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_panel_add
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_default_mode,4,2               ; @default_mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"power"

	.comm	_sharp_panel_funcs,4,2          ; @sharp_panel_funcs
	.no_dead_strip	_sharp_panel_add
.subsections_via_symbols
