	.file	"extr_eata.c_internal_setup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"lc:"
.LC1:
	.string	"tm:"
.LC2:
	.string	"tc:"
.LC3:
	.string	"mq:"
.LC4:
	.string	"ls:"
.LC5:
	.string	"et:"
.LC6:
	.string	"rs:"
.LC7:
	.string	"ip:"
.LC8:
	.string	"ep:"
.LC9:
	.string	"pp:"
	.text
	.p2align 4
	.type	internal_setup, @function
internal_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rsi]
	test	eax, eax
	jle	.L2
	cmp	DWORD PTR MAX_INT_PARAM[rip], eax
	cmovle	eax, DWORD PTR MAX_INT_PARAM[rip]
	mov	rcx, QWORD PTR io_port[rip]
	mov	edi, eax
	test	eax, eax
	jle	.L3
	lea	r8d, -1[rax]
	mov	eax, 1
	add	r8, 2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR [rsi+rax*4]
	mov	DWORD PTR -4[rcx+rax*4], edx
	add	rax, 1
	cmp	rax, r8
	jne	.L4
	movsx	rax, edi
	lea	rcx, [rcx+rax*4]
.L3:
	mov	DWORD PTR [rcx], 0
	mov	DWORD PTR setup_done[rip], 1
.L2:
	test	rbp, rbp
	je	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, 58
	mov	rdi, rbp
	call	strchr@PLT
	test	rax, rax
	je	.L1
	movzx	edx, BYTE PTR 1[rax]
	xor	ebx, ebx
	and	edx, -33
	cmp	dl, 78
	je	.L6
	mov	ebx, 1
	cmp	dl, 89
	jne	.L31
.L6:
	mov	edx, 3
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L7
	mov	DWORD PTR linked_comm[rip], ebx
.L8:
	mov	esi, 44
	mov	rdi, rbp
	call	strchr@PLT
	test	rax, rax
	je	.L1
	lea	rbp, 1[rax]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, 3
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L9
.L29:
	mov	DWORD PTR tag_mode[rip], ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdi, 1[rax]
	xor	edx, edx
	xor	esi, esi
	call	simple_strtoul@PLT
	mov	ebx, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, 3
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	je	.L29
	mov	edx, 3
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L11
	mov	DWORD PTR max_queue_depth[rip], ebx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, 3
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L12
	mov	DWORD PTR link_statistics[rip], ebx
	jmp	.L8
.L12:
	mov	edx, 3
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L13
	mov	DWORD PTR ext_tran[rip], ebx
	jmp	.L8
