	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_read_response_write2
_on_read_response_write2:               ## @on_read_response_write2
	.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
	movq	%rdi, %rbx
	leaq	_on_read_response_write2(%rip), %rdi
	callq	_TRACE_IN
	leaq	20(%rbx), %r14
	movq	%r14, %rdi
	callq	_get_cache_read_response
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	jle	LBB0_2
## %bb.1:
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	movslq	8(%rbx), %rcx
	movl	$-1, %r15d
	cmpq	%rcx, %rax
	jne	LBB0_3
LBB0_2:
	leaq	24(%rbx), %rdi
	callq	_finalize_comm_element
	movq	%r14, %rdi
	callq	_finalize_comm_element
	movl	$4, 8(%rbx)
	movq	_EVFILT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_on_rw_mapper@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	xorl	%r15d, %r15d
LBB0_3:
	leaq	_on_read_response_write2(%rip), %rdi
	callq	_TRACE_OUT
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVFILT_READ,4,2                ## @EVFILT_READ
	.comm	_on_rw_mapper,4,2               ## @on_rw_mapper
	.no_dead_strip	_on_read_response_write2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_read_response_write2
_on_read_response_write2:               ; @on_read_response_write2
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, _on_read_response_write2@PAGE
Lloh1:
	add	x0, x0, _on_read_response_write2@PAGEOFF
	bl	_TRACE_IN
	add	x20, x19, #20
	mov	x0, x20
	bl	_get_cache_read_response
	ldr	x2, [x0]
	cmp	x2, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w1, [x0, #8]
	mov	x0, x19
	blr	x8
	ldrsw	x8, [x19, #8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_2:
	add	x0, x19, #24
	bl	_finalize_comm_element
	mov	x0, x20
	bl	_finalize_comm_element
	mov	w20, #0
	mov	w8, #4
Lloh2:
	adrp	x9, _EVFILT_READ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EVFILT_READ@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	str	w9, [x19, #16]
Lloh5:
	adrp	x9, _on_rw_mapper@GOTPAGE
Lloh6:
	ldr	x9, [x9, _on_rw_mapper@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #8]
	b	LBB0_4
LBB0_3:
	mov	w20, #-1
LBB0_4:
Lloh8:
	adrp	x0, _on_read_response_write2@PAGE
Lloh9:
	add	x0, x0, _on_read_response_write2@PAGEOFF
	bl	_TRACE_OUT
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EVFILT_READ,4,2                ; @EVFILT_READ
	.comm	_on_rw_mapper,4,2               ; @on_rw_mapper
	.no_dead_strip	_on_read_response_write2
.subsections_via_symbols
