	.file	"extr_tpm-interface.c_tpm_auto_startup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tpm_auto_startup
	.type	tpm_auto_startup, @function
tpm_auto_startup:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR TPM_OPS_AUTO_STARTUP[rip], eax
	je	.L1
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR TPM_CHIP_FLAG_TPM2[rip], eax
	je	.L3
	jmp	tpm2_auto_startup@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	jmp	tpm1_auto_startup@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	tpm_auto_startup, .-tpm_auto_startup
	.comm	TPM_OPS_AUTO_STARTUP,4,4
	.comm	TPM_CHIP_FLAG_TPM2,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_tpm-interface.c_tpm_auto_startup.c"
	.text
	.align	2
	.global	tpm_auto_startup
	.syntax unified
	.arm
	.fpu softvfp
	.type	tpm_auto_startup, %function
tpm_auto_startup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r1, .L5
	ldr	r2, [r0, #4]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ands	r2, r2, r1
	beq	.L1
	ldr	r1, .L5+4
	ldr	r2, [r0]
	ldr	r3, [r1]
	tst	r2, r3
	beq	.L3
	b	tpm2_auto_startup
.L3:
	b	tpm1_auto_startup
.L1:
	mov	r0, r2
	bx	lr
.L6:
	.align	2
.L5:
	.word	TPM_OPS_AUTO_STARTUP
	.word	TPM_CHIP_FLAG_TPM2
	.size	tpm_auto_startup, .-tpm_auto_startup
	.comm	TPM_OPS_AUTO_STARTUP,4,4
	.comm	TPM_CHIP_FLAG_TPM2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
