	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evrpc_reply_done_closure
_evrpc_reply_done_closure:              ## @evrpc_reply_done_closure
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	40(%rdi), %r14
	movq	48(%rdi), %r15
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r15, -40(%rbp)
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	movq	_EVRPC_TERMINATE@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_EVRPC_STATUS_ERR_HOOKABORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_EVRPC_STATUS_ERR_TIMEOUT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movl	12(%rbx), %edi
	movl	(%r15), %esi
	callq	*(%rbx)
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.5:
	movq	_EVRPC_STATUS_ERR_BADPAYLOAD@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	12(%rbx), %edi
	callq	*32(%rbx)
LBB0_7:
	movl	16(%rbx), %esi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	leaq	-48(%rbp), %rdi
	callq	*24(%rbx)
	movq	%rbx, %rdi
	callq	_evrpc_request_wrapper_free
	testq	%r15, %r15
	je	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	callq	_evhttp_request_is_owned
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_evhttp_request_free
LBB0_10:
	movq	%r14, %rdi
	callq	_evrpc_pool_schedule
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVRPC_STATUS_ERR_TIMEOUT,4,2   ## @EVRPC_STATUS_ERR_TIMEOUT
	.comm	_EVRPC_TERMINATE,4,2            ## @EVRPC_TERMINATE
	.comm	_EVRPC_STATUS_ERR_HOOKABORTED,4,2 ## @EVRPC_STATUS_ERR_HOOKABORTED
	.comm	_EVRPC_STATUS_ERR_BADPAYLOAD,4,2 ## @EVRPC_STATUS_ERR_BADPAYLOAD
	.no_dead_strip	_evrpc_reply_done_closure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evrpc_reply_done_closure
_evrpc_reply_done_closure:              ; @evrpc_reply_done_closure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x1
	mov	x21, x0
	ldp	x19, x20, [x0, #40]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	x20, [sp, #8]
	cbz	x20, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EVRPC_TERMINATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVRPC_TERMINATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _EVRPC_STATUS_ERR_HOOKABORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVRPC_STATUS_ERR_HOOKABORTED@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _EVRPC_STATUS_ERR_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVRPC_STATUS_ERR_TIMEOUT@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	x8, [x21]
	ldr	w0, [x21, #12]
	ldr	w1, [x20]
	blr	x8
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.5:
Lloh7:
	adrp	x8, _EVRPC_STATUS_ERR_BADPAYLOAD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVRPC_STATUS_ERR_BADPAYLOAD@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	str	w8, [sp]
	ldr	x8, [x21, #32]
	ldr	w0, [x21, #12]
	blr	x8
LBB0_7:
	ldr	x8, [x21, #24]
	ldp	w2, w1, [x21, #12]
	ldr	w3, [x21, #8]
	mov	x0, sp
	blr	x8
	mov	x0, x21
	bl	_evrpc_request_wrapper_free
	cbz	x20, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_evhttp_request_is_owned
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_evhttp_request_free
LBB0_10:
	mov	x0, x19
	bl	_evrpc_pool_schedule
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EVRPC_STATUS_ERR_TIMEOUT,4,2   ; @EVRPC_STATUS_ERR_TIMEOUT
	.comm	_EVRPC_TERMINATE,4,2            ; @EVRPC_TERMINATE
	.comm	_EVRPC_STATUS_ERR_HOOKABORTED,4,2 ; @EVRPC_STATUS_ERR_HOOKABORTED
	.comm	_EVRPC_STATUS_ERR_BADPAYLOAD,4,2 ; @EVRPC_STATUS_ERR_BADPAYLOAD
	.no_dead_strip	_evrpc_reply_done_closure
.subsections_via_symbols
