	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx1_pinctrl_parse_groups
_imx1_pinctrl_parse_groups:             ## @imx1_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	(%rdx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ecx, %edx
	movq	%r12, %rcx
	callq	_dev_dbg
	movl	(%r12), %eax
	movl	%eax, 24(%r13)
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_get_property
	movq	%rax, %r14
	movslq	-44(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	imulq	$715827883, %rax, %rsi          ## imm = 0x2AAAAAAB
	movq	%rsi, %rcx
	shrq	$63, %rcx
	sarq	$33, %rsi
	addl	%ecx, %esi
	leal	(,%rsi,4), %ecx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %eax
	jne	LBB0_2
## %bb.3:
	movl	%esi, (%r13)
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r13)
	movl	(%r15), %edi
	movl	(%r13), %esi
	movl	(%rbx), %ecx
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%r13)
	cmpq	$0, 8(%r13)
	je	LBB0_7
## %bb.4:
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpl	$0, (%r13)
	jle	LBB0_6
## %bb.9:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx), %edi
	callq	_be32_to_cpu
	movq	8(%r13), %rcx
	movq	%rax, (%rcx,%rbx,2)
	movl	4(%r14,%rbx), %edi
	callq	_be32_to_cpu
	movq	8(%r13), %rcx
	movq	%rax, 16(%rcx,%rbx,2)
	movl	8(%r14,%rbx), %edi
	callq	_be32_to_cpu
	movq	8(%r13), %rcx
	movq	%rax, 8(%rcx,%rbx,2)
	movq	(%rcx,%rbx,2), %rax
	movq	16(%r13), %rcx
	movq	%rax, (%rcx,%r12,8)
	incq	%r12
	movslq	(%r13), %rax
	addq	$12, %rbx
	cmpq	%rax, %r12
	jl	LBB0_10
	jmp	LBB0_11
LBB0_2:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdx
	callq	_dev_notice
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"group(%d): %pOFn\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"Not a valid fsl,pins property (%pOFn)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_imx1_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 imx1_pinctrl_parse_groups
_imx1_pinctrl_parse_groups:             ; @imx1_pinctrl_parse_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w0, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x3
	mov	x3, x22
	bl	_dev_dbg
	ldr	w8, [x22]
	str	w8, [x19, #24]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x22
	bl	_of_get_property
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_8
; %bb.1:
	mov	w9, #43691
	movk	w9, #10922, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w1, w9, w10
	mov	w9, #12
	msub	w8, w1, w9, w8
	cbnz	w8, LBB0_8
; %bb.2:
	mov	x20, x0
	str	w1, [x19]
	ldr	w0, [x21]
Lloh4:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x19, #8]
	ldr	w0, [x21]
	ldr	w1, [x19]
	ldr	w3, [x22]
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x19, #16]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.3:
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x21, #0
	mov	x22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_be32_to_cpu
	ldr	x8, [x19, #8]
	str	x0, [x8, x21]
	ldr	w0, [x20, #4]
	bl	_be32_to_cpu
	ldr	x8, [x19, #8]
	add	x8, x8, x21
	str	x0, [x8, #16]
	ldr	w0, [x20, #8]
	bl	_be32_to_cpu
	ldp	x8, x9, [x19, #8]
	add	x8, x8, x21
	str	x0, [x8, #8]
	ldr	x8, [x8]
	str	x8, [x9, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #24
	add	x20, x20, #12
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_7:
	mov	w0, #0
	b	LBB0_11
LBB0_8:
	ldr	w0, [x21]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x22
	bl	_dev_notice
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"group(%d): %pOFn\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"Not a valid fsl,pins property (%pOFn)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_imx1_pinctrl_parse_groups
.subsections_via_symbols
