	.file	"extr_bvm_dbg.c_bvm_dbg_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"disabled"
.LC1:
	.string	"bvmdbg"
.LC2:
	.string	"port"
	.text
	.p2align 4
	.type	bvm_dbg_probe, @function
bvm_dbg_probe:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	lea	rdx, .LC0[rip]
	xor	esi, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rcx, rsp
	lea	rdi, .LC1[rip]
	mov	DWORD PTR [rsp], 0
	call	resource_int_value@PLT
	mov	eax, DWORD PTR [rsp]
	test	eax, eax
	je	.L10
.L2:
	mov	eax, -1
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	lea	rcx, 4[rsp]
	xor	esi, esi
	lea	rdx, .LC2[rip]
	call	resource_int_value@PLT
	mov	edi, DWORD PTR bvm_dbg_port[rip]
	test	rax, rax
	je	.L12
.L4:
	call	inw@PLT
	mov	r8, rax
	cmp	r8, QWORD PTR BVM_DBG_SIG[rip]
	mov	eax, 1
	jne	.L2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR 4[rsp]
	mov	DWORD PTR bvm_dbg_port[rip], edi
	jmp	.L4
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bvm_dbg_probe, .-bvm_dbg_probe
	.comm	bvm_dbg_port,4,4
	.comm	BVM_DBG_SIG,8,8
	.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_bvm_dbg.c_bvm_dbg_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"disabled\000"
	.align	2
.LC1:
	.ascii	"bvmdbg\000"
	.align	2
.LC2:
	.ascii	"port\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bvm_dbg_probe, %function
bvm_dbg_probe:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #0
	str	lr, [sp, #-4]!
	ldr	ip, .L12
	sub	sp, sp, #20
	ldr	r2, .L12+4
	ldr	r0, .L12+8
	add	r3, sp, #4
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r1, [sp, #4]
	bl	resource_int_value
	ldr	r1, [sp, #4]
	cmp	r1, #0
	beq	.L10
.L2:
	mvn	r0, #0
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L10:
	add	r3, sp, #8
	ldr	r2, .L12+12
	ldr	r0, .L12+8
	bl	resource_int_value
	cmp	r0, #0
	ldrne	r3, .L12+16
	ldreq	r3, .L12+16
	ldreq	r0, [sp, #8]
	ldrne	r0, [r3]
	streq	r0, [r3]
	bl	inw
	ldr	r3, .L12+20
	ldr	r3, [r3]
	cmp	r0, r3
	moveq	r0, #1
	bne	.L2
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	bvm_dbg_port
	.word	BVM_DBG_SIG
	.size	bvm_dbg_probe, .-bvm_dbg_probe
	.comm	bvm_dbg_port,4,4
	.comm	BVM_DBG_SIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
