	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_queue_event                    ## -- Begin function queue_event
	.p2align	4, 0x90
_queue_event:                           ## @queue_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_PRINTF
	movq	8(%rbx), %rax
	movl	%r15d, (%rax)
	movl	%r14d, 4(%rax)
	addq	$8, %rax
	movq	16(%rbx), %rcx
	movq	_MAX_EVENT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	leaq	(%rcx,%rdx,8), %rdx
	cmpq	%rdx, %rax
	cmoveq	%rcx, %rax
	movq	%rax, 8(%rbx)
	cmpq	(%rbx), %rax
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_SMT_E0137@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SMT_E0137_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SMT_ERR_LOG                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue class %d event %d\n"

	.comm	_MAX_EVENT,8,3                  ## @MAX_EVENT
	.comm	_SMT_E0137,4,2                  ## @SMT_E0137
	.comm	_SMT_E0137_MSG,4,2              ## @SMT_E0137_MSG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_queue_event                    ; -- Begin function queue_event
	.p2align	2
_queue_event:                           ; @queue_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PRINTF
	ldp	x9, x8, [x19]
	stp	w21, w20, [x8], #8
	ldr	x10, [x19, #16]
Lloh2:
	adrp	x11, _MAX_EVENT@GOTPAGE
Lloh3:
	ldr	x11, [x11, _MAX_EVENT@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
	add	x11, x10, x11, lsl #3
	cmp	x8, x11
	csel	x8, x10, x8, eq
	str	x8, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh5:
	adrp	x8, _SMT_E0137@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SMT_E0137@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _SMT_E0137_MSG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMT_E0137_MSG@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_SMT_ERR_LOG
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue class %d event %d\n"

	.comm	_MAX_EVENT,8,3                  ; @MAX_EVENT
	.comm	_SMT_E0137,4,2                  ; @SMT_E0137
	.comm	_SMT_E0137_MSG,4,2              ; @SMT_E0137_MSG
.subsections_via_symbols
