	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_find_regulator_gpio
_of_find_regulator_gpio:                ## @of_find_regulator_gpio
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	l___const.of_find_regulator_gpio.whitelist+16(%rip), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.of_find_regulator_gpio.whitelist(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	(%rdi), %r15
	movq	_CONFIG_REGULATOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.4:
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_match_string
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_of_get_named_gpiod_flags
	jmp	LBB0_7
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wlf,ldoena"

L_.str.1:                               ## @.str.1
	.asciz	"wlf,ldo1ena"

L_.str.2:                               ## @.str.2
	.asciz	"wlf,ldo2ena"

	.section	__DATA,__const
	.p2align	4                               ## @__const.of_find_regulator_gpio.whitelist
l___const.of_find_regulator_gpio.whitelist:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2

	.comm	_CONFIG_REGULATOR,4,2           ## @CONFIG_REGULATOR
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_of_find_regulator_gpio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_find_regulator_gpio
_of_find_regulator_gpio:                ; @of_find_regulator_gpio
	.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, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, l___const.of_find_regulator_gpio.whitelist@PAGE
Lloh4:
	add	x8, x8, l___const.of_find_regulator_gpio.whitelist@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
	ldr	x21, [x0]
Lloh5:
	adrp	x8, _CONFIG_REGULATOR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CONFIG_REGULATOR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	w0, LBB0_4
; %bb.1:
	cbz	x20, LBB0_4
; %bb.2:
	mov	x0, sp
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, sp
	mov	x2, x20
	bl	_match_string
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	x3, x19
	bl	_of_get_named_gpiod_flags
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _ENOENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x9, [sp, #24]
Lloh11:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_9
; %bb.5:
	neg	w0, w8
	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
	b	_ERR_PTR
LBB0_6:
Lloh14:
	adrp	x8, _ENOENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
LBB0_7:
	ldr	x8, [sp, #24]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	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_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wlf,ldoena"

l_.str.1:                               ; @.str.1
	.asciz	"wlf,ldo1ena"

l_.str.2:                               ; @.str.2
	.asciz	"wlf,ldo2ena"

	.section	__DATA,__const
	.p2align	3                               ; @__const.of_find_regulator_gpio.whitelist
l___const.of_find_regulator_gpio.whitelist:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2

	.comm	_CONFIG_REGULATOR,4,2           ; @CONFIG_REGULATOR
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_of_find_regulator_gpio
.subsections_via_symbols
