	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armada_xp_pinctrl_probe
_armada_xp_pinctrl_probe:               ## @armada_xp_pinctrl_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_armada_xp_pinctrl_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rax), %rax
	movzbl	%al, %ecx
	movq	_armada_xp_pinctrl_info@GOTPCREL(%rip), %r14
	movl	%ecx, (%r14)
	addb	$-128, %al
	cmpb	$5, %al
	ja	LBB0_5
## %bb.4:
	movsbq	%al, %rax
	leaq	l_switch.table.armada_xp_pinctrl_probe(%rip), %rcx
	movq	(%rcx,%rax,8), %r15
	leaq	l_switch.table.armada_xp_pinctrl_probe.1(%rip), %rcx
	movq	(%rcx,%rax,8), %r12
	leaq	l_switch.table.armada_xp_pinctrl_probe.2(%rip), %rcx
	movq	(%rcx,%rax,8), %r13
	movq	(%r15), %rdi
	movq	%rdi, 40(%r14)
	callq	_ARRAY_SIZE
	movq	%rax, 32(%r14)
	movq	(%r12), %rax
	movq	%rax, 24(%r14)
	movq	(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	(%r13), %rdi
	movq	%rdi, 16(%r14)
	callq	_ARRAY_SIZE
	movq	%rax, 8(%r14)
LBB0_5:
	movl	4(%r14), %edi
	movq	_MVEBU_MPPS_PER_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DIV_ROUND_UP
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_devm_kmalloc_array
	movq	_mpp_saved_regs@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%r14, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvebu_pinctrl_simple_mmio_probe ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_armada_xp_pinctrl_info,48,3    ## @armada_xp_pinctrl_info
	.comm	_armada_xp_pinctrl_of_match,4,2 ## @armada_xp_pinctrl_of_match
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_mv78230_mpp_controls,8,3       ## @mv78230_mpp_controls
	.comm	_armada_xp_mpp_modes,8,3        ## @armada_xp_mpp_modes
	.comm	_mv78230_mpp_gpio_ranges,8,3    ## @mv78230_mpp_gpio_ranges
	.comm	_mv78260_mpp_controls,8,3       ## @mv78260_mpp_controls
	.comm	_mv78260_mpp_gpio_ranges,8,3    ## @mv78260_mpp_gpio_ranges
	.comm	_mv78460_mpp_controls,8,3       ## @mv78460_mpp_controls
	.comm	_mv78460_mpp_gpio_ranges,8,3    ## @mv78460_mpp_gpio_ranges
	.comm	_mv98dx3236_mpp_controls,8,3    ## @mv98dx3236_mpp_controls
	.comm	_mv98dx3236_mpp_modes,8,3       ## @mv98dx3236_mpp_modes
	.comm	_mv98dx3236_mpp_gpio_ranges,8,3 ## @mv98dx3236_mpp_gpio_ranges
	.comm	_MVEBU_MPPS_PER_REG,4,2         ## @MVEBU_MPPS_PER_REG
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_mpp_saved_regs,4,2             ## @mpp_saved_regs
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_armada_xp_pinctrl_probe
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.armada_xp_pinctrl_probe
l_switch.table.armada_xp_pinctrl_probe:
	.quad	_mv78460_mpp_controls
	.quad	_mv78260_mpp_controls
	.quad	_mv78230_mpp_controls
	.quad	_mv98dx3236_mpp_controls
	.quad	_mv98dx3236_mpp_controls
	.quad	_mv98dx3236_mpp_controls

	.p2align	3                               ## @switch.table.armada_xp_pinctrl_probe.1
l_switch.table.armada_xp_pinctrl_probe.1:
	.quad	_armada_xp_mpp_modes
	.quad	_armada_xp_mpp_modes
	.quad	_armada_xp_mpp_modes
	.quad	_mv98dx3236_mpp_modes
	.quad	_mv98dx3236_mpp_modes
	.quad	_mv98dx3236_mpp_modes

	.p2align	3                               ## @switch.table.armada_xp_pinctrl_probe.2
l_switch.table.armada_xp_pinctrl_probe.2:
	.quad	_mv78460_mpp_gpio_ranges
	.quad	_mv78260_mpp_gpio_ranges
	.quad	_mv78230_mpp_gpio_ranges
	.quad	_mv98dx3236_mpp_gpio_ranges
	.quad	_mv98dx3236_mpp_gpio_ranges
	.quad	_mv98dx3236_mpp_gpio_ranges

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armada_xp_pinctrl_probe
_armada_xp_pinctrl_probe:               ; @armada_xp_pinctrl_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _armada_xp_pinctrl_of_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _armada_xp_pinctrl_of_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0]
	and	w9, w8, #0xff
Lloh3:
	adrp	x20, _armada_xp_pinctrl_info@GOTPAGE
