	.file	"extr_debug.c_xendebug_identify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Trying to add Xen debug device to non-xen guest"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"debug"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Unable to add Xen debug device."
	.text
	.p2align 4
	.type	xendebug_identify, @function
xendebug_identify:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xor	eax, eax
	mov	ebp, esi
	call	xen_domain@PLT
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	KASSERT@PLT
	xor	eax, eax
	call	xen_hvm_domain@PLT
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR xen_vector_callback_enabled[rip]
	test	eax, eax
	je	.L1
.L2:
	xor	ecx, ecx
	xor	esi, esi
	lea	rdx, .LC1[rip]
	mov	edi, ebp
	call	BUS_ADD_CHILD@PLT
	test	rax, rax
	je	.L10
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	panic@PLT
	.cfi_endproc
.LFE0:
	.size	xendebug_identify, .-xendebug_identify
	.comm	xen_vector_callback_enabled,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_debug.c_xendebug_identify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Trying to add Xen debug device to non-xen guest\000"
	.align	2
.LC1:
	.ascii	"debug\000"
	.align	2
.LC2:
	.ascii	"Unable to add Xen debug device.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xendebug_identify, %function
xendebug_identify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	bl	xen_domain
	ldr	r1, .L10
	bl	KASSERT
	bl	xen_hvm_domain
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, pc}
.L2:
	mov	r3, #0
	mov	r0, r4
	mov	r1, r3
	ldr	r2, .L10+8
	bl	BUS_ADD_CHILD
	cmp	r0, #0
	popne	{r4, pc}
	ldr	r0, .L10+12
	pop	{r4, lr}
	b	panic
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	xen_vector_callback_enabled
	.word	.LC1
	.word	.LC2
	.size	xendebug_identify, .-xendebug_identify
	.comm	xen_vector_callback_enabled,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
