	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmic_mpp_config_get
_pmic_mpp_config_get:                   ## @pmic_mpp_config_get
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	(%rdx), %rdi
	callq	_pinconf_to_config_param
                                        ## kill: def $eax killed $eax def $rax
	leal	-131(%rax), %edx
	cmpl	$10, %edx
	ja	LBB0_3
## %bb.1:
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	%r15d, %esi
	movq	(%rcx,%rsi,8), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_12:
	movl	$1, %esi
	cmpl	$0, 24(%rcx)
	jne	LBB0_16
	jmp	LBB0_3
LBB0_10:
	addq	$8, %rcx
	jmp	LBB0_15
LBB0_14:
	addq	$20, %rcx
	jmp	LBB0_15
LBB0_11:
	addq	$12, %rcx
	jmp	LBB0_15
LBB0_9:
	addq	$4, %rcx
	jmp	LBB0_15
LBB0_8:
	movl	$1, %esi
	cmpl	$0, 28(%rcx)
	jne	LBB0_16
	jmp	LBB0_3
LBB0_13:
	addq	$16, %rcx
	jmp	LBB0_15
LBB0_4:
	movl	36(%rcx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	jae	LBB0_3
## %bb.5:
	movslq	%ecx, %rcx
	leaq	l_switch.table.pmic_mpp_config_get(%rip), %rdx
	leaq	(%rdx,%rcx,4), %rcx
LBB0_15:
	movl	(%rcx), %esi
LBB0_16:
	movl	%eax, %edi
	callq	_pinconf_to_config_packed
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_6:
	cmpl	$0, 32(%rcx)
	jne	LBB0_3
## %bb.7:
	movl	$1, %esi
	jmp	LBB0_16
LBB0_2:
	movl	36(%rcx), %ecx
	movq	_PMIC_MPP_PULL_UP_OPEN@GOTPCREL(%rip), %rdx
	movl	$1, %esi
	cmpl	(%rdx), %ecx
	je	LBB0_16
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_PMIC_MPP_PULL_UP_OPEN,4,2      ## @PMIC_MPP_PULL_UP_OPEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pmic_mpp_config_get
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.pmic_mpp_config_get
l_switch.table.pmic_mpp_config_get:
	.long	30000                           ## 0x7530
	.long	10000                           ## 0x2710
	.long	600                             ## 0x258

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmic_mpp_config_get
_pmic_mpp_config_get:                   ; @pmic_mpp_config_get
	.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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x0, [x2]
	bl	_pinconf_to_config_param
	sub	w9, w0, #131
	cmp	w9, #10
	b.hi	LBB0_13
; %bb.1:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8, w20, uxtw #3]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	w8, [x8, #24]
	cbnz	w8, LBB0_15
	b	LBB0_13
LBB0_3:
	add	x8, x8, #8
	b	LBB0_11
LBB0_4:
	add	x8, x8, #20
	b	LBB0_11
LBB0_5:
	add	x8, x8, #12
	b	LBB0_11
LBB0_6:
	add	x8, x8, #4
	b	LBB0_11
LBB0_7:
	ldr	w8, [x8, #28]
	cbnz	w8, LBB0_15
	b	LBB0_13
LBB0_8:
	add	x8, x8, #16
	b	LBB0_11
LBB0_9:
	ldr	w8, [x8, #36]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_13
; %bb.10:
Lloh2:
	adrp	x9, l_switch.table.pmic_mpp_config_get@PAGE
Lloh3:
	add	x9, x9, l_switch.table.pmic_mpp_config_get@PAGEOFF
	add	x8, x9, w8, sxtw #2
LBB0_11:
	ldr	w1, [x8]
	b	LBB0_16
LBB0_12:
	ldr	w8, [x8, #32]
	cbz	w8, LBB0_15
LBB0_13:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_14:
	ldr	w8, [x8, #36]
Lloh7:
	adrp	x9, _PMIC_MPP_PULL_UP_OPEN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PMIC_MPP_PULL_UP_OPEN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
LBB0_15:
	mov	w1, #1
LBB0_16:
	bl	_pinconf_to_config_packed
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_17:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_PMIC_MPP_PULL_UP_OPEN,4,2      ; @PMIC_MPP_PULL_UP_OPEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pmic_mpp_config_get
	.p2align	2                               ; @switch.table.pmic_mpp_config_get
l_switch.table.pmic_mpp_config_get:
	.long	30000                           ; 0x7530
	.long	10000                           ; 0x2710
	.long	600                             ; 0x258

.subsections_via_symbols
