	.file	"extr_ipmi_msghandler.c_copy_event_into_recv_msg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	copy_event_into_recv_msg, @function
copy_event_into_recv_msg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR IPMI_SYSTEM_INTERFACE_ADDR_TYPE[rip]
	mov	rsi, QWORD PTR [rsi]
	mov	QWORD PTR 40[rdi], 0
	mov	DWORD PTR 40[rdi], eax
	mov	eax, DWORD PTR IPMI_BMC_CHANNEL[rip]
	add	rsi, 12
	mov	DWORD PTR 36[rdi], eax
	mov	eax, DWORD PTR -12[rsi]
	and	eax, 3
	mov	DWORD PTR 32[rdi], eax
	mov	eax, DWORD PTR IPMI_ASYNC_EVENT_RECV_TYPE[rip]
	mov	DWORD PTR 28[rdi], eax
	mov	eax, DWORD PTR -12[rsi]
	sar	eax, 2
	mov	DWORD PTR [rdi], eax
	mov	eax, DWORD PTR -8[rsi]
	mov	DWORD PTR 4[rdi], eax
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR 24[rdi]
	lea	rdx, -3[rax]
	call	memcpy@PLT
	mov	eax, DWORD PTR 24[rbx]
	mov	DWORD PTR 16[rbx], eax
	mov	rax, QWORD PTR 8[rbp]
	sub	rax, 3
	mov	QWORD PTR 8[rbx], rax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	copy_event_into_recv_msg, .-copy_event_into_recv_msg
	.comm	IPMI_SYSTEM_INTERFACE_ADDR_TYPE,4,4
	.comm	IPMI_BMC_CHANNEL,4,4
	.comm	IPMI_ASYNC_EVENT_RECV_TYPE,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_ipmi_msghandler.c_copy_event_into_recv_msg.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_event_into_recv_msg, %function
copy_event_into_recv_msg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r4, r0
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, [r1]
	str	r2, [r0, #32]
	str	r3, [r0, #28]
	ldr	r2, .L4+8
	ldr	r3, [r1]
	ldr	r2, [r2]
	and	r3, r3, #3
	str	r2, [r0, #20]
	str	r3, [r0, #24]
	ldr	r3, [r1]
	ldr	r2, [r5, #4]
	asr	r3, r3, #2
	str	r3, [r0]
	ldr	r3, [r1, #4]
	sub	r2, r2, #3
	str	r3, [r0, #4]
	add	r1, r1, #12
	ldr	r0, [r0, #16]
	bl	memcpy
	ldr	r3, [r5, #4]
	ldr	r2, [r4, #16]
	sub	r3, r3, #3
	str	r3, [r4, #8]
	str	r2, [r4, #12]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	IPMI_SYSTEM_INTERFACE_ADDR_TYPE
	.word	IPMI_BMC_CHANNEL
	.word	IPMI_ASYNC_EVENT_RECV_TYPE
	.size	copy_event_into_recv_msg, .-copy_event_into_recv_msg
	.comm	IPMI_SYSTEM_INTERFACE_ADDR_TYPE,4,4
	.comm	IPMI_BMC_CHANNEL,4,4
	.comm	IPMI_ASYNC_EVENT_RECV_TYPE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
