	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_flight_append
_ssl_flight_append:                     ## @ssl_flight_append
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$1, %edi
	movl	$32, %esi
	callq	_mbedtls_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movl	(%rbx), %esi
	movl	$1, %edi
	callq	_mbedtls_calloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%rax, %rdi
	callq	_memcpy
	movl	(%rbx), %eax
	movl	%eax, 8(%r14)
	movl	16(%rbx), %eax
	movl	%eax, 24(%r14)
	movq	$0, 16(%r14)
	movq	8(%rbx), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:
	movq	%r14, 16(%rcx)
	jmp	LBB0_9
LBB0_1:
	movl	$32, %esi
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	jmp	LBB0_2
LBB0_4:
	movslq	(%rbx), %rsi
	movl	$1, %edi
	callq	_MBEDTLS_SSL_DEBUG_MSG
	movq	%r14, %rdi
	callq	_mbedtls_free
LBB0_2:
	movq	_MBEDTLS_ERR_SSL_ALLOC_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_10
LBB0_6:
	movq	%r14, (%rcx)
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_SSL_ALLOC_FAILED,4,2 ## @MBEDTLS_ERR_SSL_ALLOC_FAILED
	.no_dead_strip	_ssl_flight_append
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_flight_append
_ssl_flight_append:                     ; @ssl_flight_append
	.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	x20, x0
	mov	w0, #1
	mov	w1, #32
	bl	_mbedtls_calloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w1, [x20]
	mov	w0, #1
	bl	_mbedtls_calloc
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w1, [x20, #20]
	ldr	w2, [x20]
	bl	_memcpy
	ldr	w8, [x20]
	str	w8, [x19, #8]
	ldr	w8, [x20, #16]
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
	ldr	x9, [x20, #8]
	ldr	x8, [x9]
	cbz	x8, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_3
; %bb.4:
	mov	w0, #0
	str	x19, [x9, #16]
	b	LBB0_9
LBB0_5:
	mov	w0, #1
	mov	w1, #32
	bl	_MBEDTLS_SSL_DEBUG_MSG
	b	LBB0_7
LBB0_6:
	ldrsw	x1, [x20]
	mov	w0, #1
	bl	_MBEDTLS_SSL_DEBUG_MSG
	mov	x0, x19
	bl	_mbedtls_free
LBB0_7:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_SSL_ALLOC_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_ALLOC_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_9
LBB0_8:
	mov	w0, #0
	str	x19, [x9]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_SSL_ALLOC_FAILED,4,2 ; @MBEDTLS_ERR_SSL_ALLOC_FAILED
	.no_dead_strip	_ssl_flight_append
.subsections_via_symbols
