	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_pinctrl_parse_groups
_at91_pinctrl_parse_groups:             ## @at91_pinctrl_parse_groups
	.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, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ecx, %edx
	movq	%rbx, %rcx
	callq	_dev_dbg
	movl	(%rbx), %eax
	movl	%eax, 24(%r15)
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_get_property
	movq	%rax, %r12
	movl	-44(%rbp), %ecx
	movl	%ecx, %eax
	sarl	$2, %eax
	movl	%eax, -44(%rbp)
	cmpl	$4, %ecx
	jb	LBB0_2
## %bb.1:
	andl	$12, %ecx
	jne	LBB0_2
## %bb.3:
	leal	3(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$2, %esi
	movl	%esi, (%r15)
	movl	(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	$32, %edx
	callq	_devm_kcalloc
	movq	%rax, %rbx
	movq	%rax, 16(%r15)
	movl	(%r13), %edi
	movl	(%r15), %esi
	movl	(%r14), %ecx
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r15)
	cmpq	$0, 16(%r15)
	je	LBB0_9
## %bb.4:
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	cmpl	$0, -44(%rbp)
	jle	LBB0_8
## %bb.6:
	xorl	%r14d, %r14d
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r14,4), %edi
	callq	_be32_to_cpu
	leaq	(%rbx,%r14,8), %r13
	movl	%eax, (%rbx,%r14,8)
	movl	4(%r12,%r14,4), %edi
	callq	_be32_to_cpu
	movq	%rax, 24(%rbx,%r14,8)
	movslq	(%rbx,%r14,8), %rcx
	movq	_MAX_NB_GPIO_PER_BANK@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	%rcx, %rdx
	addq	%rax, %rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rdx, (%rax,%r14,2)
	movl	8(%r12,%r14,4), %edi
	callq	_be32_to_cpu
	movq	%rax, 16(%rbx,%r14,8)
	movl	12(%r12,%r14,4), %edi
	callq	_be32_to_cpu
	movq	%rax, 8(%rbx,%r14,8)
	movl	(%r15), %edi
	movq	%r13, %rsi
	callq	_at91_pin_dbg
	addq	$4, %r14
	cmpl	-44(%rbp), %r14d
	jl	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_2:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_10:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"group(%d): %pOFn\n"

L_.str.1:                               ## @.str.1
	.asciz	"atmel,pins"

L_.str.2:                               ## @.str.2
	.asciz	"wrong pins number or pins and configs should be by 4\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MAX_NB_GPIO_PER_BANK,4,2       ## @MAX_NB_GPIO_PER_BANK
	.no_dead_strip	_at91_pinctrl_parse_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_pinctrl_parse_groups
_at91_pinctrl_parse_groups:             ; @at91_pinctrl_parse_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x3
	mov	x3, x21
	bl	_dev_dbg
	ldr	w8, [x21]
	str	w8, [x20, #24]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_of_get_property
	ldr	w9, [sp, #12]
	asr	w8, w9, #2
	str	w8, [sp, #12]
	and	w10, w9, #0xc
	cmp	w9, #4
	ccmp	w10, #0, #0, hs
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x21, x0
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w1, w8, #2
	str	w1, [x20]
	ldr	w0, [x19]
Lloh8:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	w2, #32
	bl	_devm_kcalloc
	mov	x22, x0
	str	x0, [x20, #16]
	ldr	w0, [x19]
	ldr	w1, [x20]
	ldr	w3, [x23]
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x20, #8]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_8
; %bb.3:
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x24, #0
	mov	x25, #0
Lloh10:
	adrp	x26, _MAX_NB_GPIO_PER_BANK@GOTPAGE
Lloh11:
	ldr	x26, [x26, _MAX_NB_GPIO_PER_BANK@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x27, x21, x24, lsl #2
	ldr	w0, [x27]
	bl	_be32_to_cpu
	add	x23, x22, x25, lsl #2
	str	w0, [x23]
	ldr	w0, [x27, #4]
	bl	_be32_to_cpu
	str	x0, [x23, #24]
	ldrsw	x8, [x23]
	ldrsw	x9, [x26]
	madd	x8, x9, x8, x0
	ldr	x9, [x20, #8]
	str	x8, [x9, x25]
	ldr	w0, [x27, #8]
	bl	_be32_to_cpu
	str	x0, [x23, #16]
	ldr	w0, [x27, #12]
	bl	_be32_to_cpu
	str	x0, [x23, #8]
	ldr	w0, [x19]
	mov	x1, x23
	bl	_at91_pin_dbg
	ldr	w8, [sp, #12]
	add	x25, x25, #8
	add	x24, x24, #4
	cmp	w24, w8
	b.lt	LBB0_6
LBB0_7:
	mov	w0, #0
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"group(%d): %pOFn\n"

l_.str.1:                               ; @.str.1
	.asciz	"atmel,pins"

l_.str.2:                               ; @.str.2
	.asciz	"wrong pins number or pins and configs should be by 4\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MAX_NB_GPIO_PER_BANK,4,2       ; @MAX_NB_GPIO_PER_BANK
	.no_dead_strip	_at91_pinctrl_parse_groups
.subsections_via_symbols
