	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pistachio_pinconf_get
_pistachio_pinconf_get:                 ## @pistachio_pinconf_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %rbx
	movq	(%r14), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r15d
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movl	%r12d, %edi
	callq	_PADS_SLEW_RATE_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pctl_readl
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_PADS_SLEW_RATE_BIT
	jmp	LBB0_3
LBB0_11:
	movl	%r12d, %edi
	callq	_PADS_DRIVE_STRENGTH_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pctl_readl
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_PADS_DRIVE_STRENGTH_SHIFT
	movl	%eax, %ecx
	sarl	%cl, %ebx
	movq	_PADS_DRIVE_STRENGTH_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	addl	$-135, %ebx
	movl	$12, %esi
	cmpl	$3, %ebx
	jae	LBB0_13
## %bb.12:
	movslq	%ebx, %rax
	leaq	l_switch.table.pistachio_pinconf_get(%rip), %rcx
	movl	(%rcx,%rax,4), %esi
	jmp	LBB0_13
LBB0_7:
	movl	%r12d, %edi
	callq	_PADS_PU_PD_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pctl_readl
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_PADS_PU_PD_SHIFT
	movl	%eax, %ecx
	sarl	%cl, %ebx
	movq	_PADS_PU_PD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_PADS_PU_PD_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_dev_dbg
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
LBB0_2:
	movl	%r12d, %edi
	callq	_PADS_SCHMITT_EN_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pctl_readl
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_PADS_SCHMITT_EN_BIT
LBB0_3:
	xorl	%esi, %esi
	testl	%ebx, %eax
	setne	%sil
	jmp	LBB0_13
LBB0_6:
	movl	%r12d, %edi
	callq	_PADS_PU_PD_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pctl_readl
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_PADS_PU_PD_SHIFT
	movl	%eax, %ecx
	sarl	%cl, %ebx
	movq	_PADS_PU_PD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_PADS_PU_PD_UP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movl	%r12d, %edi
	callq	_PADS_PU_PD_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pctl_readl
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_PADS_PU_PD_SHIFT
	movl	%eax, %ecx
	sarl	%cl, %ebx
	movq	_PADS_PU_PD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_PADS_PU_PD_HIGHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	movl	%r12d, %edi
	callq	_PADS_PU_PD_REG
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_pctl_readl
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_PADS_PU_PD_SHIFT
	movl	%eax, %ecx
	sarl	%cl, %ebx
	movq	_PADS_PU_PD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_PADS_PU_PD_BUS@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%esi, %esi
	cmpl	(%rax), %ebx
	sete	%sil
LBB0_13:
	movl	%r15d, %edi
	callq	_pinconf_to_config_packed
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_PADS_PU_PD_MASK,4,2            ## @PADS_PU_PD_MASK
	.comm	_PADS_PU_PD_HIGHZ,4,2           ## @PADS_PU_PD_HIGHZ
	.comm	_PADS_PU_PD_UP,4,2              ## @PADS_PU_PD_UP
	.comm	_PADS_PU_PD_DOWN,4,2            ## @PADS_PU_PD_DOWN
	.comm	_PADS_PU_PD_BUS,4,2             ## @PADS_PU_PD_BUS
	.comm	_PADS_DRIVE_STRENGTH_MASK,4,2   ## @PADS_DRIVE_STRENGTH_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Property %u not supported\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_pistachio_pinconf_get
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.pistachio_pinconf_get
l_switch.table.pistachio_pinconf_get:
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	2                               ## 0x2

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pistachio_pinconf_get
_pistachio_pinconf_get:                 ; @pistachio_pinconf_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	x21, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x22, x0
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	mov	x20, x0
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x21
	bl	_PADS_SLEW_RATE_REG
	mov	x1, x0
	mov	x0, x22
	bl	_pctl_readl
	mov	x22, x0
	mov	x0, x21
	bl	_PADS_SLEW_RATE_BIT
	b	LBB0_8
LBB0_3:
	mov	x0, x21
	bl	_PADS_DRIVE_STRENGTH_REG
	mov	x1, x0
	mov	x0, x22
	bl	_pctl_readl
	mov	x22, x0
	mov	x0, x21
	bl	_PADS_DRIVE_STRENGTH_SHIFT
	asr	w8, w22, w0
