	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_reneg_setup_step
_do_reneg_setup_step:                   ## @do_reneg_setup_step
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	movq	_PEER_SUCCESS@GOTPCREL(%rip), %rax
	movq	_PEER_RETRY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	(%rax), %rdi
	jne	LBB0_2
## %bb.1:
	movq	%rsi, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_handshake_step              ## TAILCALL
LBB0_2:
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_21
## %bb.3:
	movq	(%r14), %rcx
	movq	_SSL_TEST_HANDSHAKE_RENEG_SERVER@GOTPCREL(%rip), %r15
	movq	_SSL_TEST_HANDSHAKE_RENEG_CLIENT@GOTPCREL(%rip), %r12
	movq	_SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER@GOTPCREL(%rip), %r13
	movq	_SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT@GOTPCREL(%rip), %rdx
	movb	$1, %al
	cmpq	(%r15), %rcx
	je	LBB0_8
## %bb.4:
	cmpq	(%r12), %rcx
	je	LBB0_8
## %bb.5:
	cmpq	(%r13), %rcx
	je	LBB0_8
## %bb.6:
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.7:
	movq	_SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	sete	%al
LBB0_8:
	movzbl	%al, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_21
## %bb.9:
	movl	28(%r14), %eax
	movl	%eax, 16(%rbx)
	movl	%eax, 20(%rbx)
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_12
## %bb.10:
	movq	8(%rbx), %rdi
	callq	_SSL_is_server
	testl	%eax, %eax
	jne	LBB0_22
## %bb.11:
	movq	(%r14), %rax
LBB0_12:
	cmpq	(%r12), %rax
	jne	LBB0_15
## %bb.13:
	movq	8(%rbx), %rdi
	callq	_SSL_is_server
	testl	%eax, %eax
	je	LBB0_22
## %bb.14:
	movq	(%r14), %rax
LBB0_15:
	cmpq	(%r13), %rax
	je	LBB0_26
## %bb.16:
	movq	_SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_26
## %bb.17:
	movq	_SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.18:
	movq	8(%rbx), %rdi
	callq	_SSL_is_server
	testl	%eax, %eax
	je	LBB0_28
## %bb.19:
	cmpq	$0, 8(%r14)
	je	LBB0_37
## %bb.20:
	movq	_SSL_PHA_EXT_RECEIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rdi
	movl	%eax, (%rdi)
	jmp	LBB0_38
LBB0_21:
	movq	_PEER_TEST_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_22:
	movq	8(%rbx), %rdi
	callq	_SSL_renegotiate_pending
	testl	%eax, %eax
	je	LBB0_30
LBB0_23:
	movq	8(%rbx), %rdi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_SSL_read
	testl	%eax, %eax
	jns	LBB0_40
## %bb.24:
	movq	8(%rbx), %rdi
	movl	%eax, %esi
	callq	_SSL_get_error
	movq	_SSL_ERROR_WANT_READ@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_40
## %bb.25:
	movq	8(%rbx), %rdi
	callq	_SSL_in_init
	testl	%eax, %eax
	jne	LBB0_29
	jmp	LBB0_43
LBB0_26:
	movq	8(%rbx), %rdi
	callq	_SSL_is_server
	movq	(%r14), %rcx
	xorl	%edx, %edx
	cmpq	(%r13), %rcx
	sete	%dl
	cmpl	%edx, %eax
	jne	LBB0_29
## %bb.27:
	movq	8(%rbx), %rdi
	movl	24(%r14), %esi
	callq	_SSL_key_update
	testl	%eax, %eax
	jne	LBB0_28
	jmp	LBB0_40
LBB0_29:
	movq	_PEER_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_30:
	movq	8(%rbx), %rdi
	callq	_SSL_is_server
	testl	%eax, %eax
	je	LBB0_34
LBB0_31:
	movq	8(%rbx), %rdi
	callq	_SSL_renegotiate
	testl	%eax, %eax
	je	LBB0_40
LBB0_32:
	movq	%rbx, %rdi
	callq	_do_handshake_step
	movq	(%rbx), %rcx
	movq	_PEER_RETRY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PEER_SUCCESS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, %rcx
	jne	LBB0_36
## %bb.33:
	movq	%rdx, (%rbx)
	jmp	LBB0_43
LBB0_34:
	movq	16(%r14), %rsi
	movq	8(%rbx), %rdi
	testq	%rsi, %rsi
	je	LBB0_39
