	.file	"extr_pinctrl-rockchip.c_rockchip_pinctrl_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rockchip-pinctrl"
.LC1:
	.string	"%s-%d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"could not register pinctrl driver\n"
	.text
	.p2align 4
	.type	rockchip_pinctrl_register, @function
rockchip_pinctrl_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rax, .LC0[rip]
	mov	edx, 8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 16[rsi], rax
	mov	eax, DWORD PTR THIS_MODULE[rip]
	mov	QWORD PTR [rsp], rsi
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	mov	DWORD PTR 64[rsi], eax
	lea	rax, rockchip_pctrl_ops[rip]
	mov	QWORD PTR 56[rsi], rax
	lea	rax, rockchip_pmx_ops[rip]
	mov	QWORD PTR 48[rsi], rax
	lea	rax, rockchip_pinconf_ops[rip]
	mov	QWORD PTR 40[rsi], rax
	mov	rax, QWORD PTR 8[rsi]
	mov	QWORD PTR 8[rsp], rdi
	mov	esi, DWORD PTR 16[rax]
	call	devm_kcalloc@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR [rsp]
	mov	rbp, rax
	mov	rdx, QWORD PTR 8[rdi]
	mov	QWORD PTR 32[rdi], rax
	mov	esi, DWORD PTR [rdx]
	mov	eax, DWORD PTR 16[rdx]
	mov	DWORD PTR 24[rdi], eax
	test	esi, esi
	jle	.L4
	xor	r13d, r13d
	xor	r15d, r15d
	lea	r12, .LC1[rip]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, QWORD PTR 8[rdx]
	lea	rax, 0[0+r13*8]
	sub	rax, r13
	lea	r14, [rcx+rax*8]
	mov	ecx, DWORD PTR [r14]
	test	ecx, ecx
	jle	.L5
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR 0[rbp], r15d
	mov	edx, DWORD PTR 52[r14]
	mov	ecx, ebx
	mov	rsi, r12
	mov	edi, DWORD PTR GFP_KERNEL[rip]
	add	rbp, 8
	add	ebx, 1
	add	r15d, 1
	call	kasprintf@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR [r14], ebx
	jg	.L6
	mov	rax, QWORD PTR [rsp]
	mov	rdx, QWORD PTR 8[rax]
.L5:
	add	r13, 1
	cmp	DWORD PTR [rdx], r13d
	jg	.L7
.L4:
	mov	rbx, QWORD PTR [rsp]
	mov	r15, QWORD PTR 8[rsp]
	mov	rsi, rbx
	mov	rdi, r15
	call	rockchip_pinctrl_parse_dt@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L18
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	mov	rdi, r15
	lea	rsi, 16[rbx]
	mov	rdx, rbx
	call	devm_pinctrl_register@PLT
	mov	DWORD PTR [rbx], eax
	mov	edi, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR 8[rbx]
	xor	ebp, ebp
	xor	ebx, ebx
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	jle	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, QWORD PTR 8[rax]
	mov	r15, QWORD PTR [rsp]
	add	rsi, rbp
	add	rbp, 56
	mov	rax, QWORD PTR 40[rsi]
	mov	DWORD PTR 8[rsi], ebx
	add	ebx, 1
	mov	QWORD PTR 24[rsi], rax
	mov	rax, QWORD PTR 48[rsi]
	mov	QWORD PTR 32[rsi], rax
	lea	rax, 40[rsi]
	mov	edi, DWORD PTR [r15]
	add	rsi, 8
	mov	QWORD PTR 8[rsi], rax
	call	pinctrl_add_gpio_range@PLT
	mov	rax, QWORD PTR 8[r15]
	cmp	DWORD PTR [rax], ebx
	jg	.L9
	jmp	.L1
.L8:
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC2[rip]
	call	dev_err@PLT
	mov	rax, QWORD PTR [rsp]
	mov	edi, DWORD PTR [rax]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	rockchip_pinctrl_register, .-rockchip_pinctrl_register
	.comm	rockchip_pmx_ops,4,4
	.comm	rockchip_pinconf_ops,4,4
	.comm	rockchip_pctrl_ops,4,4
	.comm	THIS_MODULE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pinctrl-rockchip.c_rockchip_pinctrl_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rockchip-pinctrl\000"
	.align	2
.LC1:
	.ascii	"%s-%d\000"
	.align	2
