	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmic_mpp_populate
_pmic_mpp_populate:                     ## @pmic_mpp_populate
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	_PMIC_MPP_REG_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_pmic_mpp_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_12
## %bb.1:
	movq	_PMIC_MPP_TYPE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_9
## %bb.2:
	movq	_PMIC_MPP_REG_SUBTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pmic_mpp_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_12
## %bb.3:
	leal	-128(%r12), %eax
	cmpl	$6, %eax
	jae	LBB0_10
## %bb.4:
	cltq
	leaq	l_switch.table.pmic_mpp_populate(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%r14)
	movq	_PMIC_MPP_REG_MODE_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pmic_mpp_read
	testl	%eax, %eax
	js	LBB0_13
## %bb.5:
	movq	_PMIC_MPP_REG_MODE_VALUE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 4(%r14)
	movq	_PMIC_MPP_REG_MODE_DIR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	shrl	%cl, %edx
	movq	_PMIC_MPP_REG_MODE_DIR_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	addl	$-134, %edx
	cmpl	$7, %edx
	jae	LBB0_14
## %bb.6:
	movslq	%edx, %rcx
	leaq	l_switch.table.pmic_mpp_populate.3(%rip), %rdx
	movl	(%rdx,%rcx,4), %edx
	leaq	l_switch.table.pmic_mpp_populate.4(%rip), %rsi
	movl	(%rsi,%rcx,4), %esi
	leaq	l_switch.table.pmic_mpp_populate.5(%rip), %rdi
	movq	(%rdi,%rcx,8), %rcx
	movl	%edx, 8(%r14)
	movl	%esi, 12(%r14)
	movq	(%rcx), %rcx
	movq	%rcx, 56(%r14)
	movq	_PMIC_MPP_REG_MODE_FUNCTION_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	movq	_PMIC_MPP_REG_MODE_FUNCTION_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_PMIC_MPP_SELECTOR_DTEST_FIRST@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_15
## %bb.7:
	movq	_PMIC_MPP_SELECTOR_PAIRED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_16
## %bb.8:
	movl	$1, 20(%r14)
	jmp	LBB0_16
