	.file	"extr_target_core_spc.c_spc_emulate_evpd_b0.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spc_emulate_evpd_b0, @function
spc_emulate_evpd_b0:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, 6[rsi]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	lea	r13, 8[rsi]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	lea	r12, 12[rsi]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR [rdi]
	mov	rbx, rsi
	mov	rax, QWORD PTR 72[rbp]
	cmp	QWORD PTR 64[rbp], 0
	mov	rax, QWORD PTR [rax]
	jne	.L2
	cmp	QWORD PTR 56[rbp], 0
	je	.L10
.L2:
	mov	rdi, rbp
	call	rax
	mov	edx, 316
	mov	rsi, r14
	mov	edi, 1
	mov	WORD PTR 3[rbx], dx
	mov	BYTE PTR [rbx], al
	call	put_unaligned_be16@PLT
	mov	esi, DWORD PTR 44[rbp]
	mov	edi, DWORD PTR 48[rbp]
	call	min@PLT
	mov	rsi, r13
	mov	rdi, rax
	call	put_unaligned_be32@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	rsi, r12
	call	put_unaligned_be32@PLT
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, 20[rbx]
	call	put_unaligned_be32@PLT
	mov	rdi, QWORD PTR 16[rbp]
	lea	rsi, 24[rbx]
	call	put_unaligned_be32@PLT
	mov	rdi, QWORD PTR 24[rbp]
	lea	rsi, 28[rbx]
	call	put_unaligned_be32@PLT
	mov	rdi, QWORD PTR 32[rbp]
	lea	rsi, 32[rbx]
	call	put_unaligned_be32@PLT
	cmp	QWORD PTR 32[rbp], 0
	je	.L4
	or	BYTE PTR 32[rbx], -128
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	rax
	mov	rsi, r14
	mov	edi, 1
	mov	BYTE PTR [rbx], al
	mov	eax, 272
	mov	WORD PTR 3[rbx], ax
	call	put_unaligned_be16@PLT
	mov	esi, DWORD PTR 44[rbp]
	mov	edi, DWORD PTR 48[rbp]
	call	min@PLT
	mov	rsi, r13
	mov	rdi, rax
	call	put_unaligned_be32@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	rsi, r12
	call	put_unaligned_be32@PLT
.L4:
	mov	edi, DWORD PTR 40[rbp]
	lea	rsi, 36[rbx]
	call	put_unaligned_be64@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	spc_emulate_evpd_b0, .-spc_emulate_evpd_b0
	.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_target_core_spc.c_spc_emulate_evpd_b0.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spc_emulate_evpd_b0, %function
spc_emulate_evpd_b0:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0]
	mov	r4, r1
	ldr	r2, [r5, #36]
	ldr	r3, [r5, #40]
	cmp	r2, #0
	ldr	r3, [r3]
	add	r8, r1, #6
	add	r7, r1, #8
	add	r6, r1, #12
	bne	.L2
	ldr	r2, [r5, #32]
	cmp	r2, #0
	beq	.L10
.L2:
	mov	r0, r5
	blx	r3
	mov	r3, #1
	mov	r2, #60
	strb	r3, [r4, #4]
	strb	r2, [r4, #3]
	mov	r1, r8
	strb	r0, [r4]
	mov	r0, r3
	bl	put_unaligned_be16
	ldr	r1, [r5, #24]
	ldr	r0, [r5, #28]
	bl	min
	mov	r1, r7
	bl	put_unaligned_be32
	mov	r1, r6
	ldr	r0, [r5]
	bl	put_unaligned_be32
	add	r1, r4, #20
	ldr	r0, [r5, #4]
	bl	put_unaligned_be32
	add	r1, r4, #24
	ldr	r0, [r5, #8]
	bl	put_unaligned_be32
	add	r1, r4, #28
	ldr	r0, [r5, #12]
	bl	put_unaligned_be32
	ldr	r0, [r5, #16]
	add	r1, r4, #32
	bl	put_unaligned_be32
	ldr	r3, [r5, #16]
	cmp	r3, #0
	ldrbne	r3, [r4, #32]	@ zero_extendqisi2
	mvnne	r3, r3, lsl #25
	mvnne	r3, r3, lsr #25
	strbne	r3, [r4, #32]
	b	.L4
.L10:
	mov	r0, r5
	blx	r3
	mov	r3, #1
	mov	r2, #16
	strb	r3, [r4, #4]
	strb	r2, [r4, #3]
	mov	r1, r8
	strb	r0, [r4]
	mov	r0, r3
	bl	put_unaligned_be16
	ldr	r1, [r5, #24]
	ldr	r0, [r5, #28]
	bl	min
	mov	r1, r7
	bl	put_unaligned_be32
	mov	r1, r6
	ldr	r0, [r5]
	bl	put_unaligned_be32
.L4:
	ldr	r0, [r5, #20]
	add	r1, r4, #36
	bl	put_unaligned_be64
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	spc_emulate_evpd_b0, .-spc_emulate_evpd_b0
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
