	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_responses
_handle_responses:                      ## @handle_responses
	.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
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rspq_to_qset
	movq	%rax, %r15
	movq	(%r12), %rbx
	shlq	$2, %rbx
	addq	16(%r12), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_is_new_response
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_rmb
	movq	%rbx, %rdi
	callq	_is_pure_response
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_process_pure_responses
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_napi_schedule
	movl	$1, %eax
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_6
LBB0_4:
	movq	_A_SG_GTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	12(%r12), %edi
	callq	_V_RSPQ
	movl	%eax, %ebx
	movl	8(%r12), %edi
	callq	_V_NEWTIMER
	orl	%eax, %ebx
	movq	(%r12), %rdi
	callq	_V_NEWINDEX
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_t3_write_reg
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A_SG_GTS,4,2                   ## @A_SG_GTS
	.no_dead_strip	_handle_responses
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_responses
_handle_responses:                      ; @handle_responses
	.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, x1
	mov	x19, x0
	mov	x0, x1
	bl	_rspq_to_qset
	mov	x21, x0
	ldr	x8, [x20, #16]
	ldr	x9, [x20]
	add	x22, x8, x9, lsl #2
	mov	x0, x22
	mov	x1, x20
	bl	_is_new_response
	cbz	w0, LBB0_4
; %bb.1:
	bl	_rmb
	mov	x0, x22
	bl	_is_pure_response
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_process_pure_responses
	cbz	x0, LBB0_5
LBB0_3:
	mov	x0, x21
	bl	_napi_schedule
	mov	w0, #1
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _A_SG_GTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_SG_GTS@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w0, [x20, #12]
	bl	_V_RSPQ
	mov	x22, x0
	ldr	w0, [x20, #8]
	bl	_V_NEWTIMER
	orr	w22, w0, w22
	ldr	x0, [x20]
	bl	_V_NEWINDEX
	orr	w2, w22, w0
	mov	x0, x19
	mov	x1, x21
	bl	_t3_write_reg
	mov	w0, #0
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_A_SG_GTS,4,2                   ; @A_SG_GTS
	.no_dead_strip	_handle_responses
.subsections_via_symbols
