	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armada_37xx_pinctrl_register
_armada_37xx_pinctrl_register:          ## @armada_37xx_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	80(%rsi), %r14
	movl	12(%r14), %eax
	movl	%eax, 20(%rsi)
	movl	8(%r14), %eax
	movl	%eax, 16(%rsi)
	leaq	L_.str(%rip), %rax
	movq	%rax, 24(%rsi)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rsi)
	movq	_armada_37xx_pctrl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 64(%rsi)
	movq	_armada_37xx_pmx_ops@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rsi)
	movq	_armada_37xx_pinconf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rsi)
	movl	(%r14), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	$8, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 40(%rbx)
	movl	(%r14), %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, 32(%rbx)
	testl	%esi, %esi
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, (%r12,%rbx,8)
	movl	(%r15), %edi
	movl	4(%r14), %edx
	movq	%r13, %rsi
	movl	%ebx, %ecx
	callq	_kasprintf
	movl	%eax, 4(%r12,%rbx,8)
	movl	(%r14), %esi
	incq	%rbx
	cmpl	%esi, %ebx
	jl	LBB0_4
LBB0_5:
	movl	(%r15), %ecx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%rbx, %rdi
	callq	_armada_37xx_fill_group
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_armada_37xx_fill_func
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	leaq	24(%rbx), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	(%rbx), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"armada_37xx-pinctrl"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_armada_37xx_pctrl_ops,4,2      ## @armada_37xx_pctrl_ops
	.comm	_armada_37xx_pmx_ops,4,2        ## @armada_37xx_pmx_ops
	.comm	_armada_37xx_pinconf_ops,4,2    ## @armada_37xx_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	_armada_37xx_pinctrl_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armada_37xx_pinctrl_register
_armada_37xx_pinctrl_register:          ; @armada_37xx_pinctrl_register
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	mov	x21, x1
	str	x8, [x21, #24]!
	ldr	x25, [x21, #56]
	ldr	d0, [x25, #8]
	stur	d0, [x21, #-8]
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _armada_37xx_pctrl_ops@GOTPAGE
Lloh6:
	ldr	x9, [x9, _armada_37xx_pctrl_ops@GOTPAGEOFF]
	str	w8, [x21, #48]
	str	x9, [x21, #40]
Lloh7:
	adrp	x8, _armada_37xx_pmx_ops@GOTPAGE
Lloh8:
	ldr	x8, [x8, _armada_37xx_pmx_ops@GOTPAGEOFF]
Lloh9:
	adrp	x9, _armada_37xx_pinconf_ops@GOTPAGE
Lloh10:
	ldr	x9, [x9, _armada_37xx_pinconf_ops@GOTPAGEOFF]
	stp	x9, x8, [x21, #24]
	ldr	w1, [x25]
Lloh11:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x26]
	mov	w2, #8
	bl	_devm_kcalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x0
	str	x0, [x19, #40]
	ldr	w1, [x25]
	str	w1, [x19, #32]
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w23, #0
Lloh13:
	adrp	x24, l_.str.1@PAGE
Lloh14:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w23, [x22]
	ldr	w0, [x26]
	ldr	w2, [x25, #4]
	mov	x1, x24
	mov	x3, x23
	bl	_kasprintf
	str	w0, [x22, #4]
	add	w23, w23, #1
	ldr	w1, [x25]
	add	x22, x22, #8
	cmp	w23, w1
	b.lt	LBB0_3
LBB0_4:
	ldr	w3, [x26]
	mov	x0, x20
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_armada_37xx_fill_group
	cbnz	w0, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_armada_37xx_fill_func
	cbnz	w0, LBB0_10
; %bb.7:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_devm_pinctrl_register
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
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, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_9:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.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	"armada_37xx-pinctrl"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_armada_37xx_pctrl_ops,4,2      ; @armada_37xx_pctrl_ops
	.comm	_armada_37xx_pmx_ops,4,2        ; @armada_37xx_pmx_ops
	.comm	_armada_37xx_pinconf_ops,4,2    ; @armada_37xx_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	_armada_37xx_pinctrl_register
.subsections_via_symbols
