	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ssl_send_flight_completed ## -- Begin function mbedtls_ssl_send_flight_completed
	.p2align	4, 0x90
_mbedtls_ssl_send_flight_completed:     ## @mbedtls_ssl_send_flight_completed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ssl_reset_retransmit_timeout
	movq	16(%rbx), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	_ssl_set_timer
	movq	(%rbx), %rax
	movq	_MBEDTLS_SSL_MSG_HANDSHAKE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	_MBEDTLS_SSL_HS_FINISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_MBEDTLS_SSL_RETRANS_FINISHED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_MBEDTLS_SSL_RETRANS_WAITING@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_SSL_MSG_HANDSHAKE,8,3  ## @MBEDTLS_SSL_MSG_HANDSHAKE
	.comm	_MBEDTLS_SSL_HS_FINISHED,8,3    ## @MBEDTLS_SSL_HS_FINISHED
	.comm	_MBEDTLS_SSL_RETRANS_FINISHED,4,2 ## @MBEDTLS_SSL_RETRANS_FINISHED
	.comm	_MBEDTLS_SSL_RETRANS_WAITING,4,2 ## @MBEDTLS_SSL_RETRANS_WAITING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_ssl_send_flight_completed ; -- Begin function mbedtls_ssl_send_flight_completed
	.p2align	2
_mbedtls_ssl_send_flight_completed:     ; @mbedtls_ssl_send_flight_completed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ssl_reset_retransmit_timeout
	ldr	x8, [x19, #16]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_ssl_set_timer
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _MBEDTLS_SSL_MSG_HANDSHAKE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MBEDTLS_SSL_MSG_HANDSHAKE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MBEDTLS_SSL_HS_FINISHED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MBEDTLS_SSL_HS_FINISHED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _MBEDTLS_SSL_RETRANS_FINISHED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MBEDTLS_SSL_RETRANS_FINISHED@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _MBEDTLS_SSL_RETRANS_WAITING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MBEDTLS_SSL_RETRANS_WAITING@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_SSL_MSG_HANDSHAKE,8,3  ; @MBEDTLS_SSL_MSG_HANDSHAKE
	.comm	_MBEDTLS_SSL_HS_FINISHED,8,3    ; @MBEDTLS_SSL_HS_FINISHED
	.comm	_MBEDTLS_SSL_RETRANS_FINISHED,4,2 ; @MBEDTLS_SSL_RETRANS_FINISHED
	.comm	_MBEDTLS_SSL_RETRANS_WAITING,4,2 ; @MBEDTLS_SSL_RETRANS_WAITING
.subsections_via_symbols
