	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wuxga_nt_panel_add
_wuxga_nt_panel_add:                    ## @wuxga_nt_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_default_mode@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rdi)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movl	%eax, 32(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movl	32(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_of_parse_phandle
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_of_find_backlight_by_node
	movq	%rax, (%rbx)
	movq	%r15, %rdi
	callq	_of_node_put
	cmpq	$0, (%rbx)
	je	LBB0_3
LBB0_4:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_drm_panel_init
	movq	_wuxga_nt_panel_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	24(%rbx), %rax
	movq	%rax, 8(%rbx)
	movq	%r15, %rdi
	callq	_drm_panel_add
	testl	%eax, %eax
	jns	LBB0_8
## %bb.5:
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_put_device
LBB0_7:
	movl	%r15d, %r14d
	jmp	LBB0_8
LBB0_3:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_default_mode,4,2               ## @default_mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"power"

L_.str.1:                               ## @.str.1
	.asciz	"backlight"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_wuxga_nt_panel_funcs,4,2       ## @wuxga_nt_panel_funcs
	.no_dead_strip	_wuxga_nt_panel_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wuxga_nt_panel_add
_wuxga_nt_panel_add:                    ; @wuxga_nt_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, #24]
Lloh0:
	adrp	x8, _default_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _default_mode@GOTPAGEOFF]
	str	x8, [x0, #40]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_devm_regulator_get
	str	w0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19, #32]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_of_parse_phandle
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	bl	_of_find_backlight_by_node
	str	x0, [x19]
	mov	x0, x20
	bl	_of_node_put
	ldr	x8, [x19]
	cbz	x8, LBB0_8
LBB0_4:
	add	x20, x19, #8
	mov	x0, x20
	bl	_drm_panel_init
Lloh6:
	adrp	x8, _wuxga_nt_panel_funcs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _wuxga_nt_panel_funcs@GOTPAGEOFF]
	ldr	x9, [x19, #24]
	stp	x9, x8, [x19, #8]
	mov	x0, x20
	bl	_drm_panel_add
	tbnz	w0, #31, LBB0_6
; %bb.5:
	mov	w20, #0
	b	LBB0_9
LBB0_6:
	mov	x20, x0
	ldr	x0, [x19]
	cbz	x0, LBB0_9
; %bb.7:
	bl	_put_device
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_default_mode,4,2               ; @default_mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"power"

l_.str.1:                               ; @.str.1
	.asciz	"backlight"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_wuxga_nt_panel_funcs,4,2       ; @wuxga_nt_panel_funcs
	.no_dead_strip	_wuxga_nt_panel_add
.subsections_via_symbols
