	.file	"extr_dprc.c_dprc_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dprc_open
	.type	dprc_open, @function
dprc_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pxor	xmm0, xmm0
	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	ebp, edx
	xor	edx, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR DPRC_CMDID_OPEN[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR [rsp], xmm0
	call	mc_encode_cmd_header@PLT
	mov	edi, ebp
	mov	r13, QWORD PTR [rsp]
	mov	rbp, rsp
	mov	DWORD PTR 8[rsp], eax
	call	cpu_to_le32@PLT
	mov	rdi, r12
	mov	rsi, rbp
	mov	DWORD PTR 0[r13], eax
	call	mc_send_command@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rdi, rbp
	call	mc_cmd_hdr_read_token@PLT
	mov	DWORD PTR [rbx], eax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dprc_open, .-dprc_open
	.comm	DPRC_CMDID_OPEN,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_dprc.c_dprc_open.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dprc_open
	.syntax unified
	.arm
	.fpu softvfp
	.type	dprc_open, %function
dprc_open:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, .L7
	mov	r6, r3
	ldr	r3, .L7+4
	sub	sp, sp, #16
	mov	r5, r2
	ldr	r0, [r0]
	mov	r2, ip
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	str	ip, [sp]
	str	ip, [sp, #4]
	str	ip, [sp, #8]
	bl	mc_encode_cmd_header
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #4]
	ldr	r5, [sp]
	bl	cpu_to_le32
	mov	r3, r0
	mov	r1, sp
	mov	r0, r4
	str	r3, [r5]
	bl	mc_send_command
	subs	r4, r0, #0
	bne	.L1
	mov	r0, sp
	bl	mc_cmd_hdr_read_token
	str	r0, [r6]
.L1:
	ldr	r3, .L7+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	DPRC_CMDID_OPEN
	.word	.LC0
	.size	dprc_open, .-dprc_open
	.comm	DPRC_CMDID_OPEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
