	.file	"extr_pinctrl-uniphier-core.c_uniphier_conf_pin_drive_set.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cannot set drive strength for pin %s\n"
	.align 8
.LC1:
	.string	"unsupported drive strength %u mA for pin %s\n"
	.text
	.p2align 4
	.type	uniphier_conf_pin_drive_set, @function
uniphier_conf_pin_drive_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	pinctrl_dev_get_drvdata@PLT
	mov	esi, r13d
	mov	rdi, r14
	mov	rbx, rax
	call	pin_desc_get@PLT
	mov	esi, r13d
	lea	rcx, 8[rsp]
	mov	rdi, r14
	lea	rdx, 4[rsp]
	lea	r9, 16[rsp]
	mov	rbp, rax
	lea	r8, 12[rsp]
	call	uniphier_conf_get_drvctrl_data@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L2
	mov	edx, DWORD PTR 12[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	xor	eax, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	add	eax, 1
	cmp	edx, eax
	jb	.L7
.L3:
	mov	ecx, eax
	cmp	DWORD PTR [rsi+rcx*4], r12d
	jbe	.L5
	test	eax, eax
	je	.L15
.L7:
	test	edx, edx
	jne	.L16
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	ecx, DWORD PTR 8[rsp]
	lea	r8d, -1[rax]
	mov	esi, DWORD PTR 4[rsp]
	mov	edi, DWORD PTR [rbx]
	sal	r8d, cl
	sal	edx, cl
	mov	ecx, r8d
	call	regmap_update_bits@PLT
	mov	r13d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [r14]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	ecx, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [r14]
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	uniphier_conf_pin_drive_set, .-uniphier_conf_pin_drive_set
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pinctrl-uniphier-core.c_uniphier_conf_pin_drive_set.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cannot set drive strength for pin %s\012\000"
	.align	2
.LC1:
	.ascii	"unsupported drive strength %u mA for pin %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uniphier_conf_pin_drive_set, %function
uniphier_conf_pin_drive_set:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L18
	sub	sp, sp, #32
	mov	r8, r1
	mov	r5, r0
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	pinctrl_dev_get_drvdata
	mov	r1, r8
	mov	r6, r0
	mov	r0, r5
	bl	pin_desc_get
	add	r2, sp, #24
	add	r3, sp, #20
	mov	r1, r8
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r7, r0
	add	r3, sp, #16
	mov	r0, r5
	add	r2, sp, #12
	bl	uniphier_conf_get_drvctrl_data
	subs	r8, r0, #0
	bne	.L2
	ldr	r1, [sp, #24]
	mov	r3, r8
	ldr	r2, [sp, #20]
	sub	r1, r1, #4
	b	.L3
.L5:
	add	r3, r3, #1
	cmp	r2, r3
	bcc	.L7
.L3:
	ldr	ip, [r1, #4]!
	cmp	ip, r4
	bls	.L5
	cmp	r3, #0
	beq	.L15
.L7:
	cmp	r2, #0
	bne	.L16
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r8
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r1, [sp, #16]
	sub	r3, r3, #1
	lsl	r3, r3, r1
	lsl	r2, r2, r1
	ldr	r0, [r6]
	ldr	r1, [sp, #12]
	bl	regmap_update_bits
	mov	r8, r0
	b	.L1
.L2:
	ldr	r2, [r7]
	ldr	r0, [r5]
	ldr	r1, .L18+4
	bl	dev_err
	b	.L1
.L15:
	ldr	r3, [r7]
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, .L18+8
	bl	dev_err
	ldr	r3, .L18+12
	ldr	r8, [r3]
	rsb	r8, r8, #0
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	EINVAL
	.size	uniphier_conf_pin_drive_set, .-uniphier_conf_pin_drive_set
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
