	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jump_handshake
_jump_handshake:                        ## @jump_handshake
	.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
	movl	%esi, %r13d
	movq	%rdi, %rbx
	leaq	48(%rdi), %r14
	leaq	-48(%rbp), %r15
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_recvpld_buf
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	movq	_BR_SSL_APPLICATION_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, -48(%rbp)
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_sendpld_buf
	movq	%rax, 40(%rbx)
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_br_ssl_engine_has_pld_to_send
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, -56(%rbp)
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	-56(%rbp), %rax
	movq	%rax, 16(%rbx)
	movl	%r13d, 24(%rbx)
	movq	%r14, %rdi
	callq	*56(%rbx)
	movq	%rbx, %rdi
	callq	_br_ssl_engine_closed
	testq	%rax, %rax
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	40(%rbx), %rsi
	subq	32(%rbx), %rsi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	sarq	$2, %rsi
	movq	%rbx, %rdi
	callq	_sendpld_ack
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rsi
	subq	8(%rbx), %rsi
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_recvpld_ack
	cmpq	$0, 8(%rbx)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_1
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_SSL_APPLICATION_DATA,8,3    ## @BR_SSL_APPLICATION_DATA
	.no_dead_strip	_jump_handshake
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jump_handshake
_jump_handshake:                        ; @jump_handshake
	.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	x21, x1
	mov	x19, x0
	add	x20, x0, #48
Lloh0:
	adrp	x22, _BR_SSL_APPLICATION_DATA@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BR_SSL_APPLICATION_DATA@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_recvpld_buf
	str	x0, [x19, #64]
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	str	xzr, [sp, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, sp
	mov	x0, x19
	bl	_sendpld_buf
	stp	x0, x0, [x19, #32]
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_br_ssl_engine_has_pld_to_send
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	str	xzr, [sp]
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldp	x9, x8, [sp]
	stp	x8, x9, [x19, #8]
	str	w21, [x19, #24]
	ldr	x8, [x19, #56]
	mov	x0, x20
	blr	x8
	mov	x0, x19
	bl	_br_ssl_engine_closed
	cbnz	x0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldp	x9, x8, [x19, #32]
	subs	x8, x8, x9
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	asr	x1, x8, #2
	mov	x0, x19
	bl	_sendpld_ack
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	subs	x1, x8, x9
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_recvpld_ack
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w21, #0
	b	LBB0_1
LBB0_13:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_SSL_APPLICATION_DATA,8,3    ; @BR_SSL_APPLICATION_DATA
	.no_dead_strip	_jump_handshake
.subsections_via_symbols
