	.file	"extr_dib9000.c_dib9000_cfg_gpio.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"gpio dir: %04x: gpio val: %04x\n"
	.text
	.p2align 4
	.type	dib9000_cfg_gpio, @function
dib9000_cfg_gpio:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, -2
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	mov	esi, 773
	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
	mov	ebp, ecx
	and	r12d, 1
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	and	ebp, 1
	call	dib9000_read_word@PLT
	mov	ecx, r13d
	mov	rdi, rbx
	mov	esi, 773
	rol	r14d, cl
	mov	edx, eax
	sal	r12d, cl
	and	edx, r14d
	or	edx, r12d
	mov	DWORD PTR [rbx], edx
	call	dib9000_write_word@PLT
	mov	rdi, rbx
	mov	esi, 774
	call	dib9000_read_word@PLT
	mov	ecx, r13d
	mov	edx, r14d
	mov	rdi, rbx
	sal	ebp, cl
	and	edx, eax
	mov	esi, 774
	or	edx, ebp
	mov	DWORD PTR 4[rbx], edx
	call	dib9000_write_word@PLT
	mov	edx, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	call	dprintk@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	dib9000_cfg_gpio, .-dib9000_cfg_gpio
	.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_dib9000.c_dib9000_cfg_gpio.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"gpio dir: %04x: gpio val: %04x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dib9000_cfg_gpio, %function
dib9000_cfg_gpio:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, .L4
	mov	r5, r1
	mov	r1, r9
	mov	r4, r0
	mov	r6, r3
	mov	r7, r2
	bl	dib9000_read_word
	mov	r2, #1
	mvn	r8, r2, lsl r5
	and	r2, r7, r2
	and	r0, r0, r8
	orr	r2, r0, r2, lsl r5
	ldr	r7, .L4+4
	str	r2, [r4]
	mov	r1, r9
	mov	r0, r4
	bl	dib9000_write_word
	mov	r1, r7
	mov	r0, r4
	bl	dib9000_read_word
	and	r6, r6, #1
	and	r2, r0, r8
	orr	r2, r2, r6, lsl r5
	mov	r1, r7
	str	r2, [r4, #4]
	mov	r0, r4
	bl	dib9000_write_word
	ldm	r4, {r1, r2}
	ldr	r0, .L4+8
	bl	dprintk
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	.align	2
.L4:
	.word	773
	.word	774
	.word	.LC0
	.size	dib9000_cfg_gpio, .-dib9000_cfg_gpio
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
