	.file	"extr_ocs_io.c_ocs_mgmt_io_get.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s/io[%d]"
.LC1:
	.string	"display_name"
.LC2:
	.string	"init_task_tag"
.LC3:
	.string	"0x%x"
.LC4:
	.string	"tgt_task_tag"
.LC5:
	.string	"hw_tag"
.LC6:
	.string	"tag"
.LC7:
	.string	"transferred"
.LC8:
	.string	"%zu"
.LC9:
	.string	"auto_resp"
.LC10:
	.string	"exp_xfer_len"
.LC11:
	.string	"%d"
.LC12:
	.string	"xfer_req"
	.text
	.p2align 4
	.globl	ocs_mgmt_io_get
	.type	ocs_mgmt_io_get, @function
ocs_mgmt_io_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	lea	rdx, .LC0[rip]
	sub	rsp, 104
	.cfi_def_cfa_offset 144
	mov	r8d, DWORD PTR [rcx]
	mov	rcx, rsi
	mov	esi, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	rdi, rbp
	call	snprintf@PLT
	mov	rdi, rbp
	call	strlen@PLT
	mov	rsi, rbp
	mov	rdi, rbx
	mov	edx, eax
	call	ocs_strncmp@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, rbp
	call	strlen@PLT
	lea	rsi, .LC1[rip]
	cdqe
	lea	rbp, 1[rbx+rax]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	je	.L16
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	jne	.L5
	mov	r8d, DWORD PTR 32[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	mov	rdi, r13
	lea	rcx, .LC3[rip]
	lea	rdx, .LC2[rip]
	call	ocs_mgmt_emit_int@PLT
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 88[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L16:
	.cfi_restore_state
	mov	ecx, DWORD PTR 36[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, r13
	call	ocs_mgmt_emit_string@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	je	.L18
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	jne	.L7
	mov	r8d, DWORD PTR 24[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	mov	rdi, r13
	lea	rcx, .LC3[rip]
	lea	rdx, .LC5[rip]
	call	ocs_mgmt_emit_int@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	r8d, DWORD PTR 28[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	mov	rdi, r13
	lea	rcx, .LC3[rip]
	lea	rdx, .LC4[rip]
	call	ocs_mgmt_emit_int@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rsi, .LC6[rip]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	je	.L19
	lea	rsi, .LC7[rip]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	jne	.L9
	mov	r8d, DWORD PTR 16[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	mov	rdi, r13
	lea	rcx, .LC8[rip]
	lea	rdx, .LC7[rip]
	call	ocs_mgmt_emit_int@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	r8d, DWORD PTR 20[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	mov	rdi, r13
	lea	rcx, .LC3[rip]
	lea	rdx, .LC6[rip]
	call	ocs_mgmt_emit_int@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rsi, .LC9[rip]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	jne	.L10
	mov	ecx, DWORD PTR 12[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	lea	rdx, .LC9[rip]
	mov	rdi, r13
	call	ocs_mgmt_emit_boolean@PLT
	xor	eax, eax
	jmp	.L1
.L10:
	lea	rsi, .LC10[rip]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	jne	.L11
	mov	r8d, DWORD PTR 8[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	mov	rdi, r13
	lea	rcx, .LC11[rip]
	lea	rdx, .LC10[rip]
	call	ocs_mgmt_emit_int@PLT
	xor	eax, eax
	jmp	.L1
.L11:
	lea	rsi, .LC12[rip]
	mov	rdi, rbp
	call	ocs_strcmp@PLT
	test	rax, rax
	jne	.L12
	mov	r8d, DWORD PTR 4[r12]
	mov	esi, DWORD PTR MGMT_MODE_RD[rip]
	mov	rdi, r13
	lea	rcx, .LC11[rip]
	lea	rdx, .LC12[rip]
	call	ocs_mgmt_emit_int@PLT
	xor	eax, eax
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ocs_mgmt_io_get, .-ocs_mgmt_io_get
	.comm	MGMT_MODE_RD,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_ocs_io.c_ocs_mgmt_io_get.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s/io[%d]\000"
	.align	2
.LC1:
	.ascii	"display_name\000"
	.align	2
.LC2:
	.ascii	"init_task_tag\000"
	.align	2
.LC3:
	.ascii	"0x%x\000"
	.align	2
.LC4:
	.ascii	"tgt_task_tag\000"
	.align	2
.LC5:
	.ascii	"hw_tag\000"
	.align	2
.LC6:
	.ascii	"tag\000"
	.align	2
.LC7:
	.ascii	"transferred\000"
	.align	2
.LC8:
	.ascii	"%zu\000"
	.align	2
.LC9:
	.ascii	"auto_resp\000"
	.align	2
.LC10:
	.ascii	"exp_xfer_len\000"
	.align	2
.LC11:
	.ascii	"%d\000"
	.align	2
.LC12:
	.ascii	"xfer_req\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ocs_mgmt_io_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocs_mgmt_io_get, %function
ocs_mgmt_io_get:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r3
	mov	r4, r2
	ldr	r2, [r6]
	sub	sp, sp, #100
	ldr	ip, .L20
	mov	r3, r1
	str	r2, [sp]
	mov	r1, #80
	ldr	r2, .L20+4
	mov	r7, r0
	add	r0, sp, #12
	ldr	ip, [ip]
	str	ip, [sp, #92]
	mov	ip,#0
	bl	snprintf
	add	r0, sp, #12
	bl	strlen
	add	r1, sp, #12
	mov	r2, r0
	mov	r0, r4
	bl	ocs_strncmp
	cmp	r0, #0
	bne	.L12
	add	r0, sp, #12
	bl	strlen
	add	r5, r0, #1
	add	r5, r4, r5
	mov	r0, r5
	ldr	r1, .L20+8
	bl	ocs_strcmp
	subs	r4, r0, #0
	beq	.L16
	mov	r0, r5
	ldr	r1, .L20+12
	bl	ocs_strcmp
	subs	r4, r0, #0
	bne	.L5
	ldr	r2, [r6, #32]
	ldr	r3, .L20+16
	str	r2, [sp]
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L20+20
	ldr	r2, .L20+12
	bl	ocs_mgmt_emit_int
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #92]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r4
	add	sp, sp, #100
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L16:
	ldr	r2, .L20+16
	mov	r0, r7
	ldr	r1, [r2]
	ldr	r3, [r6, #36]
	ldr	r2, .L20+8
	bl	ocs_mgmt_emit_string
	b	.L1
.L5:
	mov	r0, r5
	ldr	r1, .L20+24
	bl	ocs_strcmp
	subs	r4, r0, #0
	beq	.L18
	mov	r0, r5
	ldr	r1, .L20+28
	bl	ocs_strcmp
	subs	r4, r0, #0
	bne	.L7
	ldr	r2, [r6, #24]
	ldr	r3, .L20+16
	str	r2, [sp]
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L20+20
	ldr	r2, .L20+28
	bl	ocs_mgmt_emit_int
	b	.L1
.L18:
	ldr	r2, [r6, #28]
	ldr	r3, .L20+16
	str	r2, [sp]
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L20+20
	ldr	r2, .L20+24
	bl	ocs_mgmt_emit_int
	b	.L1
.L7:
	mov	r0, r5
	ldr	r1, .L20+32
	bl	ocs_strcmp
	subs	r4, r0, #0
	beq	.L19
	mov	r0, r5
	ldr	r1, .L20+36
	bl	ocs_strcmp
	subs	r4, r0, #0
	bne	.L9
	ldr	r2, [r6, #16]
	ldr	r3, .L20+16
	str	r2, [sp]
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L20+40
	ldr	r2, .L20+36
	bl	ocs_mgmt_emit_int
	b	.L1
.L19:
	ldr	r2, [r6, #20]
	ldr	r3, .L20+16
	str	r2, [sp]
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L20+20
	ldr	r2, .L20+32
	bl	ocs_mgmt_emit_int
	b	.L1
.L12:
	mvn	r4, #0
	b	.L1
.L9:
	mov	r0, r5
	ldr	r1, .L20+44
	bl	ocs_strcmp
	subs	r4, r0, #0
	bne	.L10
	ldr	r2, .L20+16
	mov	r0, r7
	ldr	r1, [r2]
	ldr	r3, [r6, #12]
	ldr	r2, .L20+44
	bl	ocs_mgmt_emit_boolean
	b	.L1
.L10:
	mov	r0, r5
	ldr	r1, .L20+48
	bl	ocs_strcmp
	subs	r4, r0, #0
	bne	.L11
	ldr	r2, [r6, #8]
	ldr	r3, .L20+16
	str	r2, [sp]
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L20+52
	ldr	r2, .L20+48
	bl	ocs_mgmt_emit_int
	b	.L1
.L11:
	mov	r0, r5
	ldr	r1, .L20+56
	bl	ocs_strcmp
	subs	r4, r0, #0
	bne	.L12
	ldr	r2, [r6, #4]
	ldr	r3, .L20+16
	str	r2, [sp]
	ldr	r1, [r3]
	mov	r0, r7
	ldr	r3, .L20+52
	ldr	r2, .L20+56
	bl	ocs_mgmt_emit_int
	b	.L1
.L17:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	MGMT_MODE_RD
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	ocs_mgmt_io_get, .-ocs_mgmt_io_get
	.comm	MGMT_MODE_RD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
