	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3PutPacket                    ## -- Begin function L3PutPacket
	.p2align	4, 0x90
_L3PutPacket:                           ## @L3PutPacket
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movl	%edx, %r15d
	movq	8(%rbx), %r12
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_NewCancelList
	movq	%rax, (%rbx)
LBB0_4:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ParsePacket
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rax, %r15
	movl	(%r12), %edi
	callq	_Lock
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_L3RecvL2
	movl	(%r12), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Unlock                         ## TAILCALL
LBB0_6:
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_CancelList
	movq	(%rbx), %rdi
	callq	_ReleaseCancelList
	movq	$0, (%rbx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3PutPacket                    ; -- Begin function L3PutPacket
	.p2align	2
_L3PutPacket:                           ; @L3PutPacket
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x1, LBB0_6
; %bb.2:
	mov	x21, x2
	ldr	x22, [x19, #8]
	cbnz	x0, LBB0_4
; %bb.3:
	bl	_NewCancelList
	str	x0, [x19]
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	bl	_ParsePacket
	cbz	x0, LBB0_9
; %bb.5:
	mov	x21, x0
	ldr	w0, [x22]
	bl	_Lock
	mov	x0, x19
	mov	x1, x21
	bl	_L3RecvL2
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Unlock
LBB0_6:
	cbz	x0, LBB0_8
; %bb.7:
	bl	_CancelList
	ldr	x0, [x19]
	bl	_ReleaseCancelList
	str	xzr, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
