	.file	"extr_base.c___of_device_is_available.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"status"
.LC1:
	.string	"okay"
	.text
	.p2align 4
	.type	__of_device_is_available, @function
__of_device_is_available:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L4
	lea	rdx, 4[rsp]
	lea	rsi, .LC0[rip]
	call	__of_get_property@PLT
	test	rax, rax
	je	.L7
	mov	edx, DWORD PTR 4[rsp]
	test	edx, edx
	jle	.L4
	mov	ecx, 5
	lea	rdi, .LC1[rip]
	mov	rsi, rax
	mov	r8d, 1
	repz cmpsb
	seta	dl
	sbb	dl, 0
	test	dl, dl
	je	.L1
	cmp	BYTE PTR [rax], 111
	je	.L12
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r8d, r8d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	mov	eax, r8d
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmp	BYTE PTR 1[rax], 107
	jne	.L4
	cmp	BYTE PTR 2[rax], 0
	je	.L1
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r8d, 1
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__of_device_is_available, .-__of_device_is_available
	.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_base.c___of_device_is_available.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"status\000"
	.align	2
.LC1:
	.ascii	"okay\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__of_device_is_available, %function
__of_device_is_available:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L13
	sub	sp, sp, #8
	cmp	r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L4
	mov	r2, sp
	ldr	r1, .L13+4
	bl	__of_get_property
	subs	r4, r0, #0
	beq	.L8
	ldr	r3, [sp]
	cmp	r3, #0
	ble	.L4
	ldr	r1, .L13+8
	bl	strcmp
	cmp	r0, #0
	beq	.L8
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #111
	beq	.L11
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L11:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #107
	bne	.L4
	ldrb	r3, [r4, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
.L8:
	mov	r0, #1
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	__of_device_is_available, .-__of_device_is_available
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
