	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvebu_pinctrl_simple_regmap_probe ## -- Begin function mvebu_pinctrl_simple_regmap_probe
	.p2align	4, 0x90
_mvebu_pinctrl_simple_regmap_probe:     ## @mvebu_pinctrl_simple_regmap_probe
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_dev_get_platdata
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_syscon_node_to_regmap
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movl	(%r15), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.3:
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%ecx, %esi
	andl	$-2, %esi
	movq	%rax, %rdi
	addq	$24, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -16(%rdi)
	movl	%r12d, -24(%rdi)
	movq	%rbx, (%rdi)
	movl	%r12d, -8(%rdi)
	addq	$2, %rdx
	addq	$32, %rdi
	cmpq	%rdx, %rsi
	jne	LBB0_7
LBB0_8:
	testb	$1, %cl
	je	LBB0_10
## %bb.9:
	shlq	$4, %rdx
	movq	%rbx, 8(%rax,%rdx)
	movl	%r12d, (%rax,%rdx)
LBB0_10:
	movq	%rax, 8(%r15)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvebu_pinctrl_probe            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvebu_pinctrl_simple_regmap_probe ; -- Begin function mvebu_pinctrl_simple_regmap_probe
	.p2align	2
_mvebu_pinctrl_simple_regmap_probe:     ; @mvebu_pinctrl_simple_regmap_probe
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_dev_get_platdata
	mov	x21, x0
	ldr	w0, [x22]
	bl	_syscon_node_to_regmap
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	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
	b	_PTR_ERR
LBB0_2:
	ldr	w1, [x21]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #16
	bl	_devm_kcalloc
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.4:
	cmp	w8, #4
	b.hs	LBB0_7
; %bb.5:
	mov	x9, #0
	b	LBB0_10
LBB0_6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	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
LBB0_7:
	and	x9, x8, #0xfffffffc
	add	x10, x0, #32
	mov	x11, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	stur	x22, [x10, #-24]
	stur	x22, [x10, #-8]
	str	x22, [x10, #8]
	str	x22, [x10, #24]
	stur	w20, [x10, #-32]
	stur	w20, [x10, #-16]
	str	w20, [x10]
	str	w20, [x10, #16]
	add	x10, x10, #64
	subs	x11, x11, #4
	b.ne	LBB0_8
; %bb.9:
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_10:
	add	x10, x0, x9, lsl #4
	add	x10, x10, #8
	sub	x8, x8, x9
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	x22, [x10]
	stur	w20, [x10, #-8]
	add	x10, x10, #16
	subs	x8, x8, #1
	b.ne	LBB0_11
LBB0_12:
	str	x0, [x21, #8]
	mov	x0, x19
	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
	b	_mvebu_pinctrl_probe
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
