	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_pinctrl_probe              ## -- Begin function msm_pinctrl_probe
	.p2align	4, 0x90
_msm_pinctrl_probe:                     ## @msm_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	%rsi, %r12
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$96, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 88(%rax)
	movq	%r12, 64(%rax)
	movq	_msm_gpio_template@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r15)
	leaq	80(%r15), %rdi
	callq	_raw_spin_lock_init
	movq	16(%r12), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.4:
	movl	$1, %ebx
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movl	-4(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	callq	_platform_get_resource_byname
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	72(%r15), %rcx
	movq	%rax, -8(%rcx,%rbx,8)
	movq	72(%r15), %rax
	movq	-8(%rax,%rbx,8), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r12), %rax
	incq	%rbx
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_10:
	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
	movq	72(%r15), %rcx
	movq	%rax, (%rcx)
	movq	72(%r15), %rax
	movq	(%rax), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	72(%r15), %rax
	movq	(%rax), %rdi
	jmp	LBB0_7
LBB0_12:
	movq	%r15, %rdi
	callq	_msm_pinctrl_setup_pm_reset
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movq	%rax, (%r15)
	testq	%rax, %rax
	js	LBB0_17
## %bb.13:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %rbx
	addq	$16, %rbx
	movl	%eax, 56(%r15)
	movq	_msm_pinctrl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%r15)
	movq	_msm_pinmux_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r15)
	movq	_msm_pinconf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r15)
	movq	%r14, %rdi
	callq	_dev_name
	movl	%eax, 24(%r15)
	movq	64(%r15), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 20(%r15)
	movl	4(%rax), %eax
	movl	%eax, 16(%r15)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_devm_pinctrl_register
	movq	%rax, 8(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	8(%r15), %rdi
	jmp	LBB0_7
LBB0_6:
	movq	72(%r15), %rax
	movq	-8(%rax,%rbx,8), %rdi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_15:
	movq	%r15, %rdi
	callq	_msm_gpio_init
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	xorl	%eax, %eax
LBB0_17:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_msm_gpio_template,4,2          ## @msm_gpio_template
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_msm_pinctrl_ops,4,2            ## @msm_pinctrl_ops
	.comm	_msm_pinmux_ops,4,2             ## @msm_pinmux_ops
	.comm	_msm_pinconf_ops,4,2            ## @msm_pinconf_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't register pinctrl driver\n"

L_.str.1:                               ## @.str.1
	.asciz	"Probed Qualcomm pinctrl driver\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_pinctrl_probe              ; -- Begin function msm_pinctrl_probe
	.p2align	2
_msm_pinctrl_probe:                     ; @msm_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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #96
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #88]
	str	x21, [x0, #64]
Lloh3:
	adrp	x8, _msm_gpio_template@GOTPAGE
Lloh4:
	ldr	x8, [x8, _msm_gpio_template@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #84]
	add	x0, x0, #80
	bl	_raw_spin_lock_init
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_8
; %bb.2:
	ldr	w9, [x21]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x22, #0
Lloh6:
	adrp	x23, _IORESOURCE_MEM@GOTPAGE
Lloh7:
	ldr	x23, [x23, _IORESOURCE_MEM@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	ldr	w2, [x8, x22, lsl #2]
	mov	x0, x19
	bl	_platform_get_resource_byname
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	ldr	x8, [x20, #72]
	lsl	x9, x22, #3
	str	x0, [x8, x9]
	ldr	x8, [x20, #72]
	ldr	x0, [x8, x9]
	bl	_IS_ERR
	cbnz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #16]
	b	LBB0_4
LBB0_7:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_8:
Lloh11:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	ldr	x8, [x20, #72]
	str	x0, [x8]
	ldr	x8, [x20, #72]
	ldr	x0, [x8]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
	ldr	x8, [x20, #72]
	ldr	x0, [x8]
	b	LBB0_14
LBB0_10:
	mov	x0, x20
	bl	_msm_pinctrl_setup_pm_reset
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	str	x0, [x20]
	tbnz	x0, #63, LBB0_17
; %bb.11:
Lloh14:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #56]
Lloh17:
	adrp	x8, _msm_pinctrl_ops@GOTPAGE
Lloh18:
	ldr	x8, [x8, _msm_pinctrl_ops@GOTPAGEOFF]
	str	x8, [x20, #48]
Lloh19:
	adrp	x8, _msm_pinmux_ops@GOTPAGE
Lloh20:
	ldr	x8, [x8, _msm_pinmux_ops@GOTPAGEOFF]
Lloh21:
	adrp	x9, _msm_pinconf_ops@GOTPAGE
Lloh22:
	ldr	x9, [x9, _msm_pinconf_ops@GOTPAGEOFF]
	stp	x9, x8, [x20, #32]
	mov	x0, x19
	bl	_dev_name
	str	w0, [x20, #24]
	ldr	x8, [x20, #64]
	ldur	d0, [x8, #4]
	mov	x1, x20
	str	d0, [x1, #16]!
	mov	x0, x19
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.12:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #8]
	b	LBB0_14
LBB0_13:
	ldr	x8, [x20, #72]
	ldr	x0, [x8, x22, lsl #3]
LBB0_14:
	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	_PTR_ERR
LBB0_15:
	mov	x0, x20
	bl	_msm_gpio_init
                                        ; kill: def $w0 killed $w0 def $x0
	cbnz	w0, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	w0, #0
LBB0_17:
                                        ; kill: def $w0 killed $w0 killed $x0
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_msm_gpio_template,4,2          ; @msm_gpio_template
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_msm_pinctrl_ops,4,2            ; @msm_pinctrl_ops
	.comm	_msm_pinmux_ops,4,2             ; @msm_pinmux_ops
	.comm	_msm_pinconf_ops,4,2            ; @msm_pinconf_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't register pinctrl driver\n"

l_.str.1:                               ; @.str.1
	.asciz	"Probed Qualcomm pinctrl driver\n"

.subsections_via_symbols
