	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_ext_get_of_pdata
_gpio_ext_get_of_pdata:                 ## @gpio_ext_get_of_pdata
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_of_gpio_named_count
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_14
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	%rax, %rbx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.3:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	xorl	%r15d, %r15d
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_of_get_named_gpio
	testl	%eax, %eax
	js	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, (%rbx,%r15,4)
	incq	%r15
	cmpq	%r15, %r12
	jne	LBB0_4
LBB0_6:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rcx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_of_gpio_named_count
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_17
## %bb.7:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	%rax, %r15
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.9:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	xorl	%ebx, %ebx
	leaq	L_.str.2(%rip), %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_of_get_named_gpio
	testl	%eax, %eax
	js	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_10
LBB0_12:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r15, 16(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%rbx)
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_of_get_named_gpio
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_21
## %bb.13:
	movl	%r14d, 28(%rbx)
	xorl	%r14d, %r14d
	jmp	LBB0_20
LBB0_14:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_20
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_20
LBB0_19:
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_17:
	leaq	L_.str.3(%rip), %rsi
LBB0_18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_err
LBB0_20:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"addr-gpios"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to count GPIOs in DT property addr-gpios\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"data-gpios"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to count GPIOs in DT property data-gpios\n"

L_.str.4:                               ## @.str.4
	.asciz	"enable-gpio"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to get GPIO from DT property enable-gpio\n"

	.no_dead_strip	_gpio_ext_get_of_pdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_ext_get_of_pdata
_gpio_ext_get_of_pdata:                 ; @gpio_ext_get_of_pdata
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_of_gpio_named_count
	mov	x19, x0
	tbnz	w0, #31, LBB0_14
; %bb.1:
Lloh2:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x26]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	bl	_devm_kcalloc
	cbz	x0, LBB0_15
; %bb.2:
	mov	x23, x0
	cbz	w19, LBB0_6
; %bb.3:
	mov	x24, #0
	mov	w27, w19
Lloh4:
	adrp	x25, l_.str@PAGE
Lloh5:
	add	x25, x25, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x25
	mov	x2, x24
	bl	_of_get_named_gpio
	tbnz	w0, #31, LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w0, [x23, x24, lsl #2]
	add	x24, x24, #1
	cmp	x27, x24
	b.ne	LBB0_4
LBB0_6:
	str	x23, [x21]
	str	w19, [x21, #8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_of_gpio_named_count
	mov	x19, x0
	tbnz	w0, #31, LBB0_17
; %bb.7:
	ldr	w3, [x26]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	bl	_devm_kcalloc
	cbz	x0, LBB0_15
; %bb.8:
	mov	x23, x0
	cbz	w19, LBB0_12
; %bb.9:
	mov	x24, #0
	mov	w26, w19
Lloh8:
	adrp	x25, l_.str.2@PAGE
Lloh9:
	add	x25, x25, l_.str.2@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x25
	mov	x2, x24
	bl	_of_get_named_gpio
	tbnz	w0, #31, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	str	w0, [x23, x24, lsl #2]
	add	x24, x24, #1
	cmp	x26, x24
	b.ne	LBB0_10
LBB0_12:
	str	x23, [x21, #16]
	str	w19, [x21, #24]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	w2, #0
	bl	_of_get_named_gpio
	mov	x19, x0
	tbnz	w0, #31, LBB0_20
; %bb.13:
	str	w19, [x21, #28]
	mov	w19, #0
	b	LBB0_19
LBB0_14:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_15:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_19
LBB0_16:
	mov	x19, x0
	b	LBB0_19
LBB0_17:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_18:
	mov	x0, x20
	bl	_dev_err
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"addr-gpios"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to count GPIOs in DT property addr-gpios\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"data-gpios"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to count GPIOs in DT property data-gpios\n"

l_.str.4:                               ; @.str.4
	.asciz	"enable-gpio"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to get GPIO from DT property enable-gpio\n"

	.no_dead_strip	_gpio_ext_get_of_pdata
.subsections_via_symbols
