	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rockchip_pinctrl_register
_rockchip_pinctrl_register:             ## @rockchip_pinctrl_register
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rax
	movq	%rax, 16(%rsi)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rsi)
	movq	_rockchip_pctrl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rsi)
	movq	_rockchip_pmx_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rsi)
	movq	_rockchip_pinconf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rsi)
	movq	8(%rsi), %rax
	movl	16(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 32(%r12)
	movq	8(%r12), %rax
	movl	16(%rax), %ecx
	movl	%ecx, 24(%r12)
	cmpl	$0, (%rax)
	jle	LBB0_9
## %bb.3:
	xorl	%edi, %edi
	leaq	L_.str.1(%rip), %r15
	xorl	%r14d, %r14d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	movslq	(%rax), %rcx
	cmpq	%rcx, %rdi
	jge	LBB0_9
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	8(%rax), %rcx
	imulq	$56, %rdi, %rdx
	cmpl	$0, (%rcx,%rdx)
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rdx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rdx), %r12
	addq	$52, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r14,%rbx), %eax
	movl	%eax, (%r13)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %edx
	movq	%r15, %rsi
	movl	%ebx, %ecx
	callq	_kasprintf
	movl	%eax, 4(%r13)
	addq	$8, %r13
	incl	%ebx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %ebx
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rax
	addl	%ebx, %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_rockchip_pinctrl_parse_dt
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.10:
	leaq	16(%r12), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, (%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movl	(%r12), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_16:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	8(%r12), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.14:
	movl	$40, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rax
	leaq	(%rax,%rbx), %rcx
	leaq	(%rax,%rbx), %rsi
	addq	$-32, %rsi
	movl	%r15d, -32(%rax,%rbx)
	movups	(%rax,%rbx), %xmm0
	movups	%xmm0, -16(%rax,%rbx)
	movq	%rcx, -24(%rax,%rbx)
	movl	(%r12), %edi
	callq	_pinctrl_add_gpio_range
	incq	%r15
	movq	8(%r12), %rax
	movslq	(%rax), %rcx
	addq	$56, %rbx
	cmpq	%rcx, %r15
	jl	LBB0_15
	jmp	LBB0_16
LBB0_12:
	xorl	%r14d, %r14d
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rockchip-pinctrl"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_rockchip_pctrl_ops,4,2         ## @rockchip_pctrl_ops
	.comm	_rockchip_pmx_ops,4,2           ## @rockchip_pmx_ops
	.comm	_rockchip_pinconf_ops,4,2       ## @rockchip_pinconf_ops
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"%s-%d"

L_.str.2:                               ## @.str.2
	.asciz	"could not register pinctrl driver\n"

	.no_dead_strip	_rockchip_pinctrl_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rockchip_pinctrl_register
_rockchip_pinctrl_register:             ; @rockchip_pinctrl_register
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	mov	x21, x1
	str	x8, [x21, #16]!
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x21, #48]
Lloh5:
	adrp	x8, _rockchip_pctrl_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rockchip_pctrl_ops@GOTPAGEOFF]
	str	x8, [x21, #40]
Lloh7:
	adrp	x8, _rockchip_pmx_ops@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rockchip_pmx_ops@GOTPAGEOFF]
Lloh9:
	adrp	x9, _rockchip_pinconf_ops@GOTPAGE
Lloh10:
	ldr	x9, [x9, _rockchip_pinconf_ops@GOTPAGEOFF]
	stp	x9, x8, [x21, #24]
	ldur	x8, [x21, #-8]
	ldr	w1, [x8, #16]
Lloh11:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	w2, #8
	bl	_devm_kcalloc
	cbz	x0, LBB0_11
; %bb.1:
	mov	x22, x0
	stp	x21, x20, [sp]                  ; 16-byte Folded Spill
	str	x0, [x19, #32]
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #16]
	str	w9, [x19, #24]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x26, #0
	mov	w27, #0
	mov	w28, #56
Lloh13:
	adrp	x23, l_.str.1@PAGE
Lloh14:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldrsw	x9, [x8]
	cmp	x26, x9
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x9, [x8, #8]
	madd	x20, x26, x28, x9
	ldr	w10, [x20]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
	madd	x8, x26, x28, x9
	add	x21, x8, #52
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w27, w24
	str	w8, [x22]
	ldr	w0, [x25]
	ldr	w2, [x21]
	mov	x1, x23
	mov	x3, x24
	bl	_kasprintf
	str	w0, [x22, #4]
	add	x22, x22, #8
	add	w24, w24, #1
	ldr	w8, [x20]
	cmp	w24, w8
	b.lt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	add	w27, w27, w24
	b	LBB0_3
LBB0_8:
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x20
	mov	x1, x19
	bl	_rockchip_pinctrl_parse_dt
	cbnz	w0, LBB0_12
; %bb.9:
	mov	x0, x20
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x19
	bl	_devm_pinctrl_register
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.10:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19]
	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
	b	_PTR_ERR
LBB0_11:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	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
LBB0_13:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x20, #0
	mov	x21, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x1, x8, x20
	str	w21, [x1, #8]!
	mov	x8, x1
	ldr	q0, [x8, #32]!
	str	q0, [x1, #16]
	str	x8, [x1, #8]
	ldr	w0, [x19]
	bl	_pinctrl_add_gpio_range
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	ldrsw	x9, [x8]
	add	x20, x20, #56
	cmp	x21, x9
	b.lt	LBB0_15
LBB0_16:
	mov	w0, #0
	b	LBB0_12
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rockchip-pinctrl"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_rockchip_pctrl_ops,4,2         ; @rockchip_pctrl_ops
	.comm	_rockchip_pmx_ops,4,2           ; @rockchip_pmx_ops
	.comm	_rockchip_pinconf_ops,4,2       ; @rockchip_pinconf_ops
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"%s-%d"

l_.str.2:                               ; @.str.2
	.asciz	"could not register pinctrl driver\n"

	.no_dead_strip	_rockchip_pinctrl_register
.subsections_via_symbols
