	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_FillPhysicalQueues          ## -- Begin function mp_FillPhysicalQueues
	.p2align	4, 0x90
_mp_FillPhysicalQueues:                 ## @mp_FillPhysicalQueues
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_34
## %bb.1:
	movq	%rdi, %r14
	leaq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_DATALINK_OPEN@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	xorl	%r15d, %r15d
	movq	%rbx, %rdx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	xorl	%esi, %esi
	cmpq	%rax, (%rdx)
	movq	8(%rdx), %rdi
	sete	%sil
	addl	%esi, %r15d
	movq	%rdi, %rdx
	testq	%rdi, %rdi
	je	LBB0_5
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%esi, %esi
	cmpl	16(%r14), %r13d
	setne	%sil
	movl	$0, %ecx
	cmoveq	%rdx, %rcx
	addl	%esi, %r13d
	jmp	LBB0_2
LBB0_5:
	xorl	%edx, %edx
	testq	%rcx, %rcx
	movl	$0, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmovel	%edx, %r13d
	cmovneq	%rcx, %rbx
	leaq	24(%r14), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	20(%r14), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_9
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_m_settype
	movq	16(%rbx), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r15, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	$1, %r9d
	callq	_mp_Output
	movq	_DATALINK_OPEN@GOTPCREL(%rip), %r8
	movq	-104(%rbp), %r15                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	8(%rbx), %rbx
	leal	-1(%r12), %eax
	incl	%r13d
	cmpl	$1, %r12d
	movl	%eax, %r12d
	jle	LBB0_33
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r14), %rbx
	xorl	%r13d, %r13d
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r8), %rax
	jne	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%rbx), %rdi
	cmpq	$0, 8(%rdi)
	jne	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_link_QueueLen
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_9 Depth=1
	addq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	_DATALINK_OPEN@GOTPCREL(%rip), %r8
	jmp	LBB0_8
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mp_QueueLen
	testl	%eax, %eax
	je	LBB0_24
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_link_Dequeue
	testq	%rax, %rax
	je	LBB0_7
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_m_length
	movq	%rax, %r15
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_DATALINK_OPEN@GOTPCREL(%rip), %rcx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_20 Depth=2
	callq	_m_get
	movq	%rax, %r14
	subq	(%rax), %r15
	movq	%rax, %rdi
	callq	_MBUF_CTOP
	movq	(%r14), %rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_mbuf_Read
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_mp_Output
	movq	_DATALINK_OPEN@GOTPCREL(%rip), %rcx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_20 Depth=2
	incl	%r13d
	decl	%r12d
LBB0_20:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rax
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	16(%rbx), %rax
	movq	(%rax), %rdi
	movq	_MB_MPOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpq	%rdi, %r15
	ja	LBB0_17
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	xorl	%r13d, %r13d
	decl	%r12d
	jmp	LBB0_20
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$1, %r15d
	ja	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%rbx), %rdx
	movq	(%rdx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx), %rax
	jae	LBB0_30
LBB0_26:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_ncp_PushPacket
	testl	%eax, %eax
	je	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$1, %r15d
	ja	LBB0_15
## %bb.28:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_LogDEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	jmp	LBB0_15
LBB0_30:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_ncp_PushPacket
	testl	%eax, %eax
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_LogDEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_log_Printf
	movq	16(%rbx), %rdi
	callq	_link_QueueLen
	addq	%rax, -64(%rbp)                 ## 8-byte Folded Spill
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_15
LBB0_33:
	movl	%r13d, 16(%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_34:
	xorl	%eax, %eax
LBB0_35:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATALINK_OPEN,8,3              ## @DATALINK_OPEN
	.comm	_LogDEBUG,4,2                   ## @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Don't send data as PROTO_IP, MRU < MRRU\n"

L_.str.1:                               ## @.str.1
	.asciz	"Sending data as PROTO_IP, not PROTO_MP\n"

	.comm	_MB_MPOUT,4,2                   ## @MB_MPOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_FillPhysicalQueues          ; -- Begin function mp_FillPhysicalQueues
	.p2align	2
_mp_FillPhysicalQueues:                 ; @mp_FillPhysicalQueues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x9, x0
	ldr	x8, [x9], #8
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	cbz	x8, LBB0_31
; %bb.1:
	mov	x19, x0
	mov	w25, #0
	mov	w23, #0
	mov	w9, #0
	mov	x10, #0
Lloh0:
	adrp	x22, _DATALINK_OPEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DATALINK_OPEN@GOTPAGEOFF]
	ldr	x11, [x22]
	mov	x12, x8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	ldp	x13, x12, [x12]
	cmp	x13, x11
	cinc	w25, w25, eq
	cbz	x12, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x19, #16]
	cmp	w9, w10
	csel	x10, x12, xzr, eq
	cinc	w9, w9, ne
	b	LBB0_2
