	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_conf_pin_input_enable_get
_uniphier_conf_pin_input_enable_get:    ## @uniphier_conf_pin_input_enable_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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_pin_desc_get
	movl	(%rax), %edi
	callq	_uniphier_pin_get_iectrl
	movl	%eax, %ecx
	movq	_UNIPHIER_PIN_IECTRL_NONE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_3
## %bb.1:
	movq	8(%r14), %rax
	movq	_UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%rax), %edx
	cmovel	%ecx, %r15d
	movq	_UNIPHIER_PINCTRL_IECTRL_BASE@GOTPCREL(%rip), %rax
	movl	%r15d, %ebx
	shrl	$3, %ebx
	andl	$-4, %ebx
	addl	(%rax), %ebx
	andl	$31, %r15d
	movl	%r15d, %edi
	callq	_BIT
	movl	%eax, %r15d
	movl	(%r14), %edi
	leaq	-28(%rbp), %rdx
	movl	%ebx, %esi
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	testl	%r15d, -28(%rbp)
	cmovnel	%edx, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIPHIER_PIN_IECTRL_NONE,4,2   ## @UNIPHIER_PIN_IECTRL_NONE
	.comm	_UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL,4,2 ## @UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL
	.comm	_UNIPHIER_PINCTRL_IECTRL_BASE,4,2 ## @UNIPHIER_PINCTRL_IECTRL_BASE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_uniphier_conf_pin_input_enable_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_conf_pin_input_enable_get
_uniphier_conf_pin_input_enable_get:    ; @uniphier_conf_pin_input_enable_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	x20, x1
	mov	x21, x0
	bl	_pinctrl_dev_get_drvdata
	mov	x19, x0
	mov	x0, x21
	mov	x1, x20
	bl	_pin_desc_get
	ldr	w0, [x0]
	bl	_uniphier_pin_get_iectrl
Lloh0:
	adrp	x8, _UNIPHIER_PIN_IECTRL_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNIPHIER_PIN_IECTRL_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
Lloh6:
	adrp	x8, _UNIPHIER_PINCTRL_IECTRL_BASE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UNIPHIER_PINCTRL_IECTRL_BASE@GOTPAGEOFF]
	csel	w9, w0, w20, eq
Lloh8:
	ldr	w8, [x8]
	lsr	w10, w9, #3
	and	w10, w10, #0x1ffffffc
	add	w21, w10, w8
	and	w0, w9, #0x1f
	bl	_BIT
	mov	x20, x0
	ldr	w0, [x19]
	add	x2, sp, #12
	mov	x1, x21
	bl	_regmap_read
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [sp, #12]
Lloh9:
	adrp	x9, _EINVAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w8, w20
	csneg	w0, wzr, w9, ne
LBB0_4:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIPHIER_PIN_IECTRL_NONE,4,2   ; @UNIPHIER_PIN_IECTRL_NONE
	.comm	_UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL,4,2 ; @UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL
	.comm	_UNIPHIER_PINCTRL_IECTRL_BASE,4,2 ; @UNIPHIER_PINCTRL_IECTRL_BASE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_uniphier_conf_pin_input_enable_get
.subsections_via_symbols
