	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_mp_write_session_response_write1
_on_mp_write_session_response_write1:   ## @on_mp_write_session_response_write1
	.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_mp_write_session_response_write1(%rip), %rdi
	callq	_TRACE_IN
	leaq	28(%rbx), %rdi
	callq	_get_cache_mp_write_session_response
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	*(%rbx)
	cmpl	$4, %eax
	jne	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_LOG_ERR_3
	movl	$-1, %r14d
	jmp	LBB0_6
LBB0_4:
	movq	_on_mp_write_session_mapper@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EVFILT_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	movl	$4, %ecx
LBB0_5:
	movl	%ecx, 8(%rbx)
	movq	%rax, 16(%rbx)
LBB0_6:
	leaq	_on_mp_write_session_response_write1(%rip), %rdi
	callq	_TRACE_OUT
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"on_mp_write_session_response_write1"

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

	.comm	_on_mp_write_session_mapper,8,3 ## @on_mp_write_session_mapper
	.comm	_EVFILT_READ,4,2                ## @EVFILT_READ
	.no_dead_strip	_on_mp_write_session_response_write1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_mp_write_session_response_write1
_on_mp_write_session_response_write1:   ; @on_mp_write_session_response_write1
	.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_write_session_response_write1@PAGE
Lloh1:
	add	x0, x0, _on_mp_write_session_response_write1@PAGEOFF
	bl	_TRACE_IN
	add	x0, x19, #28
	bl	_get_cache_mp_write_session_response
	mov	x20, x0
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	blr	x8
	cmp	w0, #4
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w9, #0
	mov	x8, #0
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_LOG_ERR_3
	mov	w20, #-1
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _on_mp_write_session_mapper@GOTPAGE
Lloh7:
	ldr	x8, [x8, _on_mp_write_session_mapper@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _EVFILT_READ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EVFILT_READ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w9, [x19, #24]
	mov	w9, #4
LBB0_5:
	mov	w20, #0
	str	w9, [x19, #8]
	str	x8, [x19, #16]
LBB0_6:
Lloh12:
	adrp	x0, _on_mp_write_session_response_write1@PAGE
Lloh13:
	add	x0, x0, _on_mp_write_session_response_write1@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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"on_mp_write_session_response_write1"

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

	.comm	_on_mp_write_session_mapper,8,3 ; @on_mp_write_session_mapper
	.comm	_EVFILT_READ,4,2                ; @EVFILT_READ
	.no_dead_strip	_on_mp_write_session_response_write1
.subsections_via_symbols