LBB0_5:
	mov	x24, #0
	cmp	x10, #0
	csel	x20, x8, x10, eq
	csel	w21, wzr, w9, eq
	add	x27, x19, #24
	add	x8, x19, #20
	stp	x8, x27, [sp]                   ; 16-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x0, x24
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x20, [x20, #8]
	add	w21, w21, #1
	subs	w23, w23, #1
	b.le	LBB0_30
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	cbnz	x20, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w21, #0
	ldr	x20, [x19]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x20, #16]
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_link_QueueLen
	cbnz	x0, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_mp_QueueLen
	cbz	w0, LBB0_23
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_link_Dequeue
	cbz	x0, LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, x0
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	bl	_m_length
	mov	x28, x0
	mov	w27, #1
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=2
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_18 Depth=2
	add	w21, w21, #1
	sub	w23, w23, #1
LBB0_18:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	ldr	x8, [x20, #16]
	ldr	x0, [x8]
Lloh2:
	adrp	x8, _MB_MPOUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MB_MPOUT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	cmp	x28, x0
	b.ls	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=2
	bl	_m_get
	mov	x24, x0
	ldr	x8, [x0]
	sub	x28, x28, x8
	bl	_MBUF_CTOP
	mov	x1, x0
	ldr	x2, [x24]
	mov	x0, x26
	bl	_mbuf_Read
	mov	x26, x0
	ldr	x2, [x20, #16]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x19
	mov	x3, x24
	mov	x4, x27
	mov	w5, #0
	bl	_mp_Output
	mov	w27, #0
	b	LBB0_16
LBB0_21:                                ;   in Loop: Header=BB0_18 Depth=2
	mov	w21, #0
	ldr	x20, [x19]
	sub	w23, w23, #1
	b	LBB0_18
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	bl	_m_settype
	ldr	x2, [x20, #16]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x19
	mov	x3, x26
	mov	x4, x27
	mov	w5, #1
	bl	_mp_Output
	ldp	x27, x24, [sp, #8]              ; 16-byte Folded Reload
	b	LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	w25, #1
	b.hi	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x2, [x20, #16]
	ldr	x8, [x2]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_28
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	mov	x2, x27
	bl	_ncp_PushPacket
	cbz	w0, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w25, #1
	b.hi	LBB0_14
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh5:
	adrp	x8, _LogDEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LogDEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	b	LBB0_14
LBB0_28:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_ncp_PushPacket
	cbz	w0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh10:
	adrp	x8, _LogDEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LogDEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_log_Printf
	ldr	x0, [x20, #16]
	bl	_link_QueueLen
	add	x24, x0, x24
	cbnz	x0, LBB0_7
	b	LBB0_14
LBB0_30:
	str	w21, [x19, #16]
	b	LBB0_32
LBB0_31:
	mov	w24, #0
LBB0_32:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DATALINK_OPEN,8,3              ; @DATALINK_OPEN
	.comm	_LogDEBUG,4,2                   ; @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Don't send data as PROTO_IP, MRU < MRRU\n"

l_.str.1:                               ; @.str.1
	.asciz	"Sending data as PROTO_IP, not PROTO_MP\n"

	.comm	_MB_MPOUT,4,2                   ; @MB_MPOUT
.subsections_via_symbols
