	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx1_pinctrl_core_probe        ## -- Begin function imx1_pinctrl_core_probe
	.p2align	4, 0x90
_imx1_pinctrl_core_probe:               ## @imx1_pinctrl_core_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
	movq	%rdi, %r15
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r12
	cmpq	$0, 16(%rsi)
	je	LBB0_8
## %bb.2:
	cmpq	$0, 8(%r12)
	je	LBB0_8
## %bb.3:
	movq	%r15, (%r12)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	%rax, %r14
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movl	(%rax), %ebx
	movq	%rax, %rdi
	callq	_resource_size
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_devm_ioremap_nocache
	movl	%eax, 24(%r14)
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movq	%r15, %rdi
	callq	_dev_name
	movq	_imx1_pinctrl_desc@GOTPCREL(%rip), %rcx
	movl	%eax, 16(%rcx)
	movups	8(%r12), %xmm0
	movups	%xmm0, (%rcx)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_imx1_pinctrl_parse_dt
	testl	%eax, %eax
	je	LBB0_14
## %bb.7:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_14:
	movq	%r12, 16(%r14)
	movq	(%r12), %rax
	movq	%rax, 8(%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	_imx1_pinctrl_desc@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_16:
	movl	(%r15), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_of_platform_populate
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %r12d
	movl	(%r14), %edi
	callq	_pinctrl_unregister
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	%r12d, %ebx
	jmp	LBB0_11
LBB0_18:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrong pinctrl info\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_imx1_pinctrl_desc,24,3         ## @imx1_pinctrl_desc
L_.str.1:                               ## @.str.1
	.asciz	"fail to probe dt properties\n"

L_.str.2:                               ## @.str.2
	.asciz	"could not register IMX pinctrl driver\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to populate subdevices\n"

L_.str.4:                               ## @.str.4
	.asciz	"initialized IMX pinctrl driver\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx1_pinctrl_core_probe        ; -- Begin function imx1_pinctrl_core_probe
	.p2align	2
_imx1_pinctrl_core_probe:               ; @imx1_pinctrl_core_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
	cbz	x1, LBB0_9
; %bb.1:
	mov	x21, x1
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_9
; %bb.3:
	str	x19, [x21]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_12
; %bb.4:
	mov	x20, x0
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
	cbz	x0, LBB0_13
; %bb.5:
	ldr	w22, [x0]
	bl	_resource_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_devm_ioremap_nocache
	str	w0, [x20, #24]
	cbz	w0, LBB0_12
; %bb.6:
	mov	x0, x19
	bl	_dev_name
Lloh6:
	adrp	x8, _imx1_pinctrl_desc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _imx1_pinctrl_desc@GOTPAGEOFF]
	str	w0, [x8, #16]
	ldur	q0, [x21, #8]
	str	q0, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_imx1_pinctrl_parse_dt
	cbz	w0, LBB0_14
; %bb.7:
	mov	x22, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_11
LBB0_9:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_11:
	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
	ret
LBB0_12:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_13:
Lloh16:
	adrp	x8, _ENOENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_10
LBB0_14:
	ldr	x8, [x21]
	stp	x8, x21, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh18:
	adrp	x1, _imx1_pinctrl_desc@GOTPAGE
Lloh19:
	ldr	x1, [x1, _imx1_pinctrl_desc@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.15:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [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
	b	_PTR_ERR
LBB0_16:
	ldr	w0, [x19]
	mov	x1, #0
	mov	x2, #0
	mov	x3, x19
	bl	_of_platform_populate
	mov	x22, x0
	cbz	w0, LBB0_18
; %bb.17:
	ldr	w0, [x20]
	bl	_pinctrl_unregister
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_18:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrong pinctrl info\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_imx1_pinctrl_desc,24,3         ; @imx1_pinctrl_desc
l_.str.1:                               ; @.str.1
	.asciz	"fail to probe dt properties\n"

l_.str.2:                               ; @.str.2
	.asciz	"could not register IMX pinctrl driver\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to populate subdevices\n"

l_.str.4:                               ; @.str.4
	.asciz	"initialized IMX pinctrl driver\n"

.subsections_via_symbols
