	.file	"extr_pinctrl-baytrail.c_byt_set_mux.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"gpio"
	.text
	.p2align 4
	.type	byt_set_mux, @function
byt_set_mux:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sal	rbx, 4
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	pinctrl_dev_get_drvdata@PLT
	mov	r12, rax
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	add	rbx, QWORD PTR [rax]
	mov	rax, rbx
	mov	rbx, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rdx+rbp*4]
	mov	rdx, QWORD PTR 8[rax]
	mov	r13d, DWORD PTR [rax]
	test	rdx, rdx
	je	.L2
	mov	esi, r13d
	mov	rdi, r12
	mov	rcx, rdx
	movabs	r13, -4294967296
	and	rbx, r13
	or	rsi, rbx
	call	byt_set_group_mixed_mux@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	ecx, r13d
	mov	rdi, r12
	xor	edx, edx
	movabs	r13, -4294967296
	and	r13, rbx
	or	r13, rcx
	mov	ecx, DWORD PTR BYT_DEFAULT_GPIO_MUX[rip]
	mov	esi, r13d
	call	byt_set_group_simple_mux@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, r13d
	mov	ecx, r13d
	mov	rdi, r12
	xor	edx, edx
	movabs	rsi, -4294967296
	and	rsi, rbx
	or	rsi, rax
	call	byt_set_group_simple_mux@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	byt_set_mux, .-byt_set_mux
	.comm	BYT_DEFAULT_GPIO_MUX,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-baytrail.c_byt_set_mux.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gpio\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	byt_set_mux, %function
byt_set_mux:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r4, r2
	mov	r7, r1
	bl	pinctrl_dev_get_drvdata
	mov	r6, sp
	ldr	r2, [r0]
	mov	r5, r0
	ldm	r2, {r3, ip}
	add	r2, r3, r4, lsl #3
	ldm	r2, {r0, r1}
	subs	r4, r1, #0
	stm	r6, {r0, r1}
	ldr	r3, [ip, r7, lsl #2]
	beq	.L2
	ldm	r6, {r1, r2}
	mov	r3, r4
	mov	r0, r5
	bl	byt_set_group_mixed_mux
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	mov	r7, r0
	ldr	r1, .L7
	mov	r0, r3
	bl	strcmp
	cmp	r0, #0
	bne	.L4
	ldr	r3, .L7+4
	str	r0, [sp, #4]
	str	r7, [sp]
	mov	r0, r5
	ldm	r6, {r1, r2}
	ldr	r3, [r3]
	bl	byt_set_group_simple_mux
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	str	r7, [sp]
	str	r4, [sp, #4]
	mov	r3, r7
	ldm	r6, {r1, r2}
	mov	r0, r5
	bl	byt_set_group_simple_mux
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	BYT_DEFAULT_GPIO_MUX
	.size	byt_set_mux, .-byt_set_mux
	.comm	BYT_DEFAULT_GPIO_MUX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
