	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_delete_message              ## -- Begin function do_delete_message
	.p2align	4, 0x90
_do_delete_message:                     ## @do_delete_message
	.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
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_verbosity@GOTPCREL(%rip), %r12
	cmpl	$2, (%r12)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	$-1, %edx
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	callq	_adjust_message
	movl	%eax, %ebx
	cmpl	$2, (%r12)
	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
	js	LBB0_8
## %bb.5:
	testb	$1, %bl
	jne	LBB0_7
## %bb.6:
	movq	_write_all_events@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_9
LBB0_7:
	andl	$1, %ebx
	movq	_LEV_TX_DEL_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	movl	%r15d, %edx
	callq	_alloc_log_event
	movl	%r14d, (%rax)
LBB0_8:
	movl	%ebx, %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	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_message(%d,%d):\n"

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

	.comm	_write_all_events,8,3           ## @write_all_events
	.comm	_LEV_TX_DEL_MESSAGE,4,2         ## @LEV_TX_DEL_MESSAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_delete_message              ; -- Begin function do_delete_message
	.p2align	2
_do_delete_message:                     ; @do_delete_message
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _verbosity@GOTPAGE
Lloh1:
	ldr	x22, [x22, _verbosity@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_fprintf
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #-1
	mov	w3, #-1
	mov	w4, #0
	bl	_adjust_message
	mov	x21, x0
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.3:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_fprintf
LBB0_4:
	tbnz	w21, #31, LBB0_9
; %bb.5:
	tbnz	w21, #0, LBB0_8
; %bb.6:
Lloh12:
	adrp	x8, _write_all_events@GOTPAGE
Lloh13:
	ldr	x8, [x8, _write_all_events@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.7:
	mov	w21, #0
	b	LBB0_9
LBB0_8:
	and	w21, w21, #0x1
Lloh15:
	adrp	x8, _LEV_TX_DEL_MESSAGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LEV_TX_DEL_MESSAGE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #4
	mov	x2, x20
	bl	_alloc_log_event
	str	w19, [x0]
LBB0_9:
	mov	x0, x21
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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_message(%d,%d):\n"

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

	.comm	_write_all_events,8,3           ; @write_all_events
	.comm	_LEV_TX_DEL_MESSAGE,4,2         ; @LEV_TX_DEL_MESSAGE
.subsections_via_symbols
