	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devm_fwnode_get_index_gpiod_from_child ## -- Begin function devm_fwnode_get_index_gpiod_from_child
	.p2align	4, 0x90
_devm_fwnode_get_index_gpiod_from_child: ## @devm_fwnode_get_index_gpiod_from_child
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	movl	%r8d, -88(%rbp)                 ## 4-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	%edx, -84(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_devm_gpiod_release@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_devres_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	_gpio_suffixes@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	leaq	-80(%rbp), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %r8
	movq	%r12, %rdi
	movl	$32, %esi
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str.1(%rip), %rdx
	movq	%r8, %rcx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	callq	_fwnode_get_named_gpiod
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	callq	_PTR_ERR
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %r14
	jb	LBB0_7
	jmp	LBB0_12
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.5:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_2:
                                        ## implicit-def: $r13
LBB0_12:
	movq	%r13, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_devres_free
	jmp	LBB0_15
LBB0_14:
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, (%rsi)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_devres_add
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movq	%r13, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_devm_gpiod_release,4,2         ## @devm_gpiod_release
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_gpio_suffixes,8,3              ## @gpio_suffixes
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%s"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_devm_fwnode_get_index_gpiod_from_child ; -- Begin function devm_fwnode_get_index_gpiod_from_child
	.p2align	2
_devm_fwnode_get_index_gpiod_from_child: ; @devm_fwnode_get_index_gpiod_from_child
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _devm_gpiod_release@GOTPAGE
Lloh4:
	ldr	x8, [x8, _devm_gpiod_release@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_devres_alloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
Lloh9:
	adrp	x19, _gpio_suffixes@GOTPAGE
Lloh10:
	ldr	x19, [x19, _gpio_suffixes@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_11
; %bb.2:
	mov	x26, #0
Lloh11:
	adrp	x27, _ENOENT@GOTPAGE
Lloh12:
	ldr	x27, [x27, _ENOENT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x3, [x8, x26, lsl #3]
	cbz	x25, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x3, [sp]
	add	x0, sp, #24
	mov	w1, #32
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x25
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #24
	mov	w1, #32
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_snprintf
	add	x1, sp, #24
	mov	x0, x23
	mov	x2, x24
	mov	x3, x22
	mov	x4, x21
	bl	_fwnode_get_named_gpiod
	mov	x28, x0
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
	bl	_PTR_ERR
	ldr	w8, [x27]
	cmn	w0, w8
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	x26, w0, uxtw
	b.lo	LBB0_3
	b	LBB0_12
LBB0_9:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	x9, [sp, #56]
Lloh20:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_17
; %bb.10:
	neg	w0, w8
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_ERR_PTR
LBB0_11:
                                        ; implicit-def: $x28
LBB0_12:
	mov	x0, x28
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
	mov	x0, x20
	bl	_devres_free
	b	LBB0_15
LBB0_14:
	str	x28, [x20]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_devres_add
LBB0_15:
	ldr	x8, [sp, #56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x28
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_devm_gpiod_release,4,2         ; @devm_gpiod_release
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_gpio_suffixes,8,3              ; @gpio_suffixes
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%s"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
