	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_add_event                   ## -- Begin function do_add_event
	.p2align	4, 0x90
_do_add_event:                          ## @do_add_event
	.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
	movl	%r9d, %r10d
	movl	%r8d, %r12d
	movl	%ecx, %ebx
	movq	%rdx, %r8
	movq	%rdi, %r15
	movl	16(%rbp), %r13d
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movq	%r8, %r14
	movl	%r12d, %r9d
	pushq	%r13
	pushq	%r10
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %r13d
	movq	%r10, %r12
	callq	_fprintf
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %r8
	movq	%r12, %r10
	movl	%r13d, %r12d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	addq	$16, %rsp
LBB0_2:
	testl	%esi, %esi
	jle	LBB0_6
## %bb.3:
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.4:
	cmpl	$32768, %ebx                    ## imm = 0x8000
	ja	LBB0_6
## %bb.5:
	movq	_MAX_QNAME@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r10, %r14
	movq	%r8, %r15
	callq	_get_queue
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	movl	%r14d, %r8d
	movl	%r13d, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_event                      ## TAILCALL
LBB0_6:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"Queue name [%s], data %d:[%s] { & %d = %d} ttl = %d\n"

	.comm	_MAX_QNAME,4,2                  ## @MAX_QNAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_add_event                   ; -- Begin function do_add_event
	.p2align	2
_do_add_event:                          ; @do_add_event
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	mov	x3, x22
	mov	x4, x23
	mov	x5, x21
	mov	x6, x20
	mov	x7, x19
	bl	_fprintf
LBB0_2:
	cmp	w25, #1
	b.lt	LBB0_7
; %bb.3:
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.4:
	cmp	w22, #8, lsl #12                ; =32768
	b.hi	LBB0_7
; %bb.5:
Lloh8:
	adrp	x8, _MAX_QNAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_QNAME@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w25
	b.lt	LBB0_7
; %bb.6:
	mov	x0, x24
	mov	w1, #0
	bl	_get_queue
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_add_event
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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	"Queue name [%s], data %d:[%s] { & %d = %d} ttl = %d\n"

	.comm	_MAX_QNAME,4,2                  ; @MAX_QNAME
.subsections_via_symbols
