	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_prf_generic
_tls_prf_generic:                       ## @tls_prf_generic
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -192(%rbp)                 ## 8-byte Spill
	movq	%r8, -200(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, -248(%rbp)                ## 8-byte Spill
	movq	%rsi, -240(%rbp)                ## 8-byte Spill
	movl	%edi, %r14d
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MBEDTLS_MD_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -208(%rbp)                ## 8-byte Spill
	leaq	-180(%rbp), %rdi
	callq	_mbedtls_md_init
	movl	%r14d, %edi
	callq	_mbedtls_md_info_from_type
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, -232(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	callq	_mbedtls_md_get_size
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	-192(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax), %rcx
	leaq	(%rcx,%r14), %rax
	movq	%rax, -256(%rbp)                ## 8-byte Spill
	cmpq	$129, %rax
	jb	LBB0_4
## %bb.3:
	movq	_MBEDTLS_ERR_SSL_BAD_INPUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_1:
	movq	_MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_4:
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	leaq	(%r14,%rbp), %rdi
	addq	$-176, %rdi
	movq	%r12, %rsi
	movq	%rdi, %r12
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_memcpy
	addq	%r12, %rbx
	movq	%rbx, %rdi
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_memcpy
	leaq	-180(%rbp), %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_mbedtls_md_setup
	testl	%eax, %eax
	jne	LBB0_15
## %bb.5:
	movq	%r14, -192(%rbp)                ## 8-byte Spill
	movq	%r15, -216(%rbp)                ## 8-byte Spill
	movq	24(%rbp), %r15
	leaq	-180(%rbp), %rbx
	movq	%rbx, %rdi
	movq	-240(%rbp), %rsi                ## 8-byte Reload
	movq	-248(%rbp), %rdx                ## 8-byte Reload
	callq	_mbedtls_md_hmac_starts
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-224(%rbp), %rdx                ## 8-byte Reload
	callq	_mbedtls_md_hmac_update
	leaq	-176(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_mbedtls_md_hmac_finish
	testq	%r15, %r15
	je	LBB0_14
## %bb.6:
	movq	%r15, %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rax
	orq	-192(%rbp), %rax                ## 8-byte Folded Reload
	shrq	$32, %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rcx, %r13
	jae	LBB0_14
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r15
	leaq	-180(%rbp), %r13
	movq	%r13, %rdi
	movq	%rcx, %r12
	callq	_mbedtls_md_hmac_reset
	movq	%r13, %rdi
	leaq	-176(%rbp), %rbx
	movq	%rbx, %rsi
	movq	-256(%rbp), %rdx                ## 8-byte Reload
	callq	_mbedtls_md_hmac_update
	movq	%r13, %rdi
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	callq	_mbedtls_md_hmac_finish
	movq	%r13, %rdi
	callq	_mbedtls_md_hmac_reset
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	-192(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdx
	callq	_mbedtls_md_hmac_update
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_mbedtls_md_hmac_finish
	movq	%r12, %rcx
	leaq	(%r15,%r14), %r13
	cmpq	%r12, %r13
	jbe	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, -200(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	-192(%rbp)                      ## 8-byte Folded Reload
	movq	%rdx, %r14
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	testq	%r14, %r14
	je	LBB0_7
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	16(%rbp), %r15
	movq	%r15, %rdi
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	movq	%r14, %rdx
	callq	_memcpy
	movq	%r12, %rcx
	jmp	LBB0_7
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	-192(%rbp)                      ## 4-byte Folded Reload
	movl	%edx, %r14d
	testq	%r14, %r14
	jne	LBB0_13
	jmp	LBB0_7
LBB0_14:
	leaq	-180(%rbp), %rdi
	callq	_mbedtls_md_free
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	callq	_mbedtls_zeroize
	movq	-208(%rbp), %rdi                ## 8-byte Reload
	movq	-232(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_mbedtls_zeroize
	xorl	%eax, %eax
	movq	-216(%rbp), %r15                ## 8-byte Reload
LBB0_15:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_MD_MAX_SIZE,4,2        ## @MBEDTLS_MD_MAX_SIZE
	.comm	_MBEDTLS_ERR_SSL_INTERNAL_ERROR,4,2 ## @MBEDTLS_ERR_SSL_INTERNAL_ERROR
	.comm	_MBEDTLS_ERR_SSL_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_SSL_BAD_INPUT_DATA
	.no_dead_strip	_tls_prf_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_prf_generic
_tls_prf_generic:                       ; @tls_prf_generic
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #208
	mov	x20, x7
	mov	x28, x5
	mov	x26, x4
	mov	x25, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	mov	x8, sp
	stp	x6, x8, [x29, #-248]            ; 16-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _MBEDTLS_MD_MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBEDTLS_MD_MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	mov	x9, x27
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x27, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	sub	x0, x29, #228
	bl	_mbedtls_md_init
	mov	x0, x19
	bl	_mbedtls_md_info_from_type
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	stur	x26, [x29, #-256]               ; 8-byte Folded Spill
	sub	x8, x29, #16
	stur	x24, [x8, #-256]                ; 8-byte Folded Spill
	sub	x8, x29, #8
	stur	x23, [x8, #-256]                ; 8-byte Folded Spill
	bl	_mbedtls_md_get_size
	mov	x23, x0
	mov	x0, x25
	bl	_strlen
	add	x26, x0, x28
	add	x24, x26, x23
	cmp	x24, #129
	b.lo	LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _MBEDTLS_ERR_SSL_BAD_INPUT_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_BAD_INPUT_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_3:
Lloh11:
	adrp	x8, _MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_4:
	mov	x19, x0
	sub	x8, x29, #24
	stur	x27, [x8, #-256]                ; 8-byte Folded Spill
	sub	x8, x29, #224
	add	x27, x8, x23
	stp	x25, x0, [sp, #-16]!
	mov	x0, x27
	bl	_memcpy
	add	sp, sp, #16
	add	x0, x27, x19
	sub	sp, sp, #16
	str	x28, [sp, #8]
	ldur	x8, [x29, #-256]                ; 8-byte Folded Reload
	str	x8, [sp]
	bl	_memcpy
	add	sp, sp, #16
	sub	x0, x29, #228
	mov	x1, x21
	mov	w2, #1
	bl	_mbedtls_md_setup
	cbnz	w0, LBB0_13
; %bb.5:
	sub	x0, x29, #228
	sub	x8, x29, #16
	ldur	x1, [x8, #-256]                 ; 8-byte Folded Reload
	sub	x8, x29, #8
	ldur	x2, [x8, #-256]                 ; 8-byte Folded Reload
	bl	_mbedtls_md_hmac_starts
	sub	x0, x29, #228
	mov	x1, x27
	mov	x2, x26
	bl	_mbedtls_md_hmac_update
	sub	x0, x29, #228
	sub	x1, x29, #224
	bl	_mbedtls_md_hmac_finish
	sub	x8, x29, #24
	ldur	x26, [x8, #-256]                ; 8-byte Folded Reload
	ldur	x27, [x29, #-248]               ; 8-byte Folded Reload
	cbz	x20, LBB0_12
; %bb.6:
	mov	x21, #0
	udiv	x8, x20, x23
	msub	x19, x8, x23, x20
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x21, x25
	cmp	x25, x20
	b.hs	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	sub	x0, x29, #228
	bl	_mbedtls_md_hmac_reset
	sub	x0, x29, #228
	sub	x1, x29, #224
	mov	x2, x24
	bl	_mbedtls_md_hmac_update
	sub	x0, x29, #228
	mov	x1, x22
	bl	_mbedtls_md_hmac_finish
	sub	x0, x29, #228
	bl	_mbedtls_md_hmac_reset
	sub	x0, x29, #228
	sub	x1, x29, #224
	mov	x2, x23
	bl	_mbedtls_md_hmac_update
	sub	x0, x29, #228
	sub	x1, x29, #224
	bl	_mbedtls_md_hmac_finish
	add	x25, x21, x23
	cmp	x25, x20
	mov	x2, x23
	b.ls	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x2, x19
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x2, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x27, x21
	mov	x1, x22
	bl	_memcpy
	b	LBB0_7
LBB0_12:
	sub	x0, x29, #228
	bl	_mbedtls_md_free
	sub	x0, x29, #224
	mov	w1, #128
	bl	_mbedtls_zeroize
	mov	x0, x22
	mov	x1, x26
	bl	_mbedtls_zeroize
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-240]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-96]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_MD_MAX_SIZE,4,2        ; @MBEDTLS_MD_MAX_SIZE
	.comm	_MBEDTLS_ERR_SSL_INTERNAL_ERROR,4,2 ; @MBEDTLS_ERR_SSL_INTERNAL_ERROR
	.comm	_MBEDTLS_ERR_SSL_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_SSL_BAD_INPUT_DATA
	.no_dead_strip	_tls_prf_generic
.subsections_via_symbols
