	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_mq
_handle_mq:                             ## @handle_mq
	.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	8(%rdi), %rax
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$2, %rsi
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	cmpq	$1, %rsi
	je	LBB0_5
## %bb.3:
	addq	$8, %rsp
	testq	%rsi, %rsi
	jne	LBB0_7
## %bb.4:
	popq	%rbx
	popq	%rbp
	jmp	_wake_up                        ## TAILCALL
LBB0_8:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_handle_vq
	movl	$2, %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_c2_ae_event                    ## TAILCALL
LBB0_5:
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_handle_vq                      ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%rbp
	jmp	_c2_cq_event                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"handle_mq: stray activity for mq_index=%d\n"

	.no_dead_strip	_handle_mq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_mq
_handle_mq:                             ; @handle_mq
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8, x1, lsl #3]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x0
	cmp	x1, #2
	b.eq	LBB0_6
; %bb.2:
	cmp	x1, #1
	b.eq	LBB0_7
; %bb.3:
	mov	x0, x19
	cbnz	x1, LBB0_8
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wake_up
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pr_debug
LBB0_6:
	mov	x0, x19
	mov	w1, #1
	bl	_handle_vq
	mov	x0, x19
	mov	w1, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_c2_ae_event
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_handle_vq
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_c2_cq_event
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"handle_mq: stray activity for mq_index=%d\n"

	.no_dead_strip	_handle_mq
.subsections_via_symbols