## %bb.35:
	callq	_SSL_set_cipher_list
	testl	%eax, %eax
	jne	LBB0_31
	jmp	LBB0_40
LBB0_36:
	cmpq	%rdx, %rcx
	je	LBB0_42
	jmp	LBB0_43
LBB0_37:
	movq	8(%rbx), %rdi
LBB0_38:
	callq	_SSL_verify_client_post_handshake
	testl	%eax, %eax
	je	LBB0_40
LBB0_28:
	movq	%rbx, %rdi
	callq	_do_handshake_step
	movq	(%rbx), %rax
	movq	_PEER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_43
LBB0_40:
	movq	_PEER_ERROR@GOTPCREL(%rip), %rax
LBB0_41:
	movq	(%rax), %rax
LBB0_42:
	movq	%rax, (%rbx)
LBB0_43:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	callq	_SSL_renegotiate_abbreviated
	testl	%eax, %eax
	jne	LBB0_32
	jmp	LBB0_40
	.cfi_endproc
                                        ## -- End function
	.comm	_PEER_SUCCESS,8,3               ## @PEER_SUCCESS
	.comm	_PEER_RETRY,8,3                 ## @PEER_RETRY
	.comm	_SSL_TEST_HANDSHAKE_RENEG_SERVER,8,3 ## @SSL_TEST_HANDSHAKE_RENEG_SERVER
	.comm	_SSL_TEST_HANDSHAKE_RENEG_CLIENT,8,3 ## @SSL_TEST_HANDSHAKE_RENEG_CLIENT
	.comm	_SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER,8,3 ## @SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER
	.comm	_SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT,8,3 ## @SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT
	.comm	_SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH,8,3 ## @SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH
	.comm	_PEER_TEST_FAILURE,8,3          ## @PEER_TEST_FAILURE
	.comm	_PEER_ERROR,8,3                 ## @PEER_ERROR
	.comm	_SSL_PHA_EXT_RECEIVED,4,2       ## @SSL_PHA_EXT_RECEIVED
	.comm	_SSL_ERROR_WANT_READ,4,2        ## @SSL_ERROR_WANT_READ
	.no_dead_strip	_do_reneg_setup_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_reneg_setup_step
_do_reneg_setup_step:                   ; @do_reneg_setup_step
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _PEER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PEER_SUCCESS@GOTPAGEOFF]
	ldr	x0, [x1]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _PEER_RETRY@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PEER_RETRY@GOTPAGEOFF]
	ldr	x1, [x22]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	str	x1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_do_handshake_step
LBB0_2:
	bl	_TEST_int_eq
	cbz	w0, LBB0_18
; %bb.3:
	ldr	x8, [x20]
Lloh4:
	adrp	x26, _SSL_TEST_HANDSHAKE_RENEG_SERVER@GOTPAGE
Lloh5:
	ldr	x26, [x26, _SSL_TEST_HANDSHAKE_RENEG_SERVER@GOTPAGEOFF]
Lloh6:
	adrp	x25, _SSL_TEST_HANDSHAKE_RENEG_CLIENT@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SSL_TEST_HANDSHAKE_RENEG_CLIENT@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	x10, [x25]
Lloh8:
	adrp	x23, _SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER@GOTPAGE
Lloh9:
	ldr	x23, [x23, _SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER@GOTPAGEOFF]
Lloh10:
	adrp	x24, _SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT@GOTPAGE
Lloh11:
	ldr	x24, [x24, _SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT@GOTPAGEOFF]
	ldr	x11, [x23]
	ldr	x12, [x24]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	b.ne	LBB0_17
; %bb.4:
	mov	w0, #1
	bl	_TEST_true
	cbz	w0, LBB0_18
