	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_link_PushPacket                ## -- Begin function link_PushPacket
	.p2align	4, 0x90
_link_PushPacket:                       ## @link_PushPacket
	.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	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%r8d, -48(%rbp)
	testl	%ecx, %ecx
	js	LBB0_2
## %bb.1:
	movl	%ecx, %ebx
	movq	%r15, %rdi
	callq	_LINK_QUEUES
	cmpl	%ebx, %eax
	ja	LBB0_3
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movq	$0, (%r14)
	movslq	(%r15), %r13
	testq	%r14, %r14
	setne	%al
	testq	%r13, %r13
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_10
## %bb.4:
	testq	%r14, %r14
	je	LBB0_10
## %bb.5:
	decq	%r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	leaq	-48(%rbp), %r8
	callq	*%rbx
	movq	%rax, %r14
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	testq	%r14, %r14
	setne	%al
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	decq	%r13
	testq	%r14, %r14
	jne	LBB0_6
LBB0_10:
	testb	%al, %al
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	callq	_m_length
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_link_AddOutOctets
	movq	_LogDEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	movslq	-44(%rbp), %rbx                 ## 4-byte Folded Reload
	addq	8(%r15), %rbx
	movq	%r14, %rdi
	callq	_m_pullup
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_m_enqueue
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogDEBUG,4,2                   ## @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"link_PushPacket: Transmit proto 0x%04x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_link_PushPacket                ; -- Begin function link_PushPacket
	.p2align	2
_link_PushPacket:                       ; @link_PushPacket
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
	str	w4, [sp, #12]
	tbnz	w3, #31, LBB0_2
; %bb.1:
	mov	x20, x3
	mov	x0, x21
	bl	_LINK_QUEUES
	cmp	w0, w20
	b.hi	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	str	xzr, [x19]
	ldrsw	x9, [x21]
	cmp	x19, #0
	cset	w8, ne
	cbz	w9, LBB0_10
; %bb.4:
	cbz	x19, LBB0_10
; %bb.5:
	sub	w23, w9, #1
	lsl	x8, x9, #3
	sub	x24, x8, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x24]
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x4, sp, #12
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	blr	x8
	mov	x19, x0
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x19, #0
	cset	w8, ne
	subs	w23, w23, #1
	b.lo	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x24, x24, #8
	cbnz	x19, LBB0_6
LBB0_10:
	cbz	w8, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_m_length
	mov	x1, x0
	mov	x0, x21
	bl	_link_AddOutOctets
Lloh0:
	adrp	x8, _LogDEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogDEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [sp, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	ldr	x8, [x21, #8]
	add	x20, x8, w20, sxtw
	mov	x0, x19
	bl	_m_pullup
	mov	x1, x0
	mov	x0, x20
	bl	_m_enqueue
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LogDEBUG,4,2                   ; @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"link_PushPacket: Transmit proto 0x%04x\n"

.subsections_via_symbols
