	.file	"extr_iscsi_target_parameters.c_iscsi_check_value.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Received %s=%s\n"
.LC1:
	.string	"Received illegal offer %s=%s\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Standard iSCSI key \"%s\" cannot be answered with \"%s\", protocol error.\n"
	.align 8
.LC3:
	.string	"Detected value separator \",\", but key \"%s\" does not allow a value list, protocol error.\n"
	.align 8
.LC4:
	.string	"Value for key \"%s\" exceeds %d, protocol error.\n"
	.section	.rodata.str1.1
.LC5:
	.string	"Huh? 0x%02x\n"
	.text
	.p2align 4
	.type	iscsi_check_value, @function
iscsi_check_value:
.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
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR REJECT[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L2
	mov	esi, DWORD PTR IFMARKINT[rip]
	mov	rdi, QWORD PTR [r12]
	mov	r13d, eax
	call	strcmp@PLT
	test	eax, eax
	je	.L5
	mov	esi, DWORD PTR OFMARKINT[rip]
	mov	rdi, QWORD PTR [r12]
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
.L5:
	mov	rdi, r12
	call	SET_PSTATE_REJECT@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	mov	esi, DWORD PTR IRRELEVANT[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L30
	mov	esi, DWORD PTR NOTUNDERSTOOD[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	test	eax, eax
	je	.L31
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, 44
	mov	rdi, rbp
	call	strchr@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L9
	mov	rdi, r12
	call	IS_TYPE_VALUE_LIST@PLT
	test	rax, rax
	je	.L32
	mov	BYTE PTR [rbx], 0
.L9:
	mov	rdi, rbp
	call	strlen@PLT
	mov	edx, DWORD PTR VALUE_MAXLEN[rip]
	cmp	eax, edx
	jg	.L33
	mov	rdi, r12
	call	IS_TYPE_BOOL_AND@PLT
	test	rax, rax
	jne	.L15
	mov	rdi, r12
	call	IS_TYPE_BOOL_OR@PLT
	test	rax, rax
	je	.L34
.L15:
	mov	rsi, rbp
	mov	rdi, r12
	call	iscsi_check_boolean_value@PLT
	test	rax, rax
	js	.L13
.L14:
	test	rbx, rbx
	je	.L19
	mov	BYTE PTR [rbx], 44
	lea	rbp, 1[rbx]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	r13d, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	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
.L34:
	.cfi_restore_state
	mov	rdi, r12
	call	IS_TYPE_NUMBER@PLT
	test	rax, rax
	je	.L16
	mov	rsi, rbp
	mov	rdi, r12
	call	iscsi_check_numerical_value@PLT
	test	rax, rax
	jns	.L14
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r13d, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r12
	call	IS_TYPE_STRING@PLT
	test	rax, rax
	je	.L17
.L18:
	mov	rsi, rbp
	mov	rdi, r12
	call	iscsi_check_string_or_list_value@PLT
	test	rax, rax
	jns	.L14
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L30:
	mov	rsi, QWORD PTR [r12]
	mov	rdx, rbp
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	rdi, r12
	call	SET_PSTATE_IRRELEVANT@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L17:
	.cfi_restore_state
	mov	rdi, r12
	call	IS_TYPE_VALUE_LIST@PLT
	test	rax, rax
	jne	.L18
	mov	rsi, QWORD PTR 8[r12]
	lea	rdi, .LC5[rip]
	mov	r13d, -1
	call	pr_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rdi, r12
	call	IS_PSTATE_PROPOSER@PLT
	mov	rsi, QWORD PTR [r12]
	mov	rdx, rbp
	test	eax, eax
	jne	.L8
	lea	rdi, .LC1[rip]
	mov	r13d, -1
	call	pr_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rsi, QWORD PTR [r12]
	lea	rdi, .LC4[rip]
	xor	eax, eax
	mov	r13d, -1
	call	pr_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	mov	r13d, -1
	call	pr_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rsi, QWORD PTR [r12]
	lea	rdi, .LC3[rip]
	mov	r13d, -1
	call	pr_err@PLT
	jmp	.L1
.L29:
	mov	rsi, QWORD PTR [r12]
	mov	rdx, rbp
	lea	rdi, .LC0[rip]
	xor	eax, eax
	mov	r13d, -1
	call	pr_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	iscsi_check_value, .-iscsi_check_value
	.comm	VALUE_MAXLEN,4,4
	.comm	REJECT,4,4
	.comm	OFMARKINT,4,4
	.comm	NOTUNDERSTOOD,4,4
	.comm	IRRELEVANT,4,4
	.comm	IFMARKINT,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_iscsi_target_parameters.c_iscsi_check_value.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Received %s=%s\012\000"
	.align	2
.LC1:
	.ascii	"Received illegal offer %s=%s\012\000"
	.align	2
.LC2:
	.ascii	"Standard iSCSI key \"%s\" cannot be answered with \""
	.ascii	"%s\", protocol error.\012\000"
	.align	2
.LC3:
	.ascii	"Detected value separator \",\", but key \"%s\" does"
	.ascii	" not allow a value list, protocol error.\012\000"
	.align	2
.LC4:
	.ascii	"Value for key \"%s\" exceeds %d, protocol error.\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"Huh? 0x%02x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iscsi_check_value, %function
iscsi_check_value:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L35
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r6, r0
	mov	r0, r1
	ldr	r1, [r3]
	bl	strcmp
	subs	r4, r0, #0
	bne	.L2
	ldr	r3, .L35+4
	ldr	r0, [r6]
	ldr	r1, [r3]
	bl	strcmp
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L35+8
	ldr	r0, [r6]
	ldr	r1, [r3]
	bl	strcmp
	cmp	r0, #0
	bne	.L30
.L5:
	mov	r0, r6
	bl	SET_PSTATE_REJECT
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L35+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	strcmp
	subs	r4, r0, #0
	beq	.L31
	ldr	r3, .L35+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	strcmp
	cmp	r0, #0
	beq	.L27
	mov	r9, #44
	mov	r8, #0
	ldr	r7, .L35+20
.L7:
	mov	r1, #44
	mov	r0, r5
	bl	strchr
	subs	r4, r0, #0
	beq	.L9
	mov	r0, r6
	bl	IS_TYPE_VALUE_LIST
	cmp	r0, #0
	beq	.L32
	strb	r8, [r4]
.L9:
	mov	r0, r5
	bl	strlen
	ldr	r2, [r7]
	cmp	r0, r2
	bgt	.L33
	mov	r0, r6
	bl	IS_TYPE_BOOL_AND
	cmp	r0, #0
	bne	.L15
	mov	r0, r6
	bl	IS_TYPE_BOOL_OR
	cmp	r0, #0
	beq	.L34
.L15:
	mov	r1, r5
	mov	r0, r6
	bl	iscsi_check_boolean_value
	cmp	r0, #0
	blt	.L13
.L14:
	cmp	r4, #0
	beq	.L1
	mov	r5, r4
	strb	r9, [r5], #1
	b	.L7
.L34:
	mov	r0, r6
	bl	IS_TYPE_NUMBER
	cmp	r0, #0
	beq	.L16
	mov	r1, r5
	mov	r0, r6
	bl	iscsi_check_numerical_value
	cmp	r0, #0
	bge	.L14
.L13:
	mvn	r4, #0
	b	.L1
.L16:
	mov	r0, r6
	bl	IS_TYPE_STRING
	cmp	r0, #0
	beq	.L17
.L18:
	mov	r1, r5
	mov	r0, r6
	bl	iscsi_check_string_or_list_value
	cmp	r0, #0
	bge	.L14
	b	.L13
.L31:
	mov	r2, r5
	ldr	r1, [r6]
	ldr	r0, .L35+24
	bl	pr_debug
	mov	r0, r6
	bl	SET_PSTATE_IRRELEVANT
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	mov	r0, r6
	bl	IS_TYPE_VALUE_LIST
	cmp	r0, #0
	bne	.L18
	ldr	r1, [r6, #4]
	ldr	r0, .L35+28
	bl	pr_err
	mvn	r4, #0
	b	.L1
.L27:
	mov	r0, r6
	bl	IS_PSTATE_PROPOSER
	mvn	r4, #0
	cmp	r0, #0
	mov	r2, r5
	ldr	r1, [r6]
	ldreq	r0, .L35+32
	ldrne	r0, .L35+36
	bl	pr_err
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L33:
	ldr	r1, [r6]
	ldr	r0, .L35+40
	bl	pr_err
	mvn	r4, #0
	b	.L1
.L32:
	ldr	r1, [r6]
	ldr	r0, .L35+44
	bl	pr_err
	mvn	r4, #0
	b	.L1
.L30:
	mov	r2, r5
	ldr	r1, [r6]
	ldr	r0, .L35+24
	bl	pr_err
	mvn	r4, #0
	b	.L1
.L36:
	.align	2
.L35:
	.word	REJECT
	.word	IFMARKINT
	.word	OFMARKINT
	.word	IRRELEVANT
	.word	NOTUNDERSTOOD
	.word	VALUE_MAXLEN
	.word	.LC0
	.word	.LC5
	.word	.LC1
	.word	.LC2
	.word	.LC4
	.word	.LC3
	.size	iscsi_check_value, .-iscsi_check_value
	.comm	VALUE_MAXLEN,4,4
	.comm	REJECT,4,4
	.comm	OFMARKINT,4,4
	.comm	NOTUNDERSTOOD,4,4
	.comm	IRRELEVANT,4,4
	.comm	IFMARKINT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
