	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_mp_read_session_read_response_write2
_on_mp_read_session_read_response_write2: ## @on_mp_read_session_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	_on_mp_read_session_read_response_write2(%rip), %rdi
	callq	_TRACE_IN
	leaq	24(%rbx), %r14
	movq	%r14, %rdi
	callq	_get_cache_mp_read_session_read_response
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	*(%rbx)
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	cmpq	8(%rbx), %rax
	jne	LBB0_2
## %bb.3:
	leaq	28(%rbx), %rdi
	callq	_finalize_comm_element
	movq	%r14, %rdi
	callq	_finalize_comm_element
	movq	$4, 8(%rbx)
	movq	_on_mp_read_session_mapper@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_EVFILT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_LOG_ERR_3
	movl	$-1, %ebx
LBB0_4:
	leaq	_on_mp_read_session_read_response_write2(%rip), %rdi
	callq	_TRACE_OUT
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"on_mp_read_session_read_response_write2"

L_.str.1:                               ## @.str.1
	.asciz	"write failed"

	.comm	_on_mp_read_session_mapper,4,2  ## @on_mp_read_session_mapper
	.comm	_EVFILT_READ,4,2                ## @EVFILT_READ
	.no_dead_strip	_on_mp_read_session_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_mp_read_session_read_response_write2
_on_mp_read_session_read_response_write2: ; @on_mp_read_session_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_mp_read_session_read_response_write2@PAGE
Lloh1:
	add	x0, x0, _on_mp_read_session_read_response_write2@PAGEOFF
	bl	_TRACE_IN
	add	x20, x19, #24
	mov	x0, x20
	bl	_get_cache_mp_read_session_read_response
	ldr	x8, [x19]
	ldp	w2, w1, [x0]
	mov	x0, x19
	blr	x8
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	add	x0, x19, #28
	bl	_finalize_comm_element
	mov	x0, x20
	bl	_finalize_comm_element
	mov	w20, #0
	mov	w8, #4
	str	x8, [x19, #8]
Lloh2:
	adrp	x8, _on_mp_read_session_mapper@GOTPAGE
Lloh3:
	ldr	x8, [x8, _on_mp_read_session_mapper@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _EVFILT_READ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EVFILT_READ@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_LOG_ERR_3
	mov	w20, #-1
LBB0_4:
Lloh12:
	adrp	x0, _on_mp_read_session_read_response_write2@PAGE
Lloh13:
	add	x0, x0, _on_mp_read_session_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	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"on_mp_read_session_read_response_write2"

l_.str.1:                               ; @.str.1
	.asciz	"write failed"

	.comm	_on_mp_read_session_mapper,4,2  ; @on_mp_read_session_mapper
	.comm	_EVFILT_READ,4,2                ; @EVFILT_READ
	.no_dead_strip	_on_mp_read_session_read_response_write2
.subsections_via_symbols