Lloh4:
	ldr	x20, [x20, _armada_xp_pinctrl_info@GOTPAGEOFF]
	str	w9, [x20]
	sxtb	x8, w8
	eor	x8, x8, #0xffffffffffffff80
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.2:
Lloh5:
	adrp	x9, l_switch.table.armada_xp_pinctrl_probe@PAGE
Lloh6:
	add	x9, x9, l_switch.table.armada_xp_pinctrl_probe@PAGEOFF
	ldr	x21, [x9, x8, lsl #3]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfiz	x8, x8, #3, #32
Lloh7:
	adrp	x9, l_switch.table.armada_xp_pinctrl_probe.1@PAGE
Lloh8:
	add	x9, x9, l_switch.table.armada_xp_pinctrl_probe.1@PAGEOFF
	ldr	x22, [x9, x8]
Lloh9:
	adrp	x9, l_switch.table.armada_xp_pinctrl_probe.2@PAGE
Lloh10:
	add	x9, x9, l_switch.table.armada_xp_pinctrl_probe.2@PAGEOFF
	ldr	x23, [x9, x8]
	ldr	x0, [x21]
	str	x0, [x20, #40]
	bl	_ARRAY_SIZE
	str	x0, [x20, #32]
	ldr	x8, [x22]
	str	x8, [x20, #24]
	ldr	x8, [x21]
	ldr	w8, [x8]
	str	w8, [x20, #4]
	ldr	x0, [x23]
	str	x0, [x20, #16]
	bl	_ARRAY_SIZE
	str	x0, [x20, #8]
LBB0_3:
	ldr	w0, [x20, #4]
Lloh11:
	adrp	x8, _MVEBU_MPPS_PER_REG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MVEBU_MPPS_PER_REG@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_DIV_ROUND_UP
	mov	x1, x0
Lloh14:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_devm_kmalloc_array
Lloh17:
	adrp	x8, _mpp_saved_regs@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mpp_saved_regs@GOTPAGEOFF]
Lloh19:
	str	w0, [x8]
	cbz	w0, LBB0_6
; %bb.4:
	str	x20, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mvebu_pinctrl_simple_mmio_probe
LBB0_5:
Lloh20:
	adrp	x8, _ENODEV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_armada_xp_pinctrl_info,48,3    ; @armada_xp_pinctrl_info
	.comm	_armada_xp_pinctrl_of_match,4,2 ; @armada_xp_pinctrl_of_match
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_mv78230_mpp_controls,8,3       ; @mv78230_mpp_controls
	.comm	_armada_xp_mpp_modes,8,3        ; @armada_xp_mpp_modes
	.comm	_mv78230_mpp_gpio_ranges,8,3    ; @mv78230_mpp_gpio_ranges
	.comm	_mv78260_mpp_controls,8,3       ; @mv78260_mpp_controls
	.comm	_mv78260_mpp_gpio_ranges,8,3    ; @mv78260_mpp_gpio_ranges
	.comm	_mv78460_mpp_controls,8,3       ; @mv78460_mpp_controls
	.comm	_mv78460_mpp_gpio_ranges,8,3    ; @mv78460_mpp_gpio_ranges
	.comm	_mv98dx3236_mpp_controls,8,3    ; @mv98dx3236_mpp_controls
	.comm	_mv98dx3236_mpp_modes,8,3       ; @mv98dx3236_mpp_modes
	.comm	_mv98dx3236_mpp_gpio_ranges,8,3 ; @mv98dx3236_mpp_gpio_ranges
	.comm	_MVEBU_MPPS_PER_REG,4,2         ; @MVEBU_MPPS_PER_REG
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_mpp_saved_regs,4,2             ; @mpp_saved_regs
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_armada_xp_pinctrl_probe
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.armada_xp_pinctrl_probe
l_switch.table.armada_xp_pinctrl_probe:
	.quad	_mv78460_mpp_controls
	.quad	_mv78260_mpp_controls
	.quad	_mv78230_mpp_controls
	.quad	_mv98dx3236_mpp_controls
	.quad	_mv98dx3236_mpp_controls
	.quad	_mv98dx3236_mpp_controls

	.p2align	3                               ; @switch.table.armada_xp_pinctrl_probe.1
l_switch.table.armada_xp_pinctrl_probe.1:
	.quad	_armada_xp_mpp_modes
	.quad	_armada_xp_mpp_modes
	.quad	_armada_xp_mpp_modes
	.quad	_mv98dx3236_mpp_modes
	.quad	_mv98dx3236_mpp_modes
	.quad	_mv98dx3236_mpp_modes

	.p2align	3                               ; @switch.table.armada_xp_pinctrl_probe.2
l_switch.table.armada_xp_pinctrl_probe.2:
	.quad	_mv78460_mpp_gpio_ranges
	.quad	_mv78260_mpp_gpio_ranges
	.quad	_mv78230_mpp_gpio_ranges
	.quad	_mv98dx3236_mpp_gpio_ranges
	.quad	_mv98dx3236_mpp_gpio_ranges
	.quad	_mv98dx3236_mpp_gpio_ranges

.subsections_via_symbols
