	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_purge_buffer                   ## -- Begin function purge_buffer
	.p2align	4, 0x90
_purge_buffer:                          ## @purge_buffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_bufpkt@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_packets_dropped@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	xorl	%edi, %edi
	callq	_set_suspended
	movq	_buffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_bufpos@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_buflen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_bufleft@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bufpkt,8,3                     ## @bufpkt
	.comm	_packets_dropped,4,2            ## @packets_dropped
	.comm	_buffer,4,2                     ## @buffer
	.comm	_bufpos,4,2                     ## @bufpos
	.comm	_buflen,4,2                     ## @buflen
	.comm	_bufleft,4,2                    ## @bufleft
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_purge_buffer                   ; -- Begin function purge_buffer
	.p2align	2
_purge_buffer:                          ; @purge_buffer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _bufpkt@GOTPAGE
Lloh1:
	ldr	x19, [x19, _bufpkt@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _packets_dropped@GOTPAGE
Lloh3:
	ldr	x9, [x9, _packets_dropped@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
	mov	w0, #0
	bl	_set_suspended
Lloh4:
	adrp	x8, _buffer@GOTPAGE
Lloh5:
	ldr	x8, [x8, _buffer@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _bufpos@GOTPAGE
Lloh8:
	ldr	x9, [x9, _bufpos@GOTPAGEOFF]
Lloh9:
	adrp	x10, _buflen@GOTPAGE
Lloh10:
	ldr	x10, [x10, _buflen@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	ldr	w8, [x10]
Lloh13:
	adrp	x9, _bufleft@GOTPAGE
Lloh14:
	ldr	x9, [x9, _bufleft@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_bufpkt,8,3                     ; @bufpkt
	.comm	_packets_dropped,4,2            ; @packets_dropped
	.comm	_buffer,4,2                     ; @buffer
	.comm	_bufpos,4,2                     ; @bufpos
	.comm	_buflen,4,2                     ; @buflen
	.comm	_bufleft,4,2                    ; @bufleft
.subsections_via_symbols
