	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc_send_packet
_mpc_send_packet:                       ## @mpc_send_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_find_mpc_by_lec
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%r15), %r12
	movq	(%r12), %rbx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %rbx
	jne	LBB0_11
## %bb.3:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	4(%rsi), %rax
	cmpq	%rax, (%r15)
	jb	LBB0_11
## %bb.4:
	movq	%r15, %rdi
	callq	_skb_set_network_header
	movq	(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rbx
	movq	%r15, %rdi
	callq	_ip_hdr
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rax
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	jl	LBB0_11
## %bb.5:
	movq	%r15, %rdi
	callq	_ip_hdr
	cmpl	$5, (%rax)
	jl	LBB0_11
## %bb.6:
	cmpl	$0, (%r13)
	jle	LBB0_11
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	%ebx, %rsi
	imulq	%rax, %rsi
	addq	16(%r13), %rsi
	callq	_compare_ether_addr
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_send_via_shortcut
	testq	%rax, %rax
	jne	LBB0_10
## %bb.12:
	movq	_NETDEV_TX_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_11:
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mpoa: (%s) mpc_send_packet: no MPC found\n"

	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NETDEV_TX_OK,4,2               ## @NETDEV_TX_OK
	.no_dead_strip	_mpc_send_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc_send_packet
_mpc_send_packet:                       ; @mpc_send_packet
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_find_mpc_by_lec
	mov	x21, x0
	cbz	x0, LBB0_11
; %bb.1:
	ldr	x22, [x20, #8]
	ldr	x23, [x22]
Lloh0:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_htons
	cmp	x23, x0
	b.ne	LBB0_12
; %bb.2:
	ldr	x8, [x20]
Lloh3:
	adrp	x23, _ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ETH_HLEN@GOTPAGEOFF]
	ldr	x1, [x23]
	add	x9, x1, #4
	cmp	x8, x9
	b.lo	LBB0_12
; %bb.3:
	mov	x0, x20
	bl	_skb_set_network_header
	ldr	x24, [x20]
	ldr	x23, [x23]
	mov	x0, x20
	bl	_ip_hdr
	ldrsw	x8, [x0]
	add	x8, x23, x8, lsl #2
	cmp	x24, x8
	b.lt	LBB0_12
; %bb.4:
	mov	x0, x20
	bl	_ip_hdr
	ldr	w8, [x0]
	cmp	w8, #5
	b.lt	LBB0_12
; %bb.5:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.6:
	mov	w23, #0
Lloh5:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w23, w23, #1
	ldr	w8, [x21]
	cmp	w23, w8
	b.ge	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #8]
	ldr	x8, [x21, #16]
	ldrsw	x9, [x24]
	sxtw	x10, w23
	madd	x1, x9, x10, x8
	bl	_compare_ether_addr
	cbnz	w0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_send_via_shortcut
	cbnz	x0, LBB0_7
; %bb.10:
Lloh7:
	adrp	x8, _NETDEV_TX_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	w1, [x19]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_12:
	ldr	x8, [x21, #8]
	ldr	x2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mpoa: (%s) mpc_send_packet: no MPC found\n"

	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NETDEV_TX_OK,4,2               ; @NETDEV_TX_OK
	.no_dead_strip	_mpc_send_packet
.subsections_via_symbols
