	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rev_body
_rev_body:                              ## @rev_body
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edi, %ebx
	movq	_bufsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_app_malloc
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_BIO_f_buffer
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_BIO_f_ssl
	movl	%eax, %edi
	callq	_BIO_new
	testq	%r12, %r12
	je	LBB0_53
## %bb.1:
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_53
## %bb.2:
	movq	_bufsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_BIO_set_write_buffer_size
	testl	%eax, %eax
	je	LBB0_53
## %bb.3:
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SSL_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_53
## %bb.4:
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	_s_tlsextdebug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_tlsext_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_SSL_set_tlsext_debug_callback
	movq	_bio_s_out@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_SSL_set_tlsext_debug_arg
LBB0_6:
	testq	%r15, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_SSL_set_session_id_context
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	movq	_BIO_NOCLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_BIO_new_socket
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%rax, %rdx
	callq	_SSL_set_bio
	movq	%rbx, %rdi
	callq	_SSL_set_accept_state
	movq	_BIO_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_BIO_set_ssl
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_BIO_push
	movq	_s_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_SSL_get_rbio
	movq	_bio_dump_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_BIO_set_callback
	movq	%rbx, %rdi
	callq	_SSL_get_rbio
	movq	_bio_s_out@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	%eax, %edi
	callq	_BIO_set_callback_arg
LBB0_11:
	movq	_s_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_18
## %bb.12:
	cmpl	$2, %eax
	jne	LBB0_14
## %bb.13:
	movq	_SSL_trace@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_msg_cb@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_SSL_set_msg_callback
	movq	_bio_s_msg@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	jne	LBB0_17
## %bb.16:
	movq	_bio_s_out@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_17:
	movq	%rbx, %rdi
	callq	_SSL_set_msg_callback_arg
LBB0_18:
	movq	%r12, %rdi
	callq	_BIO_do_handshake
	testl	%eax, %eax
	jle	LBB0_19
LBB0_28:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_print_ssl_summary
	movq	_bio_s_out@GOTPCREL(%rip), %r13
	movq	_srp_callback_parm@GOTPCREL(%rip), %r15
LBB0_29:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_50 Depth 2
	movq	_bufsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	decq	%rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_BIO_gets
	testl	%eax, %eax
	js	LBB0_30
## %bb.39:                              ##   in Loop: Header=BB0_29 Depth=1
	je	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	%eax, %ebx
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_42 Depth=2
	decq	%rbx
	testl	%ebx, %ebx
	je	LBB0_45
LBB0_42:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-1(%r14,%rbx), %eax
	cmpb	$13, %al
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=2
	cmpb	$10, %al
	je	LBB0_44
## %bb.46:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_s_ign_eof@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_49
## %bb.47:                              ##   in Loop: Header=BB0_29 Depth=1
	cmpl	$5, %ebx
	jne	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	$5, %ebx
	movq	%r14, %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_49
	jmp	LBB0_40
LBB0_45:                                ##   in Loop: Header=BB0_29 Depth=1
	xorl	%ebx, %ebx
LBB0_49:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_BUF_reverse
	movslq	%ebx, %rdx
	movb	$10, (%r14,%rdx)
	incl	%edx
	movq	%r12, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_BIO_write
	.p2align	4, 0x90
LBB0_50:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_BIO_flush
	testl	%eax, %eax
	jg	LBB0_29
## %bb.51:                              ##   in Loop: Header=BB0_50 Depth=2
	movq	%r12, %rdi
	callq	_BIO_should_retry
	testl	%eax, %eax
	jne	LBB0_50
	jmp	LBB0_52