LBB0_5:
	ldr	w8, [x20, #28]
	stp	w8, w8, [x19, #16]
	ldr	x8, [x20]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x0, [x19, #8]
	bl	_SSL_is_server
	cbnz	w0, LBB0_19
; %bb.7:
	ldr	x8, [x20]
LBB0_8:
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
	ldr	x0, [x19, #8]
	bl	_SSL_is_server
	cbz	w0, LBB0_19
; %bb.10:
	ldr	x8, [x20]
LBB0_11:
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_23
; %bb.12:
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_23
; %bb.13:
Lloh12:
	adrp	x9, _SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.14:
	ldr	x0, [x19, #8]
	bl	_SSL_is_server
	cbz	w0, LBB0_35
; %bb.15:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_33
; %bb.16:
Lloh15:
	adrp	x8, _SSL_PHA_EXT_RECEIVED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_PHA_EXT_RECEIVED@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	x0, [x19, #8]
	str	w8, [x0]
	b	LBB0_34
LBB0_17:
Lloh18:
	adrp	x9, _SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_TEST_true
	cbnz	w0, LBB0_5
LBB0_18:
Lloh21:
	adrp	x8, _PEER_TEST_FAILURE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PEER_TEST_FAILURE@GOTPAGEOFF]
	b	LBB0_37
LBB0_19:
	ldr	x0, [x19, #8]
	bl	_SSL_renegotiate_pending
	cbz	w0, LBB0_26
LBB0_20:
	ldr	x0, [x19, #8]
	add	x1, sp, #15
	mov	w2, #1
	bl	_SSL_read
	tbz	w0, #31, LBB0_36
; %bb.21:
	mov	x1, x0
	ldr	x0, [x19, #8]
	bl	_SSL_get_error
Lloh23:
	adrp	x8, _SSL_ERROR_WANT_READ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSL_ERROR_WANT_READ@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_36
; %bb.22:
	ldr	x0, [x19, #8]
	bl	_SSL_in_init
	cbnz	w0, LBB0_25
	b	LBB0_39
LBB0_23:
	ldr	x0, [x19, #8]
	bl	_SSL_is_server
	ldr	x8, [x20]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w8, eq
	cmp	w0, w8
	b.ne	LBB0_25
; %bb.24:
	ldr	x0, [x19, #8]
	ldr	w1, [x20, #24]
	bl	_SSL_key_update
	cbnz	w0, LBB0_35
	b	LBB0_36
LBB0_25:
	ldr	x8, [x21]
	b	LBB0_38
LBB0_26:
	ldr	x0, [x19, #8]
	bl	_SSL_is_server
	cbz	w0, LBB0_30
LBB0_27:
	ldr	x0, [x19, #8]
	bl	_SSL_renegotiate
	cbz	w0, LBB0_36
LBB0_28:
	mov	x0, x19
	bl	_do_handshake_step
	ldr	x10, [x19]
	ldr	x8, [x22]
	ldr	x9, [x21]
	cmp	x10, x8
	b.ne	LBB0_32
; %bb.29:
	str	x9, [x19]
	b	LBB0_39
LBB0_30:
	ldr	x1, [x20, #16]
	ldr	x0, [x19, #8]
	cbz	x1, LBB0_40
; %bb.31:
	bl	_SSL_set_cipher_list
	cbnz	w0, LBB0_27
	b	LBB0_36
LBB0_32:
	cmp	x10, x9
	b.eq	LBB0_38
	b	LBB0_39
LBB0_33:
	ldr	x0, [x19, #8]
LBB0_34:
	bl	_SSL_verify_client_post_handshake
	cbz	w0, LBB0_36
LBB0_35:
	mov	x0, x19
	bl	_do_handshake_step
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_39
LBB0_36:
Lloh26:
	adrp	x8, _PEER_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PEER_ERROR@GOTPAGEOFF]
LBB0_37:
	ldr	x8, [x8]
LBB0_38:
	str	x8, [x19]
LBB0_39:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_40:
	bl	_SSL_renegotiate_abbreviated
	cbnz	w0, LBB0_28
	b	LBB0_36
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_PEER_SUCCESS,8,3               ; @PEER_SUCCESS
	.comm	_PEER_RETRY,8,3                 ; @PEER_RETRY
	.comm	_SSL_TEST_HANDSHAKE_RENEG_SERVER,8,3 ; @SSL_TEST_HANDSHAKE_RENEG_SERVER
	.comm	_SSL_TEST_HANDSHAKE_RENEG_CLIENT,8,3 ; @SSL_TEST_HANDSHAKE_RENEG_CLIENT
	.comm	_SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER,8,3 ; @SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER
	.comm	_SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT,8,3 ; @SSL_TEST_HANDSHAKE_KEY_UPDATE_CLIENT
	.comm	_SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH,8,3 ; @SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH
	.comm	_PEER_TEST_FAILURE,8,3          ; @PEER_TEST_FAILURE
	.comm	_PEER_ERROR,8,3                 ; @PEER_ERROR
	.comm	_SSL_PHA_EXT_RECEIVED,4,2       ; @SSL_PHA_EXT_RECEIVED
	.comm	_SSL_ERROR_WANT_READ,4,2        ; @SSL_ERROR_WANT_READ
	.no_dead_strip	_do_reneg_setup_step
.subsections_via_symbols
