	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm8xxx_mpp_probe
_pm8xxx_mpp_probe:                      ## @pm8xxx_mpp_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r15
	movq	%r14, 40(%rax)
	movq	%r14, %rdi
	callq	_platform_irq_count
	testl	%eax, %eax
	je	LBB0_14
## %bb.2:
	movl	%eax, %ebx
	js	LBB0_17
## %bb.3:
	movl	%ebx, (%r15)
	movl	4(%r14), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_dev_get_regmap
	movl	%eax, 80(%r15)
	testl	%eax, %eax
	je	LBB0_18
## %bb.4:
	movq	_pm8xxx_pinctrl_desc@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, 56(%r15)
	movq	16(%rax), %rax
	movq	%rax, 72(%r15)
	movl	(%r15), %esi
	movl	%esi, 56(%r15)
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$24, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	56(%r15), %rbx
	movl	(%rbx), %esi
	movl	(%r12), %ecx
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rbx)
	jle	LBB0_11
## %bb.7:
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movl	%r12d, %edi
	callq	_SSBI_REG_ADDR_MPP
	movl	%eax, 8(%r13)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_platform_get_irq
	movq	%rax, (%r13)
	testq	%rax, %rax
	js	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_pm8xxx_pin_populate
	testl	%eax, %eax
	jne	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r12d, -16(%r14)
	movq	_pm8xxx_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %eax
	movl	%eax, (%r14)
	movq	%r13, -8(%r14)
	incq	%r12
	movq	%r15, %rbx
	movslq	(%r15), %rax
	addq	$16, %r13
	addq	$24, %r14
	cmpq	%rax, %r12
	jl	LBB0_8
