	.file	"extr_send.c_yrmcds_lock_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	yrmcds_lock_get
	.type	yrmcds_lock_get, @function
yrmcds_lock_get:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	mov	eax, ecx
	mov	rcx, r8
	mov	r9, rsi
	sete	r8b
	test	rdx, rdx
	sete	sil
	or	r8b, sil
	jne	.L8
	test	rdi, rdi
	je	.L8
	cmp	QWORD PTR [rdi], 0
	jne	.L13
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	test	eax, eax
	mov	esi, DWORD PTR YRMCDS_CMD_LAGQ[rip]
	mov	r8, rdx
	push	0
	.cfi_def_cfa_offset 24
	cmove	esi, DWORD PTR YRMCDS_CMD_LAG[rip]
	xor	edx, edx
	push	0
	.cfi_def_cfa_offset 32
	push	0
	.cfi_def_cfa_offset 40
	push	0
	.cfi_def_cfa_offset 48
	call	send_command@PLT
	add	rsp, 40
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR YRMCDS_BAD_ARGUMENT[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR YRMCDS_NOT_IMPLEMENTED[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	yrmcds_lock_get, .-yrmcds_lock_get
	.comm	YRMCDS_NOT_IMPLEMENTED,4,4
	.comm	YRMCDS_CMD_LAGQ,4,4
	.comm	YRMCDS_CMD_LAG,4,4
	.comm	YRMCDS_BAD_ARGUMENT,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_send.c_yrmcds_lock_get.c"
	.text
	.align	2
	.global	yrmcds_lock_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	yrmcds_lock_get, %function
yrmcds_lock_get:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	ip, r2
	cmp	r1, #0
	lsr	ip, ip, #5
	moveq	ip, #1
	cmp	r0, #0
	moveq	ip, #1
	cmp	ip, #0
	beq	.L2
	ldr	r3, .L12
	ldr	r0, [r3]
	bx	lr
.L2:
	ldr	ip, [r0]
	cmp	ip, #0
	bne	.L11
	cmp	r3, #0
	ldrne	r3, .L12+4
	ldreq	r3, .L12+8
	str	lr, [sp, #-4]!
	ldr	ip, [r3]
	mov	r3, #0
	sub	sp, sp, #28
	str	r1, [sp, #4]
	str	r2, [sp]
	str	r3, [sp, #20]
	mov	r2, r3
	str	r3, [sp, #16]
	str	r3, [sp, #12]
	str	r3, [sp, #8]
	mov	r1, ip
	ldr	r3, [sp, #32]
	bl	send_command
	add	sp, sp, #28
	@ sp needed
	ldr	pc, [sp], #4
.L11:
	ldr	r3, .L12+12
	ldr	r0, [r3]
	bx	lr
.L13:
	.align	2
.L12:
	.word	YRMCDS_BAD_ARGUMENT
	.word	YRMCDS_CMD_LAGQ
	.word	YRMCDS_CMD_LAG
	.word	YRMCDS_NOT_IMPLEMENTED
	.size	yrmcds_lock_get, .-yrmcds_lock_get
	.comm	YRMCDS_NOT_IMPLEMENTED,4,4
	.comm	YRMCDS_CMD_LAGQ,4,4
	.comm	YRMCDS_CMD_LAG,4,4
	.comm	YRMCDS_BAD_ARGUMENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
