	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm3692x_probe_dt
_lm3692x_probe_dt:                      ## @lm3692x_probe_dt
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movq	(%rdi), %rdi
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_devm_gpiod_get_optional
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	24(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_4:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_devm_regulator_get
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	$0, 16(%rbx)
LBB0_7:
	movq	(%rbx), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_device_get_next_child_node
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rax, %r12
	leaq	8(%rbx), %r15
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	movq	%r15, %rdx
	callq	_fwnode_property_read_string
	leaq	12(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_fwnode_property_read_u32
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_4
LBB0_10:
	movq	(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_4
LBB0_11:
	movq	%r12, -40(%rbp)
	movq	(%rbx), %rdi
	movl	4(%rdi), %eax
	movl	%eax, -48(%rbp)
	leaq	L_.str.7(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%r15, %rsi
	callq	_devm_led_classdev_register_ext
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_2
LBB0_13:
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enable"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.1:                               ## @.str.1
	.asciz	"Failed to get enable gpio: %d\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"No LED Child node\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.4:                               ## @.str.4
	.asciz	"linux,default-trigger"

L_.str.5:                               ## @.str.5
	.asciz	"reg"

L_.str.6:                               ## @.str.6
	.asciz	"reg DT property missing\n"

L_.str.7:                               ## @.str.7
	.asciz	":"

L_.str.8:                               ## @.str.8
	.asciz	"led register err: %d\n"

	.no_dead_strip	_lm3692x_probe_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm3692x_probe_dt
_lm3692x_probe_dt:                      ; @lm3692x_probe_dt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	str	xzr, [sp, #16]
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_devm_gpiod_get_optional
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x0, [x19, #24]
	bl	_PTR_ERR
	mov	x20, x0
	ldr	x0, [x19]
	str	x20, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_2:
	bl	_dev_err
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	ldr	x0, [x19]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_devm_regulator_get
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	str	xzr, [x19, #16]
LBB0_6:
	ldr	x0, [x19]
	mov	x1, #0
	bl	_device_get_next_child_node
	cbz	x0, LBB0_9
; %bb.7:
	mov	x22, x0
	add	x21, x19, #8
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x21
	bl	_fwnode_property_read_string
	add	x2, x19, #12
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_fwnode_property_read_u32
	cbz	w0, LBB0_10
; %bb.8:
	mov	x20, x0
	ldr	x0, [x19]
Lloh13:
	adrp	x1, l_.str.6@PAGE
Lloh14:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_2
LBB0_9:
	ldr	x0, [x19]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_3
LBB0_10:
	str	x22, [sp, #24]
	ldr	x0, [x19]
	ldr	w8, [x0, #4]
	str	w8, [sp, #16]
Lloh20:
	adrp	x8, l_.str.7@PAGE
Lloh21:
	add	x8, x8, l_.str.7@PAGEOFF
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x1, x21
	bl	_devm_led_classdev_register_ext
	mov	x20, x0
	cbz	w0, LBB0_3
; %bb.11:
	ldr	x0, [x19]
	str	x20, [sp]
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_err
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	b	LBB0_3
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enable"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.1:                               ; @.str.1
	.asciz	"Failed to get enable gpio: %d\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"No LED Child node\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.4:                               ; @.str.4
	.asciz	"linux,default-trigger"

l_.str.5:                               ; @.str.5
	.asciz	"reg"

l_.str.6:                               ; @.str.6
	.asciz	"reg DT property missing\n"

l_.str.7:                               ; @.str.7
	.asciz	":"

l_.str.8:                               ; @.str.8
	.asciz	"led register err: %d\n"

	.no_dead_strip	_lm3692x_probe_dt
.subsections_via_symbols
