	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msm_config_group_get
_msm_config_group_get:                  ## @msm_config_group_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	(%r14), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r15d
	movq	(%r12), %rax
	movl	%ebx, %ebx
	shlq	$2, %rbx
	addq	8(%rax), %rbx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_msm_config_reg
	testl	%eax, %eax
	js	LBB0_20
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_msm_readl_ctl
	movb	-36(%rbp), %cl
	shrl	%cl, %eax
	leal	-128(%r15), %ecx
	cmpl	$6, %ecx
	ja	LBB0_9
## %bb.2:
	andl	-40(%rbp), %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_14:
	testl	%eax, %eax
	je	LBB0_5
## %bb.15:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_msm_readl_io
	movl	%eax, %r12d
	movl	(%rbx), %edi
	callq	_BIT
	xorl	%esi, %esi
	testl	%r12d, %eax
	setne	%sil
	jmp	LBB0_19
LBB0_16:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.17:
	movl	$1, %esi
	jmp	LBB0_19
LBB0_18:
	movl	%eax, %edi
	callq	_msm_regval_to_drive
	movl	%eax, %esi
	jmp	LBB0_19
LBB0_11:
	movq	(%r12), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_12
## %bb.13:
	movq	_MSM_PULL_UP@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_7:
	movq	_MSM_PULL_DOWN@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_MSM_NO_PULL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_8:
	movq	(%r12), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_10
LBB0_9:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_12:
	movq	_MSM_PULL_UP_NO_KEEPER@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_10:
	movq	_MSM_KEEPER@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	$1, %esi
	cmpl	(%rcx), %eax
	jne	LBB0_5
LBB0_19:
	movl	%r15d, %edi
	callq	_pinconf_to_config_packed
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_20:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_MSM_NO_PULL,4,2                ## @MSM_NO_PULL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MSM_PULL_DOWN,4,2              ## @MSM_PULL_DOWN
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_MSM_KEEPER,4,2                 ## @MSM_KEEPER
	.comm	_MSM_PULL_UP_NO_KEEPER,4,2      ## @MSM_PULL_UP_NO_KEEPER
	.comm	_MSM_PULL_UP,4,2                ## @MSM_PULL_UP
	.no_dead_strip	_msm_config_group_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msm_config_group_get
_msm_config_group_get:                  ; @msm_config_group_get
	.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, x2
	mov	x22, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x21, x0
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	mov	x20, x0
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	add	x22, x8, w22, uxtw #2
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_msm_config_reg
	tbnz	w0, #31, LBB0_18
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_msm_readl_ctl
	sub	w8, w20, #128
	cmp	w8, #6
	b.hi	LBB0_12
; %bb.2:
	ldp	w9, w10, [sp, #8]
	lsr	w9, w0, w9
	and	w0, w9, w10
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x21
	mov	x1, x22
	bl	_msm_readl_io
	mov	x21, x0
	ldr	w0, [x22]
	bl	_BIT
	tst	w0, w21
	cset	w1, ne
	b	LBB0_17
LBB0_5:
	cbz	w0, LBB0_16
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
	bl	_msm_regval_to_drive
	mov	x1, x0
	b	LBB0_17
LBB0_8:
	ldr	x8, [x21]
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _MSM_PULL_UP@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MSM_PULL_UP@GOTPAGEOFF]
Lloh6:
	adrp	x10, _MSM_PULL_UP_NO_KEEPER@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MSM_PULL_UP_NO_KEEPER@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	b	LBB0_15
LBB0_9:
Lloh8:
	adrp	x8, _MSM_PULL_DOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSM_PULL_DOWN@GOTPAGEOFF]
	b	LBB0_15
LBB0_10:
Lloh10:
	adrp	x8, _MSM_NO_PULL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSM_NO_PULL@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
	ldr	x8, [x21]
	ldr	w8, [x8]
	cbz	w8, LBB0_14
LBB0_12:
Lloh12:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_18
LBB0_14:
Lloh14:
	adrp	x8, _MSM_KEEPER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSM_KEEPER@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
LBB0_16:
	mov	w1, #1
LBB0_17:
	mov	x0, x20
	bl	_pinconf_to_config_packed
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_18:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
                                        ; -- End function
	.comm	_MSM_NO_PULL,4,2                ; @MSM_NO_PULL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MSM_PULL_DOWN,4,2              ; @MSM_PULL_DOWN
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_MSM_KEEPER,4,2                 ; @MSM_KEEPER
	.comm	_MSM_PULL_UP_NO_KEEPER,4,2      ; @MSM_PULL_UP_NO_KEEPER
	.comm	_MSM_PULL_UP,4,2                ; @MSM_PULL_UP
	.no_dead_strip	_msm_config_group_get
.subsections_via_symbols