.L13:
	mov	edx, 3
	lea	rsi, .LC6[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L14
	mov	DWORD PTR rev_scan[rip], ebx
	jmp	.L8
.L14:
	mov	edx, 3
	lea	rsi, .LC7[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L15
	mov	DWORD PTR isa_probe[rip], ebx
	jmp	.L8
.L15:
	mov	edx, 3
	lea	rsi, .LC8[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L16
	mov	DWORD PTR eisa_probe[rip], ebx
	jmp	.L8
.L16:
	mov	edx, 3
	lea	rsi, .LC9[rip]
	mov	rdi, rbp
	call	strncmp@PLT
	test	eax, eax
	jne	.L8
	mov	DWORD PTR pci_probe[rip], ebx
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	internal_setup, .-internal_setup
	.comm	tag_mode,4,4
	.comm	setup_done,4,4
	.comm	rev_scan,4,4
	.comm	pci_probe,4,4
	.comm	max_queue_depth,4,4
	.comm	linked_comm,4,4
	.comm	link_statistics,4,4
	.comm	isa_probe,4,4
	.comm	io_port,8,8
	.comm	ext_tran,4,4
	.comm	eisa_probe,4,4
	.comm	MAX_INT_PARAM,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_eata.c_internal_setup.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	internal_setup, %function
internal_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	r3, #0
	mov	r4, r0
	ble	.L2
	ldr	r2, .L44
	ldr	r0, .L44+4
	ldr	r2, [r2]
	ldr	ip, [r0]
	cmp	r3, r2
	movge	r3, r2
	cmp	r3, #0
	ble	.L3
	lsl	lr, r3, #2
	sub	r2, ip, #4
	add	r3, r1, r3, lsl #2
.L4:
	ldr	r0, [r1, #4]!
	cmp	r3, r1
	str	r0, [r2, #4]!
	bne	.L4
	add	ip, ip, lr
.L3:
	mov	r1, #0
	mov	r2, #1
	ldr	r3, .L44+8
	str	r1, [ip]
	str	r2, [r3]
.L2:
	cmp	r4, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r10, .L44+12
	ldr	r9, .L44+16
	ldr	r8, .L44+20
	ldr	r7, .L44+24
	ldr	r6, .L44+28
	ldr	r5, .L44+32
.L5:
	mov	r1, #58
	mov	r0, r4
	bl	strchr
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	and	r3, r3, #223
	cmp	r3, #78
	moveq	r0, #0
	beq	.L6
	cmp	r3, #89
	moveq	r0, #1
	bne	.L39
.L6:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #108
	bne	.L8
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #99
	bne	.L8
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	bne	.L8
	ldr	r3, .L44+36
	str	r0, [r3]
.L9:
	mov	r0, r4
	mov	r1, #44
	bl	strchr
	cmp	r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	add	r4, r0, #1
	b	.L5
.L8:
	cmp	r3, #116
	beq	.L40
.L13:
	cmp	r3, #109
	bne	.L15
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #113
	bne	.L15
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	ldreq	r3, .L44+40
	streq	r0, [r3]
	beq	.L9
.L15:
	cmp	r3, #108
	beq	.L41
.L17:
	cmp	r3, #101
	bne	.L19
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #116
	bne	.L19
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	bne	.L19
	str	r0, [r6]
	b	.L9
.L40:
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #109
	beq	.L42
.L11:
	cmp	r3, #116
	bne	.L13
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #99
	bne	.L13
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	bne	.L13
	ldr	r3, .L44+44
	str	r0, [r3]
	b	.L9
.L39:
	mov	r2, #0
	add	r0, r0, #1
	mov	r1, r2
	bl	simple_strtoul
	b	.L6
.L42:
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	bne	.L11
	ldr	r3, .L44+44
	str	r0, [r3]
	b	.L9
.L41:
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #115
	bne	.L17
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	bne	.L17
	str	r0, [r5]
	b	.L9
.L19:
	cmp	r3, #114
	bne	.L21
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #115
	bne	.L21
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	streq	r0, [r7]
	beq	.L9
.L21:
	cmp	r3, #105
	beq	.L43
.L23:
	cmp	r3, #101
	bne	.L25
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #112
	bne	.L25
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	bne	.L25
	str	r0, [r9]
	b	.L9
.L43:
	ldrb	r2, [r4, #1]	@ zero_extendqisi2
	cmp	r2, #112
	bne	.L23
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	cmp	r2, #58
	bne	.L23
	str	r0, [r8]
	b	.L9
.L25:
	cmp	r3, #112
	bne	.L9
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L9
	ldrb	r3, [r4, #2]	@ zero_extendqisi2
	cmp	r3, #58
	streq	r0, [r10]
	b	.L9
.L45:
	.align	2
.L44:
	.word	MAX_INT_PARAM
	.word	io_port
	.word	setup_done
	.word	pci_probe
	.word	eisa_probe
	.word	isa_probe
	.word	rev_scan
	.word	ext_tran
	.word	link_statistics
	.word	linked_comm
	.word	max_queue_depth
	.word	tag_mode
	.size	internal_setup, .-internal_setup
	.comm	tag_mode,4,4
	.comm	setup_done,4,4
	.comm	rev_scan,4,4
	.comm	pci_probe,4,4
	.comm	max_queue_depth,4,4
	.comm	linked_comm,4,4
	.comm	link_statistics,4,4
	.comm	isa_probe,4,4
	.comm	io_port,4,4
	.comm	ext_tran,4,4
	.comm	eisa_probe,4,4
	.comm	MAX_INT_PARAM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
