	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_pctl_probe
_st_pctl_probe:                         ## @st_pctl_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, %r12
	cmpl	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r15
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %r14
	movq	%r12, 24(%rax)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_st_pctl_probe_dt
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.7:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	_st_pctlops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
	movq	_st_pmxops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_st_confops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	%r12, %rdi
	callq	_dev_name
	movl	%eax, (%r15)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movl	16(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.11:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%r14), %edi
	movq	8(%r14), %rsi
	addq	%r15, %rsi
	callq	_pinctrl_add_gpio_range
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_12
	jmp	LBB0_13
LBB0_9:
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device node not found.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_st_pctlops,4,2                 ## @st_pctlops
	.comm	_st_pmxops,4,2                  ## @st_pmxops
	.comm	_st_confops,4,2                 ## @st_confops
L_.str.1:                               ## @.str.1
	.asciz	"Failed pinctrl registration\n"

	.no_dead_strip	_st_pctl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_pctl_probe
_st_pctl_probe:                         ; @st_pctl_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, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
Lloh0:
	adrp	x19, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x19, [x19, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	x0, x20
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	ldr	w2, [x19]
	mov	x0, x20
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x19, x0
	str	x20, [x0, #24]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_st_pctl_probe_dt
	cbnz	w0, LBB0_9
; %bb.4:
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x21, #32]
Lloh5:
	adrp	x8, _st_pctlops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _st_pctlops@GOTPAGEOFF]
	str	x8, [x21, #24]
Lloh7:
	adrp	x8, _st_pmxops@GOTPAGE
Lloh8:
	ldr	x8, [x8, _st_pmxops@GOTPAGEOFF]
Lloh9:
	adrp	x9, _st_confops@GOTPAGE
Lloh10:
	ldr	x9, [x9, _st_confops@GOTPAGEOFF]
	stp	x9, x8, [x21, #8]
	mov	x0, x20
	bl	_dev_name
	str	w0, [x21]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_devm_pinctrl_register
	str	w0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.5:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19, #16]
	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_6:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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_10:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x20, #0
	mov	x21, #0
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	ldr	x8, [x19, #8]
	add	x1, x8, x20
	bl	_pinctrl_add_gpio_range
	mov	w0, #0
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_12
	b	LBB0_9
LBB0_13:
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device node not found.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_st_pctlops,4,2                 ; @st_pctlops
	.comm	_st_pmxops,4,2                  ; @st_pmxops
	.comm	_st_confops,4,2                 ; @st_confops
l_.str.1:                               ; @.str.1
	.asciz	"Failed pinctrl registration\n"

	.no_dead_strip	_st_pctl_probe
.subsections_via_symbols
