	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seiko_panel_probe
_seiko_panel_probe:                     ## @seiko_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	$0, (%rax)
	movq	%r15, 48(%rax)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 40(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	40(%rbx), %rdi
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	32(%rbx), %rdi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_8:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	callq	_of_parse_phandle
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_of_find_backlight_by_node
	movl	%eax, 24(%rbx)
	movq	%r15, %rdi
	callq	_of_node_put
	cmpl	$0, 24(%rbx)
	je	LBB0_10
LBB0_11:
	movq	%rbx, %r15
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_drm_panel_init
	movq	%r14, 16(%rbx)
	movq	_seiko_panel_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	%r15, %rdi
	callq	_drm_panel_add
	testl	%eax, %eax
	js	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dev_set_drvdata
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_10:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvdd"

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

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

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_seiko_panel_funcs,4,2          ## @seiko_panel_funcs
	.no_dead_strip	_seiko_panel_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seiko_panel_probe
_seiko_panel_probe:                     ; @seiko_panel_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	xzr, [x0]
	str	x21, [x0, #48]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	x0, [x20, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [x20, #40]
	b	LBB0_8
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x0, [x20, #32]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_9:
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #0
	bl	_of_parse_phandle
	cbz	x0, LBB0_11
; %bb.10:
	mov	x21, x0
	bl	_of_find_backlight_by_node
	str	w0, [x20, #24]
	mov	x0, x21
	bl	_of_node_put
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_13
LBB0_11:
	add	x21, x20, #8
	mov	x0, x21
	bl	_drm_panel_init
Lloh11:
	adrp	x8, _seiko_panel_funcs@GOTPAGE
Lloh12:
	ldr	x8, [x8, _seiko_panel_funcs@GOTPAGEOFF]
	stp	x8, x19, [x20, #8]
	mov	x0, x21
	bl	_drm_panel_add
	tbnz	w0, #31, LBB0_5
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	mov	w0, #0
	b	LBB0_5
LBB0_13:
Lloh13:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvdd"

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

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

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_seiko_panel_funcs,4,2          ; @seiko_panel_funcs
	.no_dead_strip	_seiko_panel_probe
.subsections_via_symbols
