	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_event_into_recv_msg
_copy_event_into_recv_msg:              ## @copy_event_into_recv_msg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, 40(%rdi)
	movq	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rdi)
	movq	_IPMI_BMC_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rdi)
	movq	(%rsi), %rsi
	movl	(%rsi), %eax
	andl	$3, %eax
	movl	%eax, 32(%rdi)
	movq	_IPMI_ASYNC_EVENT_RECV_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rdi)
	movl	(%rsi), %eax
	sarl	$2, %eax
	movl	%eax, (%rdi)
	movl	4(%rsi), %eax
	movl	%eax, 4(%rdi)
	movl	24(%rdi), %edi
	addq	$12, %rsi
	movq	8(%r14), %rdx
	addq	$-3, %rdx
	callq	_memcpy
	movl	24(%rbx), %eax
	movl	%eax, 16(%rbx)
	movq	8(%r14), %rax
	addq	$-3, %rax
	movq	%rax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE,4,2 ## @IPMI_SYSTEM_INTERFACE_ADDR_TYPE
	.comm	_IPMI_BMC_CHANNEL,4,2           ## @IPMI_BMC_CHANNEL
	.comm	_IPMI_ASYNC_EVENT_RECV_TYPE,4,2 ## @IPMI_ASYNC_EVENT_RECV_TYPE
	.no_dead_strip	_copy_event_into_recv_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_event_into_recv_msg
_copy_event_into_recv_msg:              ; @copy_event_into_recv_msg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPAGEOFF]
	str	xzr, [x0, #40]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #40]
Lloh3:
	adrp	x8, _IPMI_BMC_CHANNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPMI_BMC_CHANNEL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #36]
	ldp	x8, x9, [x1]
	ldr	w10, [x8]
Lloh6:
	adrp	x11, _IPMI_ASYNC_EVENT_RECV_TYPE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _IPMI_ASYNC_EVENT_RECV_TYPE@GOTPAGEOFF]
	and	w10, w10, #0x3
Lloh8:
	ldr	w11, [x11]
	stp	w11, w10, [x0, #28]
	ldr	w10, [x8]
	asr	w10, w10, #2
	str	w10, [x0]
	ldr	w10, [x8, #4]
	str	w10, [x0, #4]
	ldr	w0, [x0, #24]
	add	x1, x8, #12
	sub	x2, x9, #3
	bl	_memcpy
	ldr	w8, [x20, #24]
	str	w8, [x20, #16]
	ldr	x8, [x19, #8]
	sub	x8, x8, #3
	str	x8, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE,4,2 ; @IPMI_SYSTEM_INTERFACE_ADDR_TYPE
	.comm	_IPMI_BMC_CHANNEL,4,2           ; @IPMI_BMC_CHANNEL
	.comm	_IPMI_ASYNC_EVENT_RECV_TYPE,4,2 ; @IPMI_ASYNC_EVENT_RECV_TYPE
	.no_dead_strip	_copy_event_into_recv_msg
.subsections_via_symbols
