	.file	"extr_cmd.c_ibv_cmd_alloc_pd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ibv_cmd_alloc_pd
	.type	ibv_cmd_alloc_pd, @function
ibv_cmd_alloc_pd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r9
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	mov	r8, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	mov	rdi, rbp
	mov	rcx, r12
	mov	rsi, rbx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR ALLOC_PD[rip]
	call	IBV_INIT_CMD_RESP@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	rdx, rbx
	mov	rsi, rbp
	call	write@PLT
	cmp	rax, rbx
	je	.L2
	mov	eax, DWORD PTR errno[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, r15
	mov	rdi, r12
	call	VALGRIND_MAKE_MEM_DEFINED@PLT
	mov	eax, DWORD PTR [r12]
	mov	QWORD PTR [r14], r13
	mov	DWORD PTR 8[r14], eax
	add	rsp, 8
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ibv_cmd_alloc_pd, .-ibv_cmd_alloc_pd
	.comm	errno,4,4
	.comm	ALLOC_PD,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_cmd.c_ibv_cmd_alloc_pd.c"
	.text
	.align	2
	.global	ibv_cmd_alloc_pd
	.syntax unified
	.arm
	.fpu softvfp
	.type	ibv_cmd_alloc_pd, %function
ibv_cmd_alloc_pd:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r2
	mov	r4, r3
	mov	r6, r0
	sub	sp, sp, #12
	ldr	r9, [sp, #44]
	ldr	r8, [sp, #40]
	ldr	r2, .L6
	str	r9, [sp]
	ldr	r2, [r2]
	mov	r7, r1
	mov	r0, r5
	mov	r1, r3
	mov	r3, r8
	bl	IBV_INIT_CMD_RESP
	mov	r2, r4
	mov	r1, r5
	ldr	r0, [r6]
	bl	write
	cmp	r0, r4
	beq	.L2
	ldr	r3, .L6+4
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r1, r9
	mov	r0, r8
	bl	VALGRIND_MAKE_MEM_DEFINED
	mov	r0, #0
	ldr	r3, [r8]
	str	r6, [r7]
	str	r3, [r7, #4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L7:
	.align	2
.L6:
	.word	ALLOC_PD
	.word	errno
	.size	ibv_cmd_alloc_pd, .-ibv_cmd_alloc_pd
	.comm	errno,4,4
	.comm	ALLOC_PD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
