	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iproc_pin_config_get
_iproc_pin_config_get:                  ## @iproc_pin_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	%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, %r15d
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	(%r14), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_iproc_pin_to_gpio
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_iproc_pinconf_param_is_disabled
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
LBB0_11:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_10
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_iproc_gpio_get_strength
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:
	movl	-44(%rbp), %esi
	movl	$128, %edi
	callq	_pinconf_to_config_packed
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_5:
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_iproc_gpio_get_pull
	cmpl	$0, -36(%rbp)
	jne	LBB0_4
## %bb.6:
	xorl	%eax, %eax
	cmpl	$0, -40(%rbp)
	jne	LBB0_12
	jmp	LBB0_4
LBB0_7:
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_iproc_gpio_get_pull
	movl	-36(%rbp), %ecx
	xorl	%eax, %eax
	orl	-40(%rbp), %ecx
	je	LBB0_12
	jmp	LBB0_4
LBB0_3:
	leaq	-36(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_iproc_gpio_get_pull
	xorl	%eax, %eax
	cmpl	$0, -36(%rbp)
	jne	LBB0_12
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iproc_pin_config_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iproc_pin_config_get
_iproc_pin_config_get:                  ; @iproc_pin_config_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	x21, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x20, x0
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	mov	x22, x0
	mov	x0, x21
	bl	_iproc_pin_to_gpio
	mov	x21, x0
	mov	x0, x20
	mov	x1, x22
	bl	_iproc_pinconf_param_is_disabled
	cbz	x0, LBB0_4
LBB0_1:
Lloh0:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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_4:
	sub	w8, w22, #128
	cmp	w8, #3
	b.hi	LBB0_1
; %bb.5:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_iproc_gpio_get_strength
	cbnz	w0, LBB0_3
; %bb.7:
	ldr	w1, [sp, #12]
	mov	w0, #128
	bl	_pinconf_to_config_packed
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_3
LBB0_8:
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	mov	x1, x21
	bl	_iproc_gpio_get_pull
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_11
; %bb.9:
	ldr	w8, [sp, #4]
	cbnz	w8, LBB0_13
	b	LBB0_11
LBB0_10:
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	mov	x1, x21
	bl	_iproc_gpio_get_pull
	ldp	w9, w8, [sp, #4]
	orr	w8, w8, w9
	cbz	w8, LBB0_13
LBB0_11:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_12:
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	mov	x1, x21
	bl	_iproc_gpio_get_pull
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_11
LBB0_13:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
                                        ; -- End function
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iproc_pin_config_get
.subsections_via_symbols
