	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_handle_possible_reconnect
_ssl_handle_possible_reconnect:         ## @ssl_handle_possible_reconnect
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movl	8(%rax), %edi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movl	28(%rbx), %ecx
	movl	24(%rbx), %r8d
	movl	20(%rbx), %r9d
	movl	(%rbx), %r11d
	movl	16(%rbx), %r10d
	movq	_MBEDTLS_SSL_MAX_CONTENT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-32(%rbp), %r14
	pushq	%r14
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_ssl_check_dtls_clihlo_cookie
	addq	$32, %rsp
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %edx
	callq	_MBEDTLS_SSL_DEBUG_RET
	movq	_MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r14d
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	-32(%rbp), %rdx
	callq	*8(%rbx)
	movl	(%r15), %r14d
	jmp	LBB0_6
LBB0_2:
	testl	%r14d, %r14d
	jne	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ssl_session_reset_int
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%eax, %edx
	callq	_MBEDTLS_SSL_DEBUG_RET
	jmp	LBB0_6
LBB0_5:
	movq	_MBEDTLS_ERR_SSL_CLIENT_RECONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_SSL_MAX_CONTENT_LEN,4,2 ## @MBEDTLS_SSL_MAX_CONTENT_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ssl_check_dtls_clihlo_cookie"

	.comm	_MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED,4,2 ## @MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED
L_.str.1:                               ## @.str.1
	.asciz	"reset"

	.comm	_MBEDTLS_ERR_SSL_CLIENT_RECONNECT,4,2 ## @MBEDTLS_ERR_SSL_CLIENT_RECONNECT
	.no_dead_strip	_ssl_handle_possible_reconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_handle_possible_reconnect
_ssl_handle_possible_reconnect:         ; @ssl_handle_possible_reconnect
	.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
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldp	w1, w0, [x8, #4]
	ldr	w2, [x8]
	ldp	w4, w3, [x19, #24]
	ldp	w6, w5, [x19, #16]
	ldr	w7, [x19]
Lloh0:
	adrp	x8, _MBEDTLS_SSL_MAX_CONTENT_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_SSL_MAX_CONTENT_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x9, sp, #24
	str	x9, [sp, #8]
	str	w8, [sp]
	bl	_ssl_check_dtls_clihlo_cookie
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x20
	bl	_MBEDTLS_SSL_DEBUG_RET
Lloh5:
	adrp	x21, _MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED@GOTPAGE
Lloh6:
	ldr	x21, [x21, _MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w20, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldp	w1, w0, [x19]
	ldr	x2, [sp, #24]
	blr	x8
	ldr	w20, [x21]
	b	LBB0_6
LBB0_2:
	cbnz	w20, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	bl	_ssl_session_reset_int
	cbz	w0, LBB0_5
; %bb.4:
	mov	x20, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	bl	_MBEDTLS_SSL_DEBUG_RET
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _MBEDTLS_ERR_SSL_CLIENT_RECONNECT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_CLIENT_RECONNECT@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
LBB0_6:
	mov	x0, x20
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_SSL_MAX_CONTENT_LEN,4,2 ; @MBEDTLS_SSL_MAX_CONTENT_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ssl_check_dtls_clihlo_cookie"

	.comm	_MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED,4,2 ; @MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED
l_.str.1:                               ; @.str.1
	.asciz	"reset"

	.comm	_MBEDTLS_ERR_SSL_CLIENT_RECONNECT,4,2 ; @MBEDTLS_ERR_SSL_CLIENT_RECONNECT
	.no_dead_strip	_ssl_handle_possible_reconnect
.subsections_via_symbols
