	.file	"extr_pinctrl-digicolor.c_dc_client_sel.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dc_client_sel, @function
dc_client_sel:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	eax, edi
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	cdq
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	idiv	DWORD PTR PINS_PER_COLLECTION[rip]
	mov	eax, edi
	add	edx, edx
	mov	DWORD PTR [rbx], edx
	cdq
	idiv	DWORD PTR PINS_PER_COLLECTION[rip]
	mov	edi, eax
	call	GP_CLIENTSEL@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR [rbx]
	mov	edx, DWORD PTR PINS_PER_COLLECTION[rip]
	cmp	eax, edx
	jl	.L1
	sub	eax, edx
	mov	DWORD PTR [rbx], eax
	add	DWORD PTR 0[rbp], 1
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dc_client_sel, .-dc_client_sel
	.comm	PINS_PER_COLLECTION,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-digicolor.c_dc_client_sel.c"
	.text
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dc_client_sel, %function
dc_client_sel:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L5
	mov	r5, r1
	ldr	r1, [r6]
	mov	r4, r2
	mov	r7, r0
	bl	__aeabi_idivmod
	lsl	r1, r1, #1
	str	r1, [r4]
	ldr	r1, [r6]
	mov	r0, r7
	bl	__aeabi_idiv
	bl	GP_CLIENTSEL
	str	r0, [r5]
	ldr	r3, [r4]
	ldr	r2, [r6]
	cmp	r3, r2
	subge	r3, r3, r2
	strge	r3, [r4]
	ldrge	r3, [r5]
	addge	r3, r3, #1
	strge	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	.align	2
.L5:
	.word	PINS_PER_COLLECTION
	.size	dc_client_sel, .-dc_client_sel
	.comm	PINS_PER_COLLECTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