LBB0_11:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 72(%r15)
	movq	_pm8xxx_mpp_bindings@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ARRAY_SIZE
	movl	%eax, 68(%r15)
	movl	(%r14), %eax
	movl	%eax, 64(%r15)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_devm_pinctrl_register
	movl	%eax, 48(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	48(%r15), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	subl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_19:
	movq	%rax, %rbx
	jmp	LBB0_17
LBB0_20:
	movq	%r15, %r12
	addq	$8, %r12
	movq	_pm8xxx_mpp_template@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, 8(%r15)
	movq	16(%rax), %rax
	movq	%rax, 24(%r15)
	movl	$-1, 8(%r15)
	movq	%r14, 32(%r15)
	movl	(%r14), %eax
	movl	%eax, 24(%r15)
	movl	$2, 12(%r15)
	movq	40(%r15), %rdi
	callq	_dev_name
	movl	%eax, 20(%r15)
	movl	(%r15), %eax
	movl	%eax, 16(%r15)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_gpiochip_add_data
	testl	%eax, %eax
	je	LBB0_23
## %bb.21:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_17
LBB0_22:
	movl	%eax, %ebx
	jmp	LBB0_17
LBB0_23:
	movq	40(%r15), %rdi
	callq	_dev_name
	movl	16(%r15), %r8d
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_gpiochip_add_pin_range
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %r13d
	movq	40(%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_dev_err
	movq	%r12, %rdi
	callq	_gpiochip_remove
	movl	%r13d, %ebx
	jmp	LBB0_17
LBB0_25:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parent regmap unavailable\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_pm8xxx_pinctrl_desc,24,3       ## @pm8xxx_pinctrl_desc
	.comm	_pm8xxx_groups,8,3              ## @pm8xxx_groups
	.comm	_pm8xxx_mpp_bindings,4,2        ## @pm8xxx_mpp_bindings
L_.str.1:                               ## @.str.1
	.asciz	"couldn't register pm8xxx mpp driver\n"

	.comm	_pm8xxx_mpp_template,32,3       ## @pm8xxx_mpp_template
L_.str.2:                               ## @.str.2
	.asciz	"failed register gpiochip\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to add pin range\n"

L_.str.4:                               ## @.str.4
	.asciz	"Qualcomm pm8xxx mpp driver probed\n"

	.comm	_pm8xxx_conf_items,4,2          ## @pm8xxx_conf_items
	.no_dead_strip	_pm8xxx_mpp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pm8xxx_mpp_probe
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pm8xxx_mpp_probe:                      ; @pm8xxx_mpp_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	w1, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #40]
	mov	x0, x19
	bl	_platform_irq_count
	cbz	w0, LBB0_14
; %bb.2:
	mov	x23, x0
	tbnz	w0, #31, LBB0_17
; %bb.3:
	str	w23, [x20]
	ldr	w0, [x19, #4]
	mov	x1, #0
	bl	_dev_get_regmap
	str	w0, [x20, #80]
	cbz	w0, LBB0_15
; %bb.4:
Lloh2:
	adrp	x8, _pm8xxx_pinctrl_desc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pm8xxx_pinctrl_desc@GOTPAGEOFF]
	ldr	q0, [x8]
	stur	q0, [x20, #56]
	ldr	x8, [x8, #16]
	str	x8, [x20, #72]
	ldr	w1, [x20]
	str	w1, [x20, #56]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w2, #24
	bl	_devm_kcalloc
	cbz	x0, LBB0_13
; %bb.5:
	mov	x22, x0
	add	x21, x20, #56
	ldr	w1, [x21]
	ldr	w3, [x24]
	mov	x0, x19
	mov	w2, #16
	bl	_devm_kcalloc
	cbz	x0, LBB0_13
; %bb.6:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.7:
	mov	x24, x0
	mov	x25, #0
	add	x26, x22, #8
Lloh4:
	adrp	x27, _pm8xxx_groups@GOTPAGE
Lloh5:
	ldr	x27, [x27, _pm8xxx_groups@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_SSBI_REG_ADDR_MPP
	str	w0, [x24, #8]
	mov	x0, x19
	mov	x1, x25
	bl	_platform_get_irq
	str	x0, [x24]
	tbnz	x0, #63, LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_pm8xxx_pin_populate
	cbnz	w0, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	stur	w25, [x26, #-8]
	ldr	x8, [x27]
	ldr	w8, [x8, x25, lsl #2]
	str	w8, [x26, #8]
	str	x24, [x26], #24
	add	x25, x25, #1
	ldrsw	x8, [x21]
	add	x24, x24, #16
	cmp	x25, x8
	b.lt	LBB0_8
LBB0_11:
	str	x22, [x20, #72]
Lloh6:
	adrp	x22, _pm8xxx_mpp_bindings@GOTPAGE
Lloh7:
	ldr	x22, [x22, _pm8xxx_mpp_bindings@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_ARRAY_SIZE
	ldr	w8, [x22]
	stp	w8, w0, [x20, #64]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_devm_pinctrl_register
	str	w0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.12:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #48]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_13:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh16:
	adrp	x8, _ENXIO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_17:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	mov	x23, x0
	b	LBB0_17
LBB0_19:
Lloh18:
	adrp	x8, _pm8xxx_mpp_template@GOTPAGE
Lloh19:
	ldr	x8, [x8, _pm8xxx_mpp_template@GOTPAGEOFF]
	add	x21, x20, #8
	ldr	q0, [x8]
	ldr	x8, [x8, #16]
	stur	q0, [x20, #8]
	stp	x8, x19, [x20, #24]
	ldr	w8, [x19]
	str	w8, [x20, #24]
Lloh20:
	adrp	x8, lCPI0_0@PAGE
Lloh21:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20, #8]
	ldr	x0, [x20, #40]
	bl	_dev_name
	ldr	w8, [x20]
	stp	w8, w0, [x20, #16]
	mov	x0, x21
	mov	x1, x20
	bl	_gpiochip_add_data
	cbz	w0, LBB0_22
; %bb.20:
	mov	x23, x0
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_17
LBB0_21:
	mov	x23, x0
	b	LBB0_17
LBB0_22:
	ldr	x0, [x20, #40]
	bl	_dev_name
	mov	x1, x0
	ldr	w4, [x20, #16]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_gpiochip_add_pin_range
	mov	x23, x0
	cbz	w0, LBB0_24
; %bb.23:
	ldr	x0, [x20, #40]
Lloh24:
	adrp	x1, l_.str.3@PAGE
Lloh25:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
	mov	x0, x21
	bl	_gpiochip_remove
	b	LBB0_17
LBB0_24:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parent regmap unavailable\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_pm8xxx_pinctrl_desc,24,3       ; @pm8xxx_pinctrl_desc
	.comm	_pm8xxx_groups,8,3              ; @pm8xxx_groups
	.comm	_pm8xxx_mpp_bindings,4,2        ; @pm8xxx_mpp_bindings
l_.str.1:                               ; @.str.1
	.asciz	"couldn't register pm8xxx mpp driver\n"

	.comm	_pm8xxx_mpp_template,32,3       ; @pm8xxx_mpp_template
l_.str.2:                               ; @.str.2
	.asciz	"failed register gpiochip\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to add pin range\n"

l_.str.4:                               ; @.str.4
	.asciz	"Qualcomm pm8xxx mpp driver probed\n"

	.comm	_pm8xxx_conf_items,4,2          ; @pm8xxx_conf_items
	.no_dead_strip	_pm8xxx_mpp_probe
.subsections_via_symbols