LBB0_30:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r12, %rdi
	callq	_BIO_should_retry
	testl	%eax, %eax
	je	LBB0_31
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	(%r13), %rdi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%r12, %rdi
	callq	_BIO_should_io_special
	testq	%rax, %rax
	je	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%r12, %rdi
	callq	_BIO_get_retry_reason
	movq	_BIO_RR_SSL_X509_LOOKUP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	(%r13), %rdi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	(%r15), %rdi
	callq	_SRP_user_pwd_free
	movl	8(%r15), %esi
	movl	12(%r15), %edi
	callq	_SRP_VBASE_get1_by_user
	movq	%rax, (%r15)
	movq	(%r13), %rdi
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_29
LBB0_38:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	$1, %edi
	callq	_sleep
	jmp	LBB0_29
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=1
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_29
LBB0_19:
	movq	_BIO_RR_SSL_X509_LOOKUP@GOTPCREL(%rip), %rbx
	movq	_bio_s_out@GOTPCREL(%rip), %r13
	movq	_srp_callback_parm@GOTPCREL(%rip), %r15
	jmp	LBB0_20
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r12, %rdi
	callq	_BIO_do_handshake
	testl	%eax, %eax
	jg	LBB0_28
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_BIO_should_retry
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r12, %rdi
	callq	_BIO_should_io_special
	testq	%rax, %rax
	je	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r12, %rdi
	callq	_BIO_get_retry_reason
	cmpq	(%rbx), %rax
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	(%r15), %rdi
	callq	_SRP_user_pwd_free
	movl	8(%r15), %esi
	movl	12(%r15), %edi
	callq	_SRP_VBASE_get1_by_user
	movq	%rax, (%r15)
	movq	(%r13), %rdi
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_27
LBB0_8:
	movq	%rbx, %rdi
	callq	_SSL_free
LBB0_32:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ERR_print_errors
	jmp	LBB0_53
LBB0_21:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_BIO_puts
	movq	(%rbx), %rdi
	callq	_ERR_print_errors
	jmp	LBB0_52
LBB0_40:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_52:
	movq	_SSL_SENT_SHUTDOWN@GOTPCREL(%rip), %rax
	movq	_SSL_RECEIVED_SHUTDOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_SSL_set_shutdown
LBB0_53:
	movq	%r14, %rdi
	callq	_OPENSSL_free
	movq	%r12, %rdi
	callq	_BIO_free_all
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	_s_quiet@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_53
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_bufsize,8,3                    ## @bufsize
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"server rev buffer"

	.comm	_ctx,4,2                        ## @ctx
	.comm	_s_tlsextdebug,8,3              ## @s_tlsextdebug
	.comm	_tlsext_cb,4,2                  ## @tlsext_cb
	.comm	_bio_s_out,8,3                  ## @bio_s_out
	.comm	_bio_err,8,3                    ## @bio_err
	.comm	_BIO_NOCLOSE,4,2                ## @BIO_NOCLOSE
	.comm	_BIO_CLOSE,4,2                  ## @BIO_CLOSE
	.comm	_s_debug,8,3                    ## @s_debug
	.comm	_bio_dump_callback,4,2          ## @bio_dump_callback
	.comm	_s_msg,4,2                      ## @s_msg
	.comm	_SSL_trace,4,2                  ## @SSL_trace
	.comm	_msg_cb,4,2                     ## @msg_cb
	.comm	_bio_s_msg,8,3                  ## @bio_s_msg
L_.str.1:                               ## @.str.1
	.asciz	"CONNECTION FAILURE\n"

	.comm	_BIO_RR_SSL_X509_LOOKUP,8,3     ## @BIO_RR_SSL_X509_LOOKUP
L_.str.2:                               ## @.str.2
	.asciz	"LOOKUP renego during accept\n"

	.comm	_srp_callback_parm,16,3         ## @srp_callback_parm
L_.str.3:                               ## @.str.3
	.asciz	"LOOKUP done %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"LOOKUP not successful\n"

L_.str.5:                               ## @.str.5
	.asciz	"CONNECTION ESTABLISHED\n"

	.comm	_s_quiet,4,2                    ## @s_quiet
L_.str.6:                               ## @.str.6
	.asciz	"read R BLOCK\n"

L_.str.7:                               ## @.str.7
	.asciz	"LOOKUP renego during read\n"

L_.str.8:                               ## @.str.8
	.asciz	"CONNECTION CLOSED\n"

	.comm	_s_ign_eof,4,2                  ## @s_ign_eof
L_.str.9:                               ## @.str.9
	.asciz	"CLOSE"

	.comm	_SSL_SENT_SHUTDOWN,4,2          ## @SSL_SENT_SHUTDOWN
	.comm	_SSL_RECEIVED_SHUTDOWN,4,2      ## @SSL_RECEIVED_SHUTDOWN
	.no_dead_strip	_rev_body
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rev_body
_rev_body:                              ; @rev_body
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	mov	x22, x0
Lloh0:
	adrp	x28, _bufsize@GOTPAGE
