	.file	"extr_dasd_devmap.c_dasd_parse_range.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s is not a valid device range\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%01x.%01x.%04x"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"The dasd= parameter value %s has an invalid ending\n"
	.text
	.p2align 4
	.type	dasd_parse_range, @function
dasd_parse_range:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbx
	sub	rsp, 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR DASD_BUS_ID_SIZE[rip]
	mov	rcx, rsp
	add	eax, 1
	cdqe
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L29:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L29
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L30
.L4:
	lea	r14, -48[rbp]
	lea	rcx, -72[rbp]
	mov	QWORD PTR -48[rbp], r12
	mov	rbx, rsp
	lea	rdx, -64[rbp]
	lea	rsi, -68[rbp]
	mov	rdi, r14
	call	dasd_busid@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L31
.L5:
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	edi, r13d
	call	ERR_PTR@PLT
	mov	r12, rax
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L32
	lea	rsp, -32[rbp]
	mov	rax, r12
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -72[rbp]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR -60[rbp], edx
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	cmp	BYTE PTR [rax], 45
	je	.L33
.L6:
	cmp	edx, DWORD PTR -60[rbp]
	jg	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, QWORD PTR -48[rbp]
	mov	rsi, r14
	lea	r13, .LC1[rip]
	call	dasd_feature_list@PLT
	mov	r14d, DWORD PTR DASD_FEATURE_INITIAL_ONLINE[rip]
	or	r14d, eax
	test	eax, eax
	jns	.L12
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L13:
	mov	ecx, DWORD PTR -64[rbp]
	mov	edx, DWORD PTR -68[rbp]
	lea	eax, 1[r8]
	mov	rsi, r13
	mov	rdi, rbx
	mov	DWORD PTR -72[rbp], eax
	call	sprintf@PLT
	mov	rdi, rbx
	mov	esi, r14d
	call	dasd_add_busid@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L1
.L12:
	mov	r8d, DWORD PTR -72[rbp]
	cmp	r8d, DWORD PTR -60[rbp]
	jle	.L13
	mov	r12, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [r12]
	cmp	al, 44
	je	.L34
	test	al, al
	je	.L1
	mov	rsi, r12
	lea	rdi, .LC2[rip]
	call	pr_warning@PLT
.L27:
	mov	edi, DWORD PTR EINVAL[rip]
	neg	edi
	call	ERR_PTR@PLT
	mov	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L33:
	add	rax, 1
	lea	rcx, -60[rbp]
	lea	rdx, -52[rbp]
	mov	rdi, r14
	lea	rsi, -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	call	dasd_busid@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -56[rbp]
	cmp	DWORD PTR -68[rbp], eax
	je	.L7
.L9:
	mov	eax, DWORD PTR EINVAL[rip]
	test	eax, eax
	je	.L8
	neg	eax
	mov	r13d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L30:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L9
	mov	edx, DWORD PTR -72[rbp]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L34:
	add	r12, 1
	jmp	.L1
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dasd_parse_range, .-dasd_parse_range
	.comm	EINVAL,4,4
	.comm	DASD_FEATURE_INITIAL_ONLINE,4,4
	.comm	DASD_BUS_ID_SIZE,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_dasd_devmap.c_dasd_parse_range.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s is not a valid device range\012\000"
	.align	2
.LC1:
	.ascii	"%01x.%01x.%04x\000"
	.align	2
.LC2:
	.ascii	"The dasd= parameter value %s has an invalid ending\012"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dasd_parse_range, %function
dasd_parse_range:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #40
	mov	r6, r0
	ldr	r3, .L25
	ldr	ip, .L25+4
	ldr	r3, [r3]
	str	r6, [fp, #-28]
	add	r3, r3, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	sub	r0, fp, #28
	sub	r3, fp, #52
	sub	r2, fp, #44
	sub	r1, fp, #48
	ldr	ip, [ip]
	str	ip, [fp, #-24]
	mov	ip,#0
	bl	dasd_busid
	subs	r4, r0, #0
	beq	.L22
.L2:
	mov	r1, r6
	ldr	r0, .L25+8
	bl	pr_err
	mov	r0, r4
	bl	ERR_PTR
	mov	r4, r0
.L1:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	mov	r0, r4
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L22:
	ldr	r1, [fp, #-44]
	ldr	r2, [fp, #-52]
	ldr	r0, [fp, #-48]
	ldr	r3, [fp, #-28]
	str	r2, [fp, #-40]
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldrb	r1, [r3]	@ zero_extendqisi2
	add	r5, sp, #8
	cmp	r1, #45
	beq	.L24
.L3:
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bgt	.L6
	b	.L5
.L24:
	add	ip, r3, #1
	sub	r2, fp, #32
	sub	r3, fp, #40
	sub	r1, fp, #36
	sub	r0, fp, #28
	str	ip, [fp, #-28]
	bl	dasd_busid
	subs	r4, r0, #0
	bne	.L2
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	beq	.L4
.L6:
	ldr	r3, .L25+12
	ldr	r4, [r3]
	cmp	r4, #0
	rsbne	r4, r4, #0
	bne	.L2
.L5:
	ldr	r0, [fp, #-28]
	sub	r1, fp, #28
	bl	dasd_feature_list
	cmp	r0, #0
	blt	.L20
	ldr	r3, .L25+16
	ldr	r7, .L25+20
	ldr	r6, [r3]
	orr	r6, r0, r6
	b	.L9
.L10:
	add	ip, r3, #1
	ldr	r2, [fp, #-48]
	mov	r1, r7
	str	r3, [sp]
	mov	r0, r5
	ldr	r3, [fp, #-44]
	str	ip, [fp, #-52]
	bl	sprintf
	mov	r1, r6
	mov	r0, r5
	bl	dasd_add_busid
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L1
.L9:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-40]
	cmp	r3, r2
	ble	.L10
	ldr	r4, [fp, #-28]
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #44
	addeq	r4, r4, #1
	beq	.L1
	cmp	r3, #0
	beq	.L1
	mov	r1, r4
	ldr	r0, .L25+24
	bl	pr_warning
.L20:
	ldr	r3, .L25+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bl	ERR_PTR
	mov	r4, r0
	b	.L1
.L4:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bne	.L6
	ldr	r2, [fp, #-52]
	b	.L3
.L23:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	DASD_BUS_ID_SIZE
	.word	.LC3
	.word	.LC0
	.word	EINVAL
	.word	DASD_FEATURE_INITIAL_ONLINE
	.word	.LC1
	.word	.LC2
	.size	dasd_parse_range, .-dasd_parse_range
	.comm	EINVAL,4,4
	.comm	DASD_FEATURE_INITIAL_ONLINE,4,4
	.comm	DASD_BUS_ID_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