LBB0_9:
	movl	(%r15), %edi
	movl	64(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_11
LBB0_10:
	movl	(%r15), %edi
	movl	64(%r14), %ecx
	leaq	L_.str.1(%rip), %rsi
LBB0_11:
	xorl	%ebx, %ebx
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r12d
LBB0_12:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_12
LBB0_15:
	incl	%eax
	movl	%eax, 16(%r14)
LBB0_16:
	movq	_PMIC_MPP_REG_DIG_VIN_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pmic_mpp_read
	testl	%eax, %eax
	js	LBB0_13
## %bb.17:
	movq	_PMIC_MPP_REG_VIN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %eax
	movq	_PMIC_MPP_REG_VIN_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 24(%r14)
	andl	$-2, %r12d
	cmpl	$128, %r12d
	je	LBB0_20
## %bb.18:
	movq	_PMIC_MPP_REG_DIG_PULL_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pmic_mpp_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_12
## %bb.19:
	movq	_PMIC_MPP_REG_PULL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrl	%cl, %r12d
	movq	_PMIC_MPP_REG_PULL_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	%r12d, 28(%r14)
	movl	$1, 32(%r14)
LBB0_20:
	movq	_PMIC_MPP_REG_AIN_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pmic_mpp_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_12
## %bb.21:
	movq	_PMIC_MPP_REG_AIN_ROUTE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrl	%cl, %r12d
	movq	_PMIC_MPP_REG_AIN_ROUTE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movl	%r12d, 36(%r14)
	movq	_PMIC_MPP_REG_SINK_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pmic_mpp_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_12
## %bb.22:
	movl	%r12d, 40(%r14)
	movq	_PMIC_MPP_REG_AOUT_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pmic_mpp_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_12
## %bb.23:
	movl	%r12d, 44(%r14)
	movq	_PMIC_MPP_REG_EN_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pmic_mpp_read
	testl	%eax, %eax
	js	LBB0_13
## %bb.24:
	setne	%al
	movzbl	%al, %eax
	movl	%eax, 48(%r14)
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_13:
	movl	%eax, %r12d
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_PMIC_MPP_REG_TYPE,4,2          ## @PMIC_MPP_REG_TYPE
	.comm	_PMIC_MPP_TYPE,4,2              ## @PMIC_MPP_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"incorrect block type 0x%x at 0x%x\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_PMIC_MPP_REG_SUBTYPE,4,2       ## @PMIC_MPP_REG_SUBTYPE
L_.str.1:                               ## @.str.1
	.asciz	"unknown MPP type 0x%x at 0x%x\n"

	.comm	_PMIC_MPP_REG_MODE_CTL,4,2      ## @PMIC_MPP_REG_MODE_CTL
	.comm	_PMIC_MPP_REG_MODE_VALUE_MASK,4,2 ## @PMIC_MPP_REG_MODE_VALUE_MASK
	.comm	_PMIC_MPP_REG_MODE_DIR_SHIFT,4,2 ## @PMIC_MPP_REG_MODE_DIR_SHIFT
	.comm	_PMIC_MPP_REG_MODE_DIR_MASK,4,2 ## @PMIC_MPP_REG_MODE_DIR_MASK
	.comm	_PMIC_MPP_DIGITAL,8,3           ## @PMIC_MPP_DIGITAL
	.comm	_PMIC_MPP_ANALOG,8,3            ## @PMIC_MPP_ANALOG
	.comm	_PMIC_MPP_SINK,8,3              ## @PMIC_MPP_SINK
L_.str.2:                               ## @.str.2
	.asciz	"unknown MPP direction\n"

	.comm	_PMIC_MPP_REG_MODE_FUNCTION_SHIFT,4,2 ## @PMIC_MPP_REG_MODE_FUNCTION_SHIFT
	.comm	_PMIC_MPP_REG_MODE_FUNCTION_MASK,4,2 ## @PMIC_MPP_REG_MODE_FUNCTION_MASK
	.comm	_PMIC_MPP_SELECTOR_DTEST_FIRST,4,2 ## @PMIC_MPP_SELECTOR_DTEST_FIRST
	.comm	_PMIC_MPP_SELECTOR_PAIRED,4,2   ## @PMIC_MPP_SELECTOR_PAIRED
	.comm	_PMIC_MPP_REG_DIG_VIN_CTL,4,2   ## @PMIC_MPP_REG_DIG_VIN_CTL
	.comm	_PMIC_MPP_REG_VIN_SHIFT,4,2     ## @PMIC_MPP_REG_VIN_SHIFT
	.comm	_PMIC_MPP_REG_VIN_MASK,4,2      ## @PMIC_MPP_REG_VIN_MASK
	.comm	_PMIC_MPP_REG_DIG_PULL_CTL,4,2  ## @PMIC_MPP_REG_DIG_PULL_CTL
	.comm	_PMIC_MPP_REG_PULL_SHIFT,4,2    ## @PMIC_MPP_REG_PULL_SHIFT
	.comm	_PMIC_MPP_REG_PULL_MASK,4,2     ## @PMIC_MPP_REG_PULL_MASK
	.comm	_PMIC_MPP_REG_AIN_CTL,4,2       ## @PMIC_MPP_REG_AIN_CTL
	.comm	_PMIC_MPP_REG_AIN_ROUTE_SHIFT,4,2 ## @PMIC_MPP_REG_AIN_ROUTE_SHIFT
	.comm	_PMIC_MPP_REG_AIN_ROUTE_MASK,4,2 ## @PMIC_MPP_REG_AIN_ROUTE_MASK
	.comm	_PMIC_MPP_REG_SINK_CTL,4,2      ## @PMIC_MPP_REG_SINK_CTL
	.comm	_PMIC_MPP_REG_AOUT_CTL,4,2      ## @PMIC_MPP_REG_AOUT_CTL
	.comm	_PMIC_MPP_REG_EN_CTL,4,2        ## @PMIC_MPP_REG_EN_CTL
	.no_dead_strip	_pmic_mpp_populate
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.pmic_mpp_populate
l_switch.table.pmic_mpp_populate:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4

	.p2align	2                               ## @switch.table.pmic_mpp_populate.3
l_switch.table.pmic_mpp_populate.3:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1

	.p2align	2                               ## @switch.table.pmic_mpp_populate.4
l_switch.table.pmic_mpp_populate.4:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	1                               ## 0x1

	.section	__DATA,__const
	.p2align	3                               ## @switch.table.pmic_mpp_populate.5
l_switch.table.pmic_mpp_populate.5:
	.quad	_PMIC_MPP_DIGITAL
	.quad	_PMIC_MPP_DIGITAL
	.quad	_PMIC_MPP_DIGITAL
	.quad	_PMIC_MPP_SINK
	.quad	_PMIC_MPP_ANALOG
	.quad	_PMIC_MPP_ANALOG
	.quad	_PMIC_MPP_ANALOG

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmic_mpp_populate
_pmic_mpp_populate:                     ; @pmic_mpp_populate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PMIC_MPP_REG_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMIC_MPP_REG_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_pmic_mpp_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.1:
Lloh3:
	adrp	x8, _PMIC_MPP_TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMIC_MPP_TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_9
; %bb.2:
Lloh6:
	adrp	x8, _PMIC_MPP_REG_SUBTYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PMIC_MPP_REG_SUBTYPE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pmic_mpp_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.3:
	sub	w8, w21, #128
	cmp	w8, #6
	b.hs	LBB0_10
; %bb.4:
Lloh9:
	adrp	x9, l_switch.table.pmic_mpp_populate@PAGE
Lloh10:
	add	x9, x9, l_switch.table.pmic_mpp_populate@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	str	w8, [x19]
Lloh11:
	adrp	x8, _PMIC_MPP_REG_MODE_CTL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PMIC_MPP_REG_MODE_CTL@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pmic_mpp_read
	tbnz	w0, #31, LBB0_24
; %bb.5:
Lloh14:
	adrp	x8, _PMIC_MPP_REG_MODE_VALUE_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PMIC_MPP_REG_MODE_VALUE_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19, #4]
Lloh17:
	adrp	x8, _PMIC_MPP_REG_MODE_DIR_SHIFT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PMIC_MPP_REG_MODE_DIR_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh20:
	adrp	x9, _PMIC_MPP_REG_MODE_DIR_MASK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PMIC_MPP_REG_MODE_DIR_MASK@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	and	w8, w8, w9
	sub	w8, w8, #134
	cmp	w8, #7
	b.hs	LBB0_11
; %bb.6:
	sbfiz	x9, x8, #2, #32
Lloh23:
	adrp	x10, l_switch.table.pmic_mpp_populate.3@PAGE
Lloh24:
	add	x10, x10, l_switch.table.pmic_mpp_populate.3@PAGEOFF
	ldr	w10, [x10, x9]
Lloh25:
	adrp	x11, l_switch.table.pmic_mpp_populate.4@PAGE
Lloh26:
	add	x11, x11, l_switch.table.pmic_mpp_populate.4@PAGEOFF
	ldr	w9, [x11, x9]
Lloh27:
	adrp	x11, l_switch.table.pmic_mpp_populate.5@PAGE
Lloh28:
	add	x11, x11, l_switch.table.pmic_mpp_populate.5@PAGEOFF
	ldr	x8, [x11, w8, sxtw #3]
	stp	w10, w9, [x19, #8]
	ldr	x8, [x8]
	str	x8, [x19, #56]
Lloh29:
	adrp	x8, _PMIC_MPP_REG_MODE_FUNCTION_SHIFT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PMIC_MPP_REG_MODE_FUNCTION_SHIFT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	lsr	w8, w0, w8
Lloh32:
	adrp	x9, _PMIC_MPP_REG_MODE_FUNCTION_MASK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _PMIC_MPP_REG_MODE_FUNCTION_MASK@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh35:
	adrp	x9, _PMIC_MPP_SELECTOR_DTEST_FIRST@GOTPAGE
Lloh36:
	ldr	x9, [x9, _PMIC_MPP_SELECTOR_DTEST_FIRST@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_14
; %bb.7:
Lloh38:
	adrp	x9, _PMIC_MPP_SELECTOR_PAIRED@GOTPAGE
Lloh39:
	ldr	x9, [x9, _PMIC_MPP_SELECTOR_PAIRED@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.8:
	mov	w8, #1
	str	w8, [x19, #20]
	b	LBB0_15
LBB0_9:
	ldr	w0, [x20]
	ldr	w8, [x19, #64]
	stp	x21, x8, [sp]
Lloh41:
	adrp	x1, l_.str@PAGE
Lloh42:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_10:
	ldr	w0, [x20]
	ldr	w8, [x19, #64]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	stp	x21, x8, [sp]
Lloh43:
	adrp	x1, l_.str.1@PAGE
Lloh44:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldr	w0, [x20]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_12:
	bl	_dev_err
Lloh47:
	adrp	x8, _ENODEV@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_13:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_14:
	add	w8, w8, #1
	str	w8, [x19, #16]
LBB0_15:
Lloh50:
	adrp	x8, _PMIC_MPP_REG_DIG_VIN_CTL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _PMIC_MPP_REG_DIG_VIN_CTL@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pmic_mpp_read
	tbnz	w0, #31, LBB0_24
; %bb.16:
Lloh53:
	adrp	x8, _PMIC_MPP_REG_VIN_SHIFT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PMIC_MPP_REG_VIN_SHIFT@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
Lloh56:
	adrp	x9, _PMIC_MPP_REG_VIN_MASK@GOTPAGE
Lloh57:
	ldr	x9, [x9, _PMIC_MPP_REG_VIN_MASK@GOTPAGEOFF]
	lsr	w8, w0, w8
Lloh58:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #24]
	and	w8, w21, #0xfffffffe
	cmp	w8, #128
	b.eq	LBB0_19
; %bb.17:
Lloh59:
	adrp	x8, _PMIC_MPP_REG_DIG_PULL_CTL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _PMIC_MPP_REG_DIG_PULL_CTL@GOTPAGEOFF]
Lloh61:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pmic_mpp_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.18:
Lloh62:
	adrp	x8, _PMIC_MPP_REG_PULL_SHIFT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _PMIC_MPP_REG_PULL_SHIFT@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
Lloh65:
	adrp	x9, _PMIC_MPP_REG_PULL_MASK@GOTPAGE
Lloh66:
	ldr	x9, [x9, _PMIC_MPP_REG_PULL_MASK@GOTPAGEOFF]
	lsr	w8, w21, w8
Lloh67:
	ldr	w9, [x9]
	and	w8, w9, w8
	mov	w9, #1
	stp	w8, w9, [x19, #28]
LBB0_19:
Lloh68:
	adrp	x8, _PMIC_MPP_REG_AIN_CTL@GOTPAGE
Lloh69:
	ldr	x8, [x8, _PMIC_MPP_REG_AIN_CTL@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pmic_mpp_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.20:
Lloh71:
	adrp	x8, _PMIC_MPP_REG_AIN_ROUTE_SHIFT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _PMIC_MPP_REG_AIN_ROUTE_SHIFT@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	lsr	w8, w21, w8
Lloh74:
	adrp	x9, _PMIC_MPP_REG_AIN_ROUTE_MASK@GOTPAGE
Lloh75:
	ldr	x9, [x9, _PMIC_MPP_REG_AIN_ROUTE_MASK@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #36]
Lloh77:
	adrp	x8, _PMIC_MPP_REG_SINK_CTL@GOTPAGE
Lloh78:
	ldr	x8, [x8, _PMIC_MPP_REG_SINK_CTL@GOTPAGEOFF]
Lloh79:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pmic_mpp_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.21:
	str	w21, [x19, #40]
Lloh80:
	adrp	x8, _PMIC_MPP_REG_AOUT_CTL@GOTPAGE
Lloh81:
	ldr	x8, [x8, _PMIC_MPP_REG_AOUT_CTL@GOTPAGEOFF]
Lloh82:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pmic_mpp_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.22:
	str	w21, [x19, #44]
Lloh83:
	adrp	x8, _PMIC_MPP_REG_EN_CTL@GOTPAGE
Lloh84:
	ldr	x8, [x8, _PMIC_MPP_REG_EN_CTL@GOTPAGEOFF]
Lloh85:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_pmic_mpp_read
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.23:
	cmp	w21, #0
	mov	w21, #0
	cset	w8, ne
	str	w8, [x19, #48]
	b	LBB0_13
LBB0_24:
	mov	x21, x0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_PMIC_MPP_REG_TYPE,4,2          ; @PMIC_MPP_REG_TYPE
	.comm	_PMIC_MPP_TYPE,4,2              ; @PMIC_MPP_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"incorrect block type 0x%x at 0x%x\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_PMIC_MPP_REG_SUBTYPE,4,2       ; @PMIC_MPP_REG_SUBTYPE
l_.str.1:                               ; @.str.1
	.asciz	"unknown MPP type 0x%x at 0x%x\n"

	.comm	_PMIC_MPP_REG_MODE_CTL,4,2      ; @PMIC_MPP_REG_MODE_CTL
	.comm	_PMIC_MPP_REG_MODE_VALUE_MASK,4,2 ; @PMIC_MPP_REG_MODE_VALUE_MASK
	.comm	_PMIC_MPP_REG_MODE_DIR_SHIFT,4,2 ; @PMIC_MPP_REG_MODE_DIR_SHIFT
	.comm	_PMIC_MPP_REG_MODE_DIR_MASK,4,2 ; @PMIC_MPP_REG_MODE_DIR_MASK
	.comm	_PMIC_MPP_DIGITAL,8,3           ; @PMIC_MPP_DIGITAL
	.comm	_PMIC_MPP_ANALOG,8,3            ; @PMIC_MPP_ANALOG
	.comm	_PMIC_MPP_SINK,8,3              ; @PMIC_MPP_SINK
l_.str.2:                               ; @.str.2
	.asciz	"unknown MPP direction\n"

	.comm	_PMIC_MPP_REG_MODE_FUNCTION_SHIFT,4,2 ; @PMIC_MPP_REG_MODE_FUNCTION_SHIFT
	.comm	_PMIC_MPP_REG_MODE_FUNCTION_MASK,4,2 ; @PMIC_MPP_REG_MODE_FUNCTION_MASK
	.comm	_PMIC_MPP_SELECTOR_DTEST_FIRST,4,2 ; @PMIC_MPP_SELECTOR_DTEST_FIRST
	.comm	_PMIC_MPP_SELECTOR_PAIRED,4,2   ; @PMIC_MPP_SELECTOR_PAIRED
	.comm	_PMIC_MPP_REG_DIG_VIN_CTL,4,2   ; @PMIC_MPP_REG_DIG_VIN_CTL
	.comm	_PMIC_MPP_REG_VIN_SHIFT,4,2     ; @PMIC_MPP_REG_VIN_SHIFT
	.comm	_PMIC_MPP_REG_VIN_MASK,4,2      ; @PMIC_MPP_REG_VIN_MASK
	.comm	_PMIC_MPP_REG_DIG_PULL_CTL,4,2  ; @PMIC_MPP_REG_DIG_PULL_CTL
	.comm	_PMIC_MPP_REG_PULL_SHIFT,4,2    ; @PMIC_MPP_REG_PULL_SHIFT
	.comm	_PMIC_MPP_REG_PULL_MASK,4,2     ; @PMIC_MPP_REG_PULL_MASK
	.comm	_PMIC_MPP_REG_AIN_CTL,4,2       ; @PMIC_MPP_REG_AIN_CTL
	.comm	_PMIC_MPP_REG_AIN_ROUTE_SHIFT,4,2 ; @PMIC_MPP_REG_AIN_ROUTE_SHIFT
	.comm	_PMIC_MPP_REG_AIN_ROUTE_MASK,4,2 ; @PMIC_MPP_REG_AIN_ROUTE_MASK
	.comm	_PMIC_MPP_REG_SINK_CTL,4,2      ; @PMIC_MPP_REG_SINK_CTL
	.comm	_PMIC_MPP_REG_AOUT_CTL,4,2      ; @PMIC_MPP_REG_AOUT_CTL
	.comm	_PMIC_MPP_REG_EN_CTL,4,2        ; @PMIC_MPP_REG_EN_CTL
	.no_dead_strip	_pmic_mpp_populate
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.pmic_mpp_populate
l_switch.table.pmic_mpp_populate:
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	4                               ; 0x4

	.p2align	2                               ; @switch.table.pmic_mpp_populate.3
l_switch.table.pmic_mpp_populate.3:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1

	.p2align	2                               ; @switch.table.pmic_mpp_populate.4
l_switch.table.pmic_mpp_populate.4:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	1                               ; 0x1

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.pmic_mpp_populate.5
l_switch.table.pmic_mpp_populate.5:
	.quad	_PMIC_MPP_DIGITAL
	.quad	_PMIC_MPP_DIGITAL
	.quad	_PMIC_MPP_DIGITAL
	.quad	_PMIC_MPP_SINK
	.quad	_PMIC_MPP_ANALOG
	.quad	_PMIC_MPP_ANALOG
	.quad	_PMIC_MPP_ANALOG

.subsections_via_symbols
