	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packet_buffer_put
_packet_buffer_put:                     ## @packet_buffer_put
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	incl	36(%rdi)
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	(%rdi), %r14
	leaq	20(%rdi), %r13
	movq	%r13, %rdi
	callq	_atomic_read
	addq	%r15, %rax
	addq	$16, %rax
	cmpq	%rax, %r14
	jae	LBB0_1
## %bb.5:
	incl	32(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %r13
	movq	24(%rbx), %rax
	addq	(%rbx), %r13
	movq	%r15, (%rax)
	movq	8(%rax), %rdi
	leaq	(%rdi,%r15), %rax
	cmpq	%r13, %rax
	jae	LBB0_3
## %bb.2:
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	24(%rbx), %rax
	addq	$8, %rax
	movq	%r15, %r14
	jmp	LBB0_4
LBB0_3:
	leaq	8(%rbx), %r14
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	subq	%rdi, %r13
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	movq	(%r14), %rdi
	addq	%r13, %r12
	movq	%r15, %r14
	subq	%r13, %r14
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_4:
	addq	(%rax), %r14
	movq	%r14, 24(%rbx)
	addl	$16, %r15d
	movl	%r15d, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_atomic_add
	addq	$16, %rbx
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wake_up_interruptible          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_packet_buffer_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packet_buffer_put
_packet_buffer_put:                     ; @packet_buffer_put
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w8, [x0, #36]
	add	w8, w8, #1
	str	w8, [x0, #36]
	ldr	x23, [x0]
	add	x21, x0, #20
	mov	x0, x21
	bl	_atomic_read
	add	x8, x20, x0
	add	x8, x8, #16
	cmp	x23, x8
	b.hs	LBB0_2
; %bb.1:
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
	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_2:
	mov	x24, x19
	ldr	x8, [x24, #8]!
	ldr	x9, [x19]
	add	x8, x8, x9
	ldr	x9, [x19, #24]
	str	x20, [x9]
	ldr	x0, [x9, #8]
	add	x9, x0, x20
	cmp	x9, x8
	b.hs	LBB0_4
; %bb.3:
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x19, #24]
	add	x24, x8, #8
	mov	x22, x20
	b	LBB0_5
LBB0_4:
	sub	x23, x8, x0
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	ldr	x0, [x24]
	add	x1, x22, x23
	sub	x22, x20, x23
	mov	x2, x22
	bl	_memcpy
LBB0_5:
	ldr	x8, [x24]
	add	x8, x8, x22
	str	x8, [x19, #24]
	add	w0, w20, #16
	mov	x1, x21
	bl	_atomic_add
	add	x0, x19, #16
	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
	b	_wake_up_interruptible
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_packet_buffer_put
.subsections_via_symbols
