	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmic_gpio_config_get
_pmic_gpio_config_get:                  ## @pmic_gpio_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	-128(%rax), %edx
	cmpl	$14, %edx
	ja	LBB0_4
## %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_14:
	addq	$12, %rcx
	jmp	LBB0_19
LBB0_17:
	addq	$24, %rcx
	jmp	LBB0_19
LBB0_15:
	addq	$16, %rcx
	jmp	LBB0_19
LBB0_16:
	addq	$20, %rcx
	jmp	LBB0_19
LBB0_18:
	addq	$4, %rcx
	jmp	LBB0_19
LBB0_13:
	addq	$8, %rcx
LBB0_19:
	movl	(%rcx), %esi
	jmp	LBB0_20
LBB0_12:
	movl	$1, %esi
	cmpl	$0, 28(%rcx)
	jne	LBB0_20
	jmp	LBB0_4
LBB0_2:
	movl	36(%rcx), %ecx
	movq	_PMIC_GPIO_OUT_BUF_CMOS@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_6:
	movl	36(%rcx), %ecx
	movq	_PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_5:
	movl	36(%rcx), %ecx
	movq	_PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_9:
	movl	(%rcx), %ecx
	movq	_PMIC_GPIO_PULL_UP_30@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_7:
	movl	(%rcx), %ecx
	movq	_PMIC_GPIO_PULL_DOWN@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_10:
	cmpl	$0, 32(%rcx)
	jne	LBB0_4
## %bb.11:
	movl	$1, %esi
	jmp	LBB0_20
LBB0_8:
	movl	(%rcx), %ecx
	movq	_PMIC_GPIO_PULL_DISABLE@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	$1, %esi
	cmpl	(%rdx), %ecx
	jne	LBB0_4
LBB0_20:
	movl	%eax, %edi
	callq	_pinconf_to_config_packed
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	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_19, LBB0_19-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_19
	.long	L0_0_set_17
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_18
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_PMIC_GPIO_OUT_BUF_CMOS,4,2     ## @PMIC_GPIO_OUT_BUF_CMOS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS,4,2 ## @PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS
	.comm	_PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS,4,2 ## @PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS
	.comm	_PMIC_GPIO_PULL_DOWN,4,2        ## @PMIC_GPIO_PULL_DOWN
	.comm	_PMIC_GPIO_PULL_DISABLE,4,2     ## @PMIC_GPIO_PULL_DISABLE
	.comm	_PMIC_GPIO_PULL_UP_30,4,2       ## @PMIC_GPIO_PULL_UP_30
	.no_dead_strip	_pmic_gpio_config_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmic_gpio_config_get
_pmic_gpio_config_get:                  ; @pmic_gpio_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, #128
	cmp	w9, #14
	b.hi	LBB0_20
; %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:
	add	x8, x8, #12
	b	LBB0_8
LBB0_3:
	add	x8, x8, #24
	b	LBB0_8
LBB0_4:
	add	x8, x8, #16
	b	LBB0_8
LBB0_5:
	add	x8, x8, #20
	b	LBB0_8
LBB0_6:
	add	x8, x8, #4
	b	LBB0_8
LBB0_7:
	add	x8, x8, #8
LBB0_8:
	ldr	w1, [x8]
	b	LBB0_11
LBB0_9:
	ldr	w8, [x8, #28]
	cbz	w8, LBB0_20
LBB0_10:
	mov	w1, #1
LBB0_11:
	bl	_pinconf_to_config_packed
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_21
LBB0_12:
	ldr	w8, [x8, #36]
Lloh2:
	adrp	x9, _PMIC_GPIO_OUT_BUF_CMOS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PMIC_GPIO_OUT_BUF_CMOS@GOTPAGEOFF]
	b	LBB0_19
LBB0_13:
	ldr	w8, [x8, #36]
Lloh4:
	adrp	x9, _PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS@GOTPAGEOFF]
	b	LBB0_19
LBB0_14:
	ldr	w8, [x8, #36]
Lloh6:
	adrp	x9, _PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _PMIC_GPIO_PULL_UP_30@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PMIC_GPIO_PULL_UP_30@GOTPAGEOFF]
	b	LBB0_19
LBB0_16:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _PMIC_GPIO_PULL_DOWN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PMIC_GPIO_PULL_DOWN@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:
	ldr	w8, [x8, #32]
	cbnz	w8, LBB0_20
	b	LBB0_10
LBB0_18:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _PMIC_GPIO_PULL_DISABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PMIC_GPIO_PULL_DISABLE@GOTPAGEOFF]
LBB0_19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_10
LBB0_20:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_21:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	_PMIC_GPIO_OUT_BUF_CMOS,4,2     ; @PMIC_GPIO_OUT_BUF_CMOS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS,4,2 ; @PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS
	.comm	_PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS,4,2 ; @PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS
	.comm	_PMIC_GPIO_PULL_DOWN,4,2        ; @PMIC_GPIO_PULL_DOWN
	.comm	_PMIC_GPIO_PULL_DISABLE,4,2     ; @PMIC_GPIO_PULL_DISABLE
	.comm	_PMIC_GPIO_PULL_UP_30,4,2       ; @PMIC_GPIO_PULL_UP_30
	.no_dead_strip	_pmic_gpio_config_get
.subsections_via_symbols
