	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rza2_pinctrl_register
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_1:
	.long	2                               ## 0x2
	.long	2                               ## 0x2
	.space	4
	.space	4
LCPI0_2:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.space	4
	.space	4
LCPI0_3:
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.space	4
	.space	4
LCPI0_4:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rza2_pinctrl_register:                 ## @rza2_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, 32(%r14)
	leaq	16(%r14), %rsi
	movq	%rax, 24(%r14)
	movl	(%r14), %r9d
	movl	%r9d, 16(%r14)
	testq	%r9, %r9
	je	LBB0_18
## %bb.2:
	movq	_rza2_gpio_names@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpl	$4, %r9d
	jb	LBB0_3
## %bb.5:
	leaq	(%rdx,%r9,4), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_8
## %bb.6:
	leaq	(%rax,%r9,8), %rcx
	cmpq	%rcx, %rdx
	jae	LBB0_8
LBB0_3:
	xorl	%edi, %edi
LBB0_14:
	movq	%rdi, %r8
	notq	%r8
	addq	%r9, %r8
	movq	%r9, %rbx
	andq	$3, %rbx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	%edi, (%rax,%rdi,8)
	movl	(%rdx,%rdi,4), %ecx
	movl	%ecx, 4(%rax,%rdi,8)
	incq	%rdi
	decq	%rbx
	jne	LBB0_15
LBB0_16:
	cmpq	$3, %r8
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	%edi, (%rax,%rdi,8)
	movl	(%rdx,%rdi,4), %ecx
	movl	%ecx, 4(%rax,%rdi,8)
	leal	1(%rdi), %ecx
	movl	%ecx, 8(%rax,%rdi,8)
	movl	4(%rdx,%rdi,4), %ecx
	movl	%ecx, 12(%rax,%rdi,8)
	leal	2(%rdi), %ecx
	movl	%ecx, 16(%rax,%rdi,8)
	movl	8(%rdx,%rdi,4), %ecx
	movl	%ecx, 20(%rax,%rdi,8)
	leal	3(%rdi), %ecx
	movl	%ecx, 24(%rax,%rdi,8)
	movl	12(%rdx,%rdi,4), %ecx
	movl	%ecx, 28(%rax,%rdi,8)
	addq	$4, %rdi
	cmpq	%r9, %rdi
	jne	LBB0_17
	jmp	LBB0_18
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_25
LBB0_8:
	movl	%r9d, %edi
	andl	$-4, %edi
	leaq	-4(%rdi), %rcx
	movq	%rcx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_26
## %bb.9:
	movq	%r8, %rcx
	andq	$-2, %rcx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <0,1,u,u>
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = <2,2,u,u>
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = <4,4,u,u>
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = <6,6,u,u>
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = <8,8,u,u>
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm5
	paddd	%xmm1, %xmm5
	movq	(%rdx,%rbx,4), %xmm6            ## xmm6 = mem[0],zero
	movq	8(%rdx,%rbx,4), %xmm7           ## xmm7 = mem[0],zero
	punpckldq	%xmm7, %xmm5            ## xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1]
	movdqa	%xmm0, %xmm7
	punpckldq	%xmm6, %xmm7            ## xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
	movdqu	%xmm7, (%rax,%rbx,8)
	movdqu	%xmm5, 16(%rax,%rbx,8)
	movdqa	%xmm0, %xmm5
	paddd	%xmm2, %xmm5
	movdqa	%xmm0, %xmm6
	paddd	%xmm3, %xmm6
	movq	16(%rdx,%rbx,4), %xmm7          ## xmm7 = mem[0],zero
	punpckldq	%xmm7, %xmm5            ## xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1]
	movq	24(%rdx,%rbx,4), %xmm7          ## xmm7 = mem[0],zero
	punpckldq	%xmm7, %xmm6            ## xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
	movdqu	%xmm5, 32(%rax,%rbx,8)
	movdqu	%xmm6, 48(%rax,%rbx,8)
	addq	$8, %rbx
	paddd	%xmm4, %xmm0
	addq	$-2, %rcx
	jne	LBB0_10
## %bb.11:
	testb	$1, %r8b
	je	LBB0_13
LBB0_12:
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = <2,2,u,u>
	paddd	%xmm0, %xmm1
	movq	(%rdx,%rbx,4), %xmm2            ## xmm2 = mem[0],zero
	movq	8(%rdx,%rbx,4), %xmm3           ## xmm3 = mem[0],zero
	punpckldq	%xmm3, %xmm1            ## xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
	leaq	(,%rbx,8), %rcx
	orq	$16, %rcx
	punpckldq	%xmm2, %xmm0            ## xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
	movdqu	%xmm0, (%rax,%rbx,8)
	movdqu	%xmm1, (%rax,%rcx)