.LC2:
	.ascii	"could not register pinctrl driver\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rockchip_pinctrl_register, %function
rockchip_pinctrl_register:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r1
	ldr	r2, .L19
	ldr	r3, .L19+4
	ldr	lr, [r2]
	ldr	ip, .L19+8
	ldr	r1, .L19+12
	ldr	r2, .L19+16
	str	r3, [r9, #8]
	ldr	r7, .L19+20
	ldr	r3, [r9, #4]
	sub	sp, sp, #12
	str	r1, [r9, #24]
	str	r2, [r9, #20]
	ldr	r1, [r3, #8]
	mov	r2, #8
	ldr	r3, [r7]
	str	lr, [r9, #32]
	str	ip, [r9, #28]
	str	r0, [sp, #4]
	bl	devm_kcalloc
	subs	r2, r0, #0
	beq	.L17
	ldr	r3, [r9, #4]
	str	r2, [r9, #16]
	ldr	r0, [r3]
	ldr	r1, [r3, #8]
	cmp	r0, #0
	str	r1, [r9, #12]
	ble	.L4
	mov	r8, #0
	mov	r5, r8
	mov	r10, r8
	ldr	fp, .L19+24
	str	r9, [sp]
.L7:
	ldr	r6, [r3, #4]
	ldr	r1, [r6, r8]
	add	r6, r6, r8
	cmp	r1, #0
	ble	.L5
	mov	r9, #0
	add	r4, r2, #8
.L6:
	str	r5, [r4, #-8]
	mov	r3, r9
	ldr	r2, [r6, #40]
	mov	r1, fp
	ldr	r0, [r7]
	bl	kasprintf
	str	r0, [r4, #-4]
	ldr	r3, [r6]
	add	r9, r9, #1
	cmp	r3, r9
	mov	r2, r4
	add	r5, r5, #1
	add	r4, r4, #8
	bgt	.L6
	ldr	r3, [sp]
	ldr	r3, [r3, #4]
.L5:
	ldr	r1, [r3]
	add	r10, r10, #1
	cmp	r1, r10
	add	r8, r8, #44
	bgt	.L7
	ldr	r9, [sp]
.L4:
	ldr	r4, [sp, #4]
	mov	r1, r9
	mov	r0, r4
	bl	rockchip_pinctrl_parse_dt
	subs	r5, r0, #0
	beq	.L18
.L1:
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	mov	r2, r9
	add	r1, r9, #8
	mov	r0, r4
	bl	devm_pinctrl_register
	str	r0, [r9]
	bl	IS_ERR
	subs	r5, r0, #0
	bne	.L8
	ldr	r3, [r9, #4]
	ldr	r2, [r3]
	cmp	r2, #0
	movgt	r4, r5
	ble	.L1
.L9:
	ldr	r1, [r3, #4]
	add	r3, r4, r4, lsl #2
	add	r3, r4, r3, lsl #1
	add	r1, r1, r3, lsl #2
	ldr	r2, [r1, #28]
	add	r3, r1, #28
	add	r0, r1, #32
	ldm	r0, {r0, ip, lr}
	add	r1, r1, #4
	str	r4, [r1]
	str	r0, [r1, #12]
	str	r2, [r1, #8]
	str	r3, [r1, #4]
	str	lr, [r1, #20]
	str	ip, [r1, #16]
	ldr	r0, [r9]
	bl	pinctrl_add_gpio_range
	ldr	r3, [r9, #4]
	add	r4, r4, #1
	ldr	r2, [r3]
	cmp	r2, r4
	bgt	.L9
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r3, .L19+28
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r0, [sp, #4]
	ldr	r1, .L19+32
	bl	dev_err
	ldr	r0, [r9]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	PTR_ERR
.L20:
	.align	2
.L19:
	.word	THIS_MODULE
	.word	.LC0
	.word	rockchip_pctrl_ops
	.word	rockchip_pmx_ops
	.word	rockchip_pinconf_ops
	.word	GFP_KERNEL
	.word	.LC1
	.word	ENOMEM
	.word	.LC2
	.size	rockchip_pinctrl_register, .-rockchip_pinctrl_register
	.comm	rockchip_pmx_ops,4,4
	.comm	rockchip_pinconf_ops,4,4
	.comm	rockchip_pctrl_ops,4,4
	.comm	THIS_MODULE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
