	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pic32_pinctrl_probe
_pic32_pinctrl_probe:                   ## @pic32_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 80(%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 76(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	76(%r15), %edi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, 72(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	72(%r15), %edi
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_7:
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	movq	%r14, %rdi
	callq	_dev_err
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_pic32_pins@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 16(%r15)
	callq	_ARRAY_SIZE
	movq	%rax, 8(%r15)
	movq	_pic32_functions@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 64(%r15)
	callq	_ARRAY_SIZE
	movq	%rax, 56(%r15)
	movq	_pic32_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 48(%r15)
	callq	_ARRAY_SIZE
	movq	%rax, 40(%r15)
	movq	_pic32_gpio_banks@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 32(%r15)
	callq	_ARRAY_SIZE
	movq	%rax, 24(%r15)
	movups	8(%r15), %xmm0
	movq	_pic32_pinctrl_desc@GOTPCREL(%rip), %rbx
	movups	%xmm0, 16(%rbx)
	movq	_pic32_mpp_bindings@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 8(%rbx)
	callq	_ARRAY_SIZE
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, (%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	(%r15), %edi
	jmp	LBB0_4
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clk get failed\n"

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

	.comm	_pic32_pins,8,3                 ## @pic32_pins
	.comm	_pic32_functions,8,3            ## @pic32_functions
	.comm	_pic32_groups,8,3               ## @pic32_groups
	.comm	_pic32_gpio_banks,8,3           ## @pic32_gpio_banks
	.comm	_pic32_pinctrl_desc,32,3        ## @pic32_pinctrl_desc
	.comm	_pic32_mpp_bindings,8,3         ## @pic32_mpp_bindings
L_.str.2:                               ## @.str.2
	.asciz	"Failed to register pinctrl device\n"

	.no_dead_strip	_pic32_pinctrl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pic32_pinctrl_probe
_pic32_pinctrl_probe:                   ; @pic32_pinctrl_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #80]
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
Lloh3:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	w0, [x20, #76]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x20, #76]
LBB0_3:
	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_4:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x21
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x20, #72]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x20, #72]
	cbz	x8, LBB0_9
; %bb.7:
	bl	_PTR_ERR
	mov	x20, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
LBB0_8:
	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_9:
	bl	_clk_prepare_enable
	cbz	w0, LBB0_11
; %bb.10:
	mov	x21, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_5
LBB0_11:
Lloh13:
	adrp	x8, _pic32_pins@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pic32_pins@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
	str	x0, [x20, #16]
	bl	_ARRAY_SIZE
	str	x0, [x20, #8]
Lloh16:
	adrp	x8, _pic32_functions@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pic32_functions@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
	str	x0, [x20, #64]
	bl	_ARRAY_SIZE
Lloh19:
	adrp	x8, _pic32_groups@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pic32_groups@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #48]
	mov	x0, x8
	bl	_ARRAY_SIZE
Lloh22:
	adrp	x8, _pic32_gpio_banks@GOTPAGE
Lloh23:
	ldr	x8, [x8, _pic32_gpio_banks@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	stp	x8, x0, [x20, #32]
	mov	x0, x8
	bl	_ARRAY_SIZE
	str	x0, [x20, #24]
Lloh25:
	adrp	x21, _pic32_pinctrl_desc@GOTPAGE
Lloh26:
	ldr	x21, [x21, _pic32_pinctrl_desc@GOTPAGEOFF]
	ldp	x9, x8, [x20, #8]
	str	x8, [x21, #24]
Lloh27:
	adrp	x8, _pic32_mpp_bindings@GOTPAGE
Lloh28:
	ldr	x8, [x8, _pic32_mpp_bindings@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
	stp	x0, x9, [x21, #8]
	bl	_ARRAY_SIZE
	str	x0, [x21]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20]
	b	LBB0_3
LBB0_13:
	mov	w21, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clk get failed\n"

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

	.comm	_pic32_pins,8,3                 ; @pic32_pins
	.comm	_pic32_functions,8,3            ; @pic32_functions
	.comm	_pic32_groups,8,3               ; @pic32_groups
	.comm	_pic32_gpio_banks,8,3           ; @pic32_gpio_banks
	.comm	_pic32_pinctrl_desc,32,3        ; @pic32_pinctrl_desc
	.comm	_pic32_mpp_bindings,8,3         ; @pic32_mpp_bindings
l_.str.2:                               ; @.str.2
	.asciz	"Failed to register pinctrl device\n"

	.no_dead_strip	_pic32_pinctrl_probe
.subsections_via_symbols
