	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_client_timeout
_rpc_client_timeout:                    ## @rpc_client_timeout
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-36(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_rpc_setup
	movl	-36(%rbp), %edi
	callq	_rpc_pool_with_connection
	movq	%rax, %r14
	movl	%r14d, %edi
	callq	_tt_assert
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_evrpc_pool_set_timeout
	xorl	%eax, %eax
	callq	_msg_new
	movq	%rax, %rbx
	movl	%ebx, %edi
	callq	_tt_assert
	movq	_from_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_EVTAG_ASSIGN
	movq	_to_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_EVTAG_ASSIGN
	xorl	%eax, %eax
	callq	_kill_new
	movq	%rax, %r15
	movq	_NeverReply@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GotErrorCb@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	xorl	%r9d, %r9d
	callq	_EVRPC_MAKE_REQUEST
	movq	_test_ok@GOTPCREL(%rip), %r12
	movl	$0, (%r12)
	xorl	%eax, %eax
	callq	_event_dispatch
	movq	_saved_rpc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EVRPC_REQUEST_DONE
	movq	-48(%rbp), %rdi
	callq	_rpc_teardown
	xorl	%edi, %edi
	cmpl	$2, (%r12)
	sete	%dil
	callq	_tt_assert
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_msg_free
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_kill_free
LBB0_4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_evrpc_pool_free
LBB0_6:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_evhttp_free
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_from_name,4,2                  ## @from_name
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"niels"

	.comm	_to_name,4,2                    ## @to_name
L_.str.1:                               ## @.str.1
	.asciz	"tester"

	.comm	_NeverReply,4,2                 ## @NeverReply
	.comm	_GotErrorCb,4,2                 ## @GotErrorCb
	.comm	_test_ok,4,2                    ## @test_ok
	.comm	_saved_rpc,4,2                  ## @saved_rpc
	.no_dead_strip	_rpc_client_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_client_timeout
_rpc_client_timeout:                    ; @rpc_client_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	stp	xzr, xzr, [sp, #8]
	add	x0, sp, #16
	add	x1, sp, #28
	add	x2, sp, #8
	bl	_rpc_setup
	ldr	w0, [sp, #28]
	bl	_rpc_pool_with_connection
	mov	x19, x0
	bl	_tt_assert
	mov	x0, x19
	mov	w1, #1
	bl	_evrpc_pool_set_timeout
	bl	_msg_new
	mov	x20, x0
	bl	_tt_assert
Lloh0:
	adrp	x8, _from_name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _from_name@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_EVTAG_ASSIGN
Lloh5:
	adrp	x8, _to_name@GOTPAGE
Lloh6:
	ldr	x8, [x8, _to_name@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_EVTAG_ASSIGN
	bl	_kill_new
	mov	x21, x0
Lloh10:
	adrp	x8, _NeverReply@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NeverReply@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _GotErrorCb@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GotErrorCb@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	x5, #0
	bl	_EVRPC_MAKE_REQUEST
Lloh16:
	adrp	x22, _test_ok@GOTPAGE
Lloh17:
	ldr	x22, [x22, _test_ok@GOTPAGEOFF]
	str	wzr, [x22]
	bl	_event_dispatch
Lloh18:
	adrp	x8, _saved_rpc@GOTPAGE
Lloh19:
	ldr	x8, [x8, _saved_rpc@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_EVRPC_REQUEST_DONE
	ldr	x0, [sp, #8]
	bl	_rpc_teardown
	ldr	w8, [x22]
	cmp	w8, #2
	cset	w0, eq
	bl	_tt_assert
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_msg_free
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_kill_free
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_evrpc_pool_free
LBB0_6:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_evhttp_free
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_from_name,4,2                  ; @from_name
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"niels"

	.comm	_to_name,4,2                    ; @to_name
l_.str.1:                               ; @.str.1
	.asciz	"tester"

	.comm	_NeverReply,4,2                 ; @NeverReply
	.comm	_GotErrorCb,4,2                 ; @GotErrorCb
	.comm	_test_ok,4,2                    ; @test_ok
	.comm	_saved_rpc,4,2                  ; @saved_rpc
	.no_dead_strip	_rpc_client_timeout
.subsections_via_symbols