LBB0_13:
	cmpq	%r9, %rdi
	jne	LBB0_14
LBB0_18:
	movl	4(%r14), %edi
	leaq	8(%r14), %r15
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_devm_pinctrl_register_and_init
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	%eax, %ebx
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_24
LBB0_20:
	movl	(%r15), %edi
	callq	_pinctrl_enable
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, %ebx
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_24
LBB0_22:
	movq	%r14, %rdi
	callq	_rza2_gpio_register
	testl	%eax, %eax
	je	LBB0_27
## %bb.23:
	movl	%eax, %ebx
	movl	4(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_24:
	callq	_dev_err
LBB0_25:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <0,1,u,u>
	xorl	%ebx, %ebx
	testb	$1, %r8b
	jne	LBB0_12
	jmp	LBB0_13
LBB0_27:
	xorl	%ebx, %ebx
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_rza2_gpio_names,8,3            ## @rza2_gpio_names
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pinctrl registration failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"pinctrl enable failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"GPIO registration failed\n"

	.no_dead_strip	_rza2_pinctrl_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function rza2_pinctrl_register
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_rza2_pinctrl_register:                 ; @rza2_pinctrl_register
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	w0, [x0, #4]
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #8
	bl	_devm_kcalloc
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w8, [x19]
	mov	x1, x19
	str	w8, [x1, #16]!
	stp	x0, x0, [x1, #8]
	cbz	w8, LBB0_11
; %bb.2:
Lloh3:
	adrp	x9, _rza2_gpio_names@GOTPAGE
Lloh4:
	ldr	x9, [x9, _rza2_gpio_names@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w8, #16
	b.lo	LBB0_8
; %bb.3:
	add	x10, x9, x8, lsl #2
	add	x11, x0, x8, lsl #3
	cmp	x0, x10
	ccmp	x9, x11, #2, lo
	b.lo	LBB0_8
; %bb.4:
	and	x10, x8, #0xfffffff0
	add	x12, x0, #64
Lloh6:
	adrp	x11, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x11, lCPI0_0@PAGEOFF]
	add	x11, x9, #32
	movi.4s	v2, #4
	movi.4s	v3, #8
	movi.4s	v4, #12
	movi.4s	v5, #16
	mov	x13, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v6, v0, v2
	ldp	q1, q7, [x11, #-32]
	add.4s	v16, v0, v3
	add.4s	v18, v0, v4
	ldp	q17, q19, [x11], #64
	sub	x14, x12, #64
	st2.4s	{ v0, v1 }, [x14]
	sub	x14, x12, #32
	st2.4s	{ v6, v7 }, [x14]
	add	x14, x12, #128
	st2.4s	{ v16, v17 }, [x12], #32
	st2.4s	{ v18, v19 }, [x12]
	add.4s	v0, v0, v5
	mov	x12, x14
	subs	x13, x13, #16
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x8
	b.ne	LBB0_9
	b	LBB0_11
LBB0_7:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_18
LBB0_8:
	mov	x10, #0
LBB0_9:
	add	x11, x0, x10, lsl #3
	add	x11, x11, #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	stur	w10, [x11, #-4]
	ldr	w12, [x9, x10, lsl #2]
	str	w12, [x11], #8
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_10
LBB0_11:
	ldr	w0, [x19, #4]
	add	x21, x19, #8
	mov	x2, x19
	mov	x3, x21
	bl	_devm_pinctrl_register_and_init
	cbz	w0, LBB0_13
; %bb.12:
	mov	x20, x0
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_17
LBB0_13:
	ldr	w0, [x21]
	bl	_pinctrl_enable
	cbz	w0, LBB0_15
; %bb.14:
	mov	x20, x0
	ldr	w0, [x19, #4]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_15:
	mov	x0, x19
	bl	_rza2_gpio_register
	mov	x20, x0
	cbz	w0, LBB0_18
; %bb.16:
	ldr	w0, [x19, #4]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_17:
	bl	_dev_err
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_rza2_gpio_names,8,3            ; @rza2_gpio_names
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pinctrl registration failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"pinctrl enable failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"GPIO registration failed\n"

	.no_dead_strip	_rza2_pinctrl_register
.subsections_via_symbols
