	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_delete_first_messages       ## -- Begin function do_delete_first_messages
	.p2align	4, 0x90
_do_delete_first_messages:              ## @do_delete_first_messages
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_verbosity@GOTPCREL(%rip), %r15
	cmpl	$2, (%r15)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_delete_first_messages
	movl	%eax, %ebx
	cmpl	$2, (%r15)
	jl	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_4:
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.5:
	movq	_LEV_TX_DEL_FIRST_MESSAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	movl	%r14d, %edx
	callq	_alloc_log_event
	movl	%ebx, (%rax)
	movl	$1, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"do_delete_first_messages(%d,%d):\n"

L_.str.1:                               ## @.str.1
	.asciz	"delete_first_messages returned %d\n"

	.comm	_LEV_TX_DEL_FIRST_MESSAGES,4,2  ## @LEV_TX_DEL_FIRST_MESSAGES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_delete_first_messages       ; -- Begin function do_delete_first_messages
	.p2align	2
_do_delete_first_messages:              ; @do_delete_first_messages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _verbosity@GOTPAGE
Lloh1:
	ldr	x22, [x22, _verbosity@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x21, _stderr@GOTPAGE
Lloh3:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x21]
	str	x20, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_fprintf
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_delete_first_messages
	mov	x20, x0
	ldr	w8, [x22]
	cmp	w8, #1
	b.le	LBB0_4
; %bb.3:
	ldr	w0, [x21]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_fprintf
LBB0_4:
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _LEV_TX_DEL_FIRST_MESSAGES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LEV_TX_DEL_FIRST_MESSAGES@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #4
	mov	x2, x19
	bl	_alloc_log_event
	str	w20, [x0]
	mov	w20, #1
LBB0_6:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"do_delete_first_messages(%d,%d):\n"

l_.str.1:                               ; @.str.1
	.asciz	"delete_first_messages returned %d\n"

	.comm	_LEV_TX_DEL_FIRST_MESSAGES,4,2  ; @LEV_TX_DEL_FIRST_MESSAGES
.subsections_via_symbols