Lloh2:
	adrp	x9, _PADS_DRIVE_STRENGTH_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PADS_DRIVE_STRENGTH_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w8, w9
	sub	w8, w8, #135
	cmp	w8, #3
	b.hs	LBB0_15
; %bb.4:
Lloh5:
	adrp	x9, l_switch.table.pistachio_pinconf_get@PAGE
Lloh6:
	add	x9, x9, l_switch.table.pistachio_pinconf_get@PAGEOFF
	ldr	w1, [x9, w8, sxtw #2]
	b	LBB0_13
LBB0_5:
	mov	x0, x21
	bl	_PADS_PU_PD_REG
	mov	x1, x0
	mov	x0, x22
	bl	_pctl_readl
	mov	x22, x0
	mov	x0, x21
	bl	_PADS_PU_PD_SHIFT
	asr	w8, w22, w0
Lloh7:
	adrp	x9, _PADS_PU_PD_MASK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PADS_PU_PD_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh10:
	adrp	x9, _PADS_PU_PD_DOWN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PADS_PU_PD_DOWN@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_dbg
Lloh14:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_7:
	mov	x0, x21
	bl	_PADS_SCHMITT_EN_REG
	mov	x1, x0
	mov	x0, x22
	bl	_pctl_readl
	mov	x22, x0
	mov	x0, x21
	bl	_PADS_SCHMITT_EN_BIT
LBB0_8:
	tst	w0, w22
	cset	w1, ne
	b	LBB0_13
LBB0_9:
	mov	x0, x21
	bl	_PADS_PU_PD_REG
	mov	x1, x0
	mov	x0, x22
	bl	_pctl_readl
	mov	x22, x0
	mov	x0, x21
	bl	_PADS_PU_PD_SHIFT
	asr	w8, w22, w0
Lloh17:
	adrp	x9, _PADS_PU_PD_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PADS_PU_PD_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh20:
	adrp	x9, _PADS_PU_PD_UP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _PADS_PU_PD_UP@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	mov	x0, x21
	bl	_PADS_PU_PD_REG
	mov	x1, x0
	mov	x0, x22
	bl	_pctl_readl
	mov	x22, x0
	mov	x0, x21
	bl	_PADS_PU_PD_SHIFT
	asr	w8, w22, w0
Lloh22:
	adrp	x9, _PADS_PU_PD_MASK@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PADS_PU_PD_MASK@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh25:
	adrp	x9, _PADS_PU_PD_HIGHZ@GOTPAGE
Lloh26:
	ldr	x9, [x9, _PADS_PU_PD_HIGHZ@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	mov	x0, x21
	bl	_PADS_PU_PD_REG
	mov	x1, x0
	mov	x0, x22
	bl	_pctl_readl
	mov	x22, x0
	mov	x0, x21
	bl	_PADS_PU_PD_SHIFT
	asr	w8, w22, w0
Lloh27:
	adrp	x9, _PADS_PU_PD_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PADS_PU_PD_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	and	w8, w8, w9
Lloh30:
	adrp	x9, _PADS_PU_PD_BUS@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PADS_PU_PD_BUS@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w1, eq
LBB0_13:
	mov	x0, x20
	bl	_pinconf_to_config_packed
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_14:
	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
LBB0_15:
	mov	w1, #12
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_PADS_PU_PD_MASK,4,2            ; @PADS_PU_PD_MASK
	.comm	_PADS_PU_PD_HIGHZ,4,2           ; @PADS_PU_PD_HIGHZ
	.comm	_PADS_PU_PD_UP,4,2              ; @PADS_PU_PD_UP
	.comm	_PADS_PU_PD_DOWN,4,2            ; @PADS_PU_PD_DOWN
	.comm	_PADS_PU_PD_BUS,4,2             ; @PADS_PU_PD_BUS
	.comm	_PADS_DRIVE_STRENGTH_MASK,4,2   ; @PADS_DRIVE_STRENGTH_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Property %u not supported\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_pistachio_pinconf_get
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.pistachio_pinconf_get
l_switch.table.pistachio_pinconf_get:
	.long	8                               ; 0x8
	.long	4                               ; 0x4
	.long	2                               ; 0x2

.subsections_via_symbols
