	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx_pinctrl_parse_groups
_imx_pinctrl_parse_groups:              ## @imx_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, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdx), %r13
	movl	(%rdx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ecx, %edx
	movq	%r12, %rcx
	callq	_dev_dbg
	movl	(%r13), %ecx
	movq	_IMX_USE_SCU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	movq	_SHARE_MUX_CONF_REG@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	jne	LBB0_1
## %bb.2:
	movq	_FSL_PIN_SIZE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_FSL_PIN_SHARE_SIZE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	movq	_FSL_SCU_PIN_SIZE@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %eax
	leal	-4(%rax), %ebx
	cmpq	$0, 8(%r13)
	cmovel	%eax, %ebx
	movl	(%r12), %eax
	movl	%eax, 24(%r14)
	leaq	L_.str.1(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_get_property
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	_of_get_property
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_7
LBB0_9:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	cltd
	idivl	%ebx
	testl	%edx, %edx
	je	LBB0_12
LBB0_11:
	movl	(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_8:
	movq	%r12, %rdx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_19:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%eax, (%r14)
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	%eax, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%r14)
	movl	(%r15), %edi
	movl	(%r14), %esi
	movl	(%rbx), %ecx
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	movq	16(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.14:
	cmpl	$0, (%r14)
	jle	LBB0_22
## %bb.15:
	movq	%r13, %rbx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r12d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	addq	%r13, %rdx
	movq	_IMX_USE_SCU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r14), %rsi
	addq	%r13, %rsi
	testl	%eax, (%rbx)
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r15, %rdi
	leaq	-56(%rbp), %rcx
	callq	_imx_pinctrl_parse_pin_scu
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%r15, %rdi
	leaq	-56(%rbp), %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_imx_pinctrl_parse_pin_mmio
LBB0_21:                                ##   in Loop: Header=BB0_16 Depth=1
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jge	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	16(%r14), %rdx
	addq	$4, %r13
	incq	%r12
	jmp	LBB0_16
LBB0_7:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_8
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_19
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"group(%d): %pOFn\n"

	.comm	_IMX_USE_SCU,4,2                ## @IMX_USE_SCU
	.comm	_FSL_SCU_PIN_SIZE,4,2           ## @FSL_SCU_PIN_SIZE
	.comm	_SHARE_MUX_CONF_REG,4,2         ## @SHARE_MUX_CONF_REG
	.comm	_FSL_PIN_SHARE_SIZE,4,2         ## @FSL_PIN_SHARE_SIZE
	.comm	_FSL_PIN_SIZE,4,2               ## @FSL_PIN_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"fsl,pins"

L_.str.2:                               ## @.str.2
	.asciz	"pinmux"

L_.str.3:                               ## @.str.3
	.asciz	"no fsl,pins and pins property in node %pOF\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"Invalid fsl,pins or pins property in node %pOF\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_imx_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 imx_pinctrl_parse_groups
_imx_pinctrl_parse_groups:              ; @imx_pinctrl_parse_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x2, #8]
	ldr	w0, [x2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x3
	mov	x3, x19
	bl	_dev_dbg
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _IMX_USE_SCU@GOTPAGE
Lloh3:
	ldr	x23, [x23, _IMX_USE_SCU@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh4:
	adrp	x10, _SHARE_MUX_CONF_REG@GOTPAGE
Lloh5:
	ldr	x10, [x10, _SHARE_MUX_CONF_REG@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
Lloh7:
	adrp	x11, _FSL_PIN_SIZE@GOTPAGE
Lloh8:
	ldr	x11, [x11, _FSL_PIN_SIZE@GOTPAGEOFF]
Lloh9:
	adrp	x12, _FSL_PIN_SHARE_SIZE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _FSL_PIN_SHARE_SIZE@GOTPAGEOFF]
	tst	w10, w8
	csel	x10, x11, x12, eq
Lloh11:
	adrp	x11, _FSL_SCU_PIN_SIZE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _FSL_SCU_PIN_SIZE@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	ldr	x9, [x22, #8]
	sub	w10, w8, #4
	cmp	x9, #0
	csel	w24, w8, w10, eq
	ldr	w8, [x19]
	str	w8, [x21, #24]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_of_get_property
	str	x0, [sp]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_of_get_property
	str	x0, [sp]
	cbz	x0, LBB0_17
LBB0_2:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
	sdiv	w1, w8, w24
	msub	w8, w1, w24, w8
	cbz	w8, LBB0_8
LBB0_4:
	ldr	w0, [x20]
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_5:
	mov	x2, x19
	bl	_dev_err
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	add	sp, sp, #96
	ret
LBB0_8:
	str	w1, [x21]
	ldr	w0, [x20]
Lloh21:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh22:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x24]
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x21, #16]
	ldr	w0, [x20]
	ldr	w1, [x21]
	ldr	w3, [x24]
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_18
; %bb.9:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_18
; %bb.10:
	ldr	w9, [x21]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.11:
	mov	x24, #0
	mov	w25, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x2, x8, x24
	ldr	w8, [x22]
	ldr	w9, [x23]
	ldr	x10, [x21, #8]
	add	x1, x10, x24
	mov	x3, sp
	mov	x0, x20
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_imx_pinctrl_parse_pin_scu
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x4, x19
	bl	_imx_pinctrl_parse_pin_mmio
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	ldrsw	x8, [x21]
	cmp	x25, x8
	b.ge	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x21, #16]
	add	x24, x24, #4
	add	x25, x25, #1
	b	LBB0_12
LBB0_17:
	ldr	w0, [x20]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_18:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_19:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"group(%d): %pOFn\n"

	.comm	_IMX_USE_SCU,4,2                ; @IMX_USE_SCU
	.comm	_FSL_SCU_PIN_SIZE,4,2           ; @FSL_SCU_PIN_SIZE
	.comm	_SHARE_MUX_CONF_REG,4,2         ; @SHARE_MUX_CONF_REG
	.comm	_FSL_PIN_SHARE_SIZE,4,2         ; @FSL_PIN_SHARE_SIZE
	.comm	_FSL_PIN_SIZE,4,2               ; @FSL_PIN_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"fsl,pins"

l_.str.2:                               ; @.str.2
	.asciz	"pinmux"

l_.str.3:                               ; @.str.3
	.asciz	"no fsl,pins and pins property in node %pOF\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"Invalid fsl,pins or pins property in node %pOF\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_imx_pinctrl_parse_groups
.subsections_via_symbols