Lloh1:
	ldr	x28, [x28, _bufsize@GOTPAGEOFF]
	ldr	x0, [x28]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_app_malloc
	mov	x19, x0
	bl	_BIO_f_buffer
	bl	_BIO_new
	mov	x20, x0
	bl	_BIO_f_ssl
	bl	_BIO_new
	cbz	x20, LBB0_45
; %bb.1:
	mov	x23, x0
	cbz	x0, LBB0_45
; %bb.2:
	ldr	x1, [x28]
	mov	x0, x20
	bl	_BIO_set_write_buffer_size
	cbz	w0, LBB0_45
; %bb.3:
Lloh4:
	adrp	x8, _ctx@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ctx@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_SSL_new
	cbz	x0, LBB0_45
; %bb.4:
	mov	x21, x0
Lloh7:
	adrp	x8, _s_tlsextdebug@GOTPAGE
Lloh8:
	ldr	x8, [x8, _s_tlsextdebug@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x25, _bio_s_out@GOTPAGE
Lloh11:
	ldr	x25, [x25, _bio_s_out@GOTPAGEOFF]
	cbz	x8, LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _tlsext_cb@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tlsext_cb@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_SSL_set_tlsext_debug_callback
	ldr	x1, [x25]
	mov	x0, x21
	bl	_SSL_set_tlsext_debug_arg
LBB0_6:
	cbz	x24, LBB0_8
; %bb.7:
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_SSL_set_session_id_context
	cbz	w0, LBB0_40
LBB0_8:
Lloh15:
	adrp	x8, _BIO_NOCLOSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BIO_NOCLOSE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_BIO_new_socket
	mov	x1, x0
	mov	x0, x21
	mov	x2, x1
	bl	_SSL_set_bio
	mov	x0, x21
	bl	_SSL_set_accept_state
Lloh18:
	adrp	x8, _BIO_CLOSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BIO_CLOSE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x21
	bl	_BIO_set_ssl
	mov	x0, x20
	mov	x1, x23
	bl	_BIO_push
Lloh21:
	adrp	x8, _s_debug@GOTPAGE
Lloh22:
	ldr	x8, [x8, _s_debug@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x21
	bl	_SSL_get_rbio
Lloh24:
	adrp	x8, _bio_dump_callback@GOTPAGE
Lloh25:
	ldr	x8, [x8, _bio_dump_callback@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_BIO_set_callback
	mov	x0, x21
	bl	_SSL_get_rbio
	ldr	x1, [x25]
	bl	_BIO_set_callback_arg
LBB0_10:
Lloh27:
	adrp	x8, _s_msg@GOTPAGE
Lloh28:
	ldr	x8, [x8, _s_msg@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cbz	w8, LBB0_12
; %bb.11:
Lloh30:
	adrp	x9, _SSL_trace@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SSL_trace@GOTPAGEOFF]
	cmp	w8, #2
Lloh32:
	adrp	x8, _msg_cb@GOTPAGE
Lloh33:
	ldr	x8, [x8, _msg_cb@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
	mov	x0, x21
	bl	_SSL_set_msg_callback
Lloh34:
	adrp	x8, _bio_s_msg@GOTPAGE
Lloh35:
	ldr	x8, [x8, _bio_s_msg@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	ldr	x9, [x25]
	cmp	x8, #0
	csel	x1, x9, x8, eq
	mov	x0, x21
	bl	_SSL_set_msg_callback_arg
LBB0_12:
	mov	x0, x20
	bl	_BIO_do_handshake
Lloh37:
	adrp	x26, _BIO_RR_SSL_X509_LOOKUP@GOTPAGE
Lloh38:
	ldr	x26, [x26, _BIO_RR_SSL_X509_LOOKUP@GOTPAGEOFF]
Lloh39:
	adrp	x23, _srp_callback_parm@GOTPAGE
Lloh40:
	ldr	x23, [x23, _srp_callback_parm@GOTPAGEOFF]
	cmp	w0, #0
	b.le	LBB0_31
LBB0_13:
Lloh41:
	adrp	x8, _bio_err@GOTPAGE
Lloh42:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh43:
	ldr	x0, [x8]
Lloh44:
	adrp	x1, l_.str.5@PAGE
Lloh45:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_BIO_printf
	mov	x0, x21
	bl	_print_ssl_summary
	sub	x24, x19, #1
	mov	w22, #10
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	ldr	x8, [x28]
	sub	x2, x8, #1
	mov	x0, x20
	mov	x1, x19
	bl	_BIO_gets
	tbnz	w0, #31, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	cbz	w0, LBB0_43
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w27, w0
LBB0_17:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x24, x27]
	cmp	w8, #13
	ccmp	w8, #10, #4, ne
	b.ne	LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	sub	x27, x27, #1
	cbnz	w27, LBB0_17
	b	LBB0_27
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	bl	_BIO_should_retry
	cbz	w0, LBB0_46
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x25]
Lloh46:
	adrp	x1, l_.str.6@PAGE
Lloh47:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_BIO_printf
	mov	x0, x20
	bl	_BIO_should_io_special
	cbz	x0, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	bl	_BIO_get_retry_reason
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [x25]
Lloh48:
	adrp	x1, l_.str.7@PAGE
Lloh49:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_BIO_printf
	ldr	x0, [x23]
	bl	_SRP_user_pwd_free
	ldp	w1, w0, [x23, #8]
	bl	_SRP_VBASE_get1_by_user
	mov	x8, x0
	str	x0, [x23]
	ldr	x0, [x25]
	cbz	x8, LBB0_30
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x8]
	str	x8, [sp]
Lloh50:
	adrp	x1, l_.str.3@PAGE
Lloh51:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_BIO_printf
	b	LBB0_14
LBB0_24:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	w0, #1
	bl	_sleep
	b	LBB0_14
LBB0_25:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh52:
	adrp	x8, _s_ign_eof@GOTPAGE
Lloh53:
	ldr	x8, [x8, _s_ign_eof@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	cmp	w8, #0
	ccmp	w27, #5, #0, eq
	b.ne	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w27, #5
	mov	x0, x19
Lloh55:
	adrp	x1, l_.str.9@PAGE
Lloh56:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_43
LBB0_27:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x19
	mov	x1, #0
	mov	x2, x27
	bl	_BUF_reverse
	strb	w22, [x19, w27, sxtw]
	add	w2, w27, #1
	mov	x0, x20
	mov	x1, x19
	bl	_BIO_write
LBB0_28:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_BIO_flush
	cmp	w0, #0
	b.gt	LBB0_14
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=2
	mov	x0, x20
	bl	_BIO_should_retry
	cbnz	w0, LBB0_28
	b	LBB0_44
LBB0_30:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh57:
	adrp	x1, l_.str.4@PAGE
Lloh58:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_BIO_printf
	b	LBB0_14
LBB0_31:
Lloh59:
	adrp	x22, l_.str.2@PAGE
Lloh60:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh61:
	adrp	x27, l_.str.4@PAGE
Lloh62:
	add	x27, x27, l_.str.4@PAGEOFF
Lloh63:
	adrp	x24, l_.str.3@PAGE
Lloh64:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_35
LBB0_32:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	x1, x27
LBB0_33:                                ;   in Loop: Header=BB0_35 Depth=1
	bl	_BIO_printf
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x20
	bl	_BIO_do_handshake
	cmp	w0, #1
	b.ge	LBB0_13
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_BIO_should_retry
	cbz	w0, LBB0_42
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x20
	bl	_BIO_should_io_special
	cbz	x0, LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x20
	bl	_BIO_get_retry_reason
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_34
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x0, [x25]
	mov	x1, x22
	bl	_BIO_printf
	ldr	x0, [x23]
	bl	_SRP_user_pwd_free
	ldp	w1, w0, [x23, #8]
	bl	_SRP_VBASE_get1_by_user
	mov	x8, x0
	str	x0, [x23]
	ldr	x0, [x25]
	cbz	x8, LBB0_32
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	w8, [x8]
	str	x8, [sp]
	mov	x1, x24
	b	LBB0_33
LBB0_40:
	mov	x0, x21
	bl	_SSL_free
LBB0_41:
Lloh65:
	adrp	x8, _bio_err@GOTPAGE
Lloh66:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh67:
	ldr	x0, [x8]
	bl	_ERR_print_errors
	b	LBB0_45
LBB0_42:
Lloh68:
	adrp	x22, _bio_err@GOTPAGE
Lloh69:
	ldr	x22, [x22, _bio_err@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh70:
	adrp	x1, l_.str.1@PAGE
Lloh71:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_puts
	ldr	x0, [x22]
	bl	_ERR_print_errors
	b	LBB0_44
LBB0_43:
Lloh72:
	adrp	x8, _bio_err@GOTPAGE
Lloh73:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh74:
	ldr	x0, [x8]
Lloh75:
	adrp	x1, l_.str.8@PAGE
Lloh76:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_BIO_printf
LBB0_44:
Lloh77:
	adrp	x8, _SSL_SENT_SHUTDOWN@GOTPAGE
Lloh78:
	ldr	x8, [x8, _SSL_SENT_SHUTDOWN@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
Lloh80:
	adrp	x9, _SSL_RECEIVED_SHUTDOWN@GOTPAGE
Lloh81:
	ldr	x9, [x9, _SSL_RECEIVED_SHUTDOWN@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x21
	bl	_SSL_set_shutdown
LBB0_45:
	mov	x0, x19
	bl	_OPENSSL_free
	mov	x0, x20
	bl	_BIO_free_all
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_46:
Lloh83:
	adrp	x8, _s_quiet@GOTPAGE
Lloh84:
	ldr	x8, [x8, _s_quiet@GOTPAGEOFF]
Lloh85:
	ldr	w8, [x8]
	cbnz	w8, LBB0_45
	b	LBB0_41
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.cfi_endproc
                                        ; -- End function
	.comm	_bufsize,8,3                    ; @bufsize
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"server rev buffer"

	.comm	_ctx,4,2                        ; @ctx
	.comm	_s_tlsextdebug,8,3              ; @s_tlsextdebug
	.comm	_tlsext_cb,4,2                  ; @tlsext_cb
	.comm	_bio_s_out,8,3                  ; @bio_s_out
	.comm	_bio_err,8,3                    ; @bio_err
	.comm	_BIO_NOCLOSE,4,2                ; @BIO_NOCLOSE
	.comm	_BIO_CLOSE,4,2                  ; @BIO_CLOSE
	.comm	_s_debug,8,3                    ; @s_debug
	.comm	_bio_dump_callback,4,2          ; @bio_dump_callback
	.comm	_s_msg,4,2                      ; @s_msg
	.comm	_SSL_trace,4,2                  ; @SSL_trace
	.comm	_msg_cb,4,2                     ; @msg_cb
	.comm	_bio_s_msg,8,3                  ; @bio_s_msg
l_.str.1:                               ; @.str.1
	.asciz	"CONNECTION FAILURE\n"

	.comm	_BIO_RR_SSL_X509_LOOKUP,8,3     ; @BIO_RR_SSL_X509_LOOKUP
l_.str.2:                               ; @.str.2
	.asciz	"LOOKUP renego during accept\n"

	.comm	_srp_callback_parm,16,3         ; @srp_callback_parm
l_.str.3:                               ; @.str.3
	.asciz	"LOOKUP done %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"LOOKUP not successful\n"

l_.str.5:                               ; @.str.5
	.asciz	"CONNECTION ESTABLISHED\n"

	.comm	_s_quiet,4,2                    ; @s_quiet
l_.str.6:                               ; @.str.6
	.asciz	"read R BLOCK\n"

l_.str.7:                               ; @.str.7
	.asciz	"LOOKUP renego during read\n"

l_.str.8:                               ; @.str.8
	.asciz	"CONNECTION CLOSED\n"

	.comm	_s_ign_eof,4,2                  ; @s_ign_eof
l_.str.9:                               ; @.str.9
	.asciz	"CLOSE"

	.comm	_SSL_SENT_SHUTDOWN,4,2          ; @SSL_SENT_SHUTDOWN
	.comm	_SSL_RECEIVED_SHUTDOWN,4,2      ; @SSL_RECEIVED_SHUTDOWN
	.no_dead_strip	_rev_body
.subsections_via_symbols
