	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_connection_get_eap_fast_key ## -- Begin function tls_connection_get_eap_fast_key
	.p2align	4, 0x90
_tls_connection_get_eap_fast_key:       ## @tls_connection_get_eap_fast_key
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SEED_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	(,%r13,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movl	$-1, %r12d
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.2:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_wolfSSL_GetKeySize
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_wolfSSL_GetHmacSize
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movl	%eax, %r15d
	addl	%ebx, %r15d
	movq	%r14, %rdi
	callq	_wolfSSL_GetIVSize
	movl	%eax, %ecx
	addl	%r15d, %ecx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	leal	(%rax,%rcx,2), %ebx
	movl	%ebx, %edi
	callq	_os_malloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	subq	$8, %rsp
	leaq	-124(%rbp), %rax
	leaq	-88(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-120(%rbp), %rcx
	leaq	-128(%rbp), %r8
	leaq	-112(%rbp), %r9
	movq	%r14, %rdi
	pushq	%rax
	callq	_wolfSSL_get_keys
	addq	$16, %rsp
	movq	-120(%rbp), %rsi
	movq	_RAN_LEN@GOTPCREL(%rip), %r15
	movslq	(%r15), %rdx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_os_memcpy
	movslq	(%r15), %rdx
	leaq	(%r12,%rdx,4), %rdi
	movq	-112(%rbp), %rsi
	callq	_os_memcpy
	movq	%r14, %rdi
	callq	_wolfSSL_GetVersion
	movq	_WOLFSSL_TLSV1_2@GOTPCREL(%rip), %rcx
	shll	$2, %r13d
	movq	-88(%rbp), %rdi
	movl	-52(%rbp), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r9
	pushq	%rbx
	callq	_tls_prf_sha256
	addq	$16, %rsp
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_5:
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r9
	pushq	%rbx
	callq	_tls_prf_sha1_md5
	addq	$16, %rsp
	movl	%eax, %r12d
LBB0_6:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-88(%rbp), %rdi
	movl	-52(%rbp), %esi
	callq	_forced_memzero
	testl	%r12d, %r12d
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_8
## %bb.7:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	cltq
	leaq	(,%rax,4), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	callq	_os_memcpy
LBB0_8:
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_bin_clear_free
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEED_LEN,4,2                   ## @SEED_LEN
	.comm	_RAN_LEN,4,2                    ## @RAN_LEN
	.comm	_WOLFSSL_TLSV1_2,8,3            ## @WOLFSSL_TLSV1_2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key expansion"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_connection_get_eap_fast_key ; -- Begin function tls_connection_get_eap_fast_key
	.p2align	2
_tls_connection_get_eap_fast_key:       ; @tls_connection_get_eap_fast_key
	.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, #64
	mov	x19, x3
	mov	x20, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _SEED_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEED_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	lsl	x8, x26, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	cbz	x1, LBB0_5
; %bb.1:
	ldr	x24, [x1]
	cbz	x24, LBB0_5
; %bb.2:
	mov	x0, x24
	bl	_wolfSSL_GetKeySize
	mov	x21, x0
	mov	x0, x24
	bl	_wolfSSL_GetHmacSize
	add	w21, w0, w21
	mov	x0, x24
	bl	_wolfSSL_GetIVSize
	add	w8, w21, w0
	lsl	w25, w8, #1
	add	w21, w25, w19
	mov	x0, x21
	bl	_os_malloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x22, x0
	sub	x1, x29, #96
	sub	x2, x29, #100
	sub	x3, x29, #112
	sub	x4, x29, #116
	sub	x5, x29, #128
	sub	x6, x29, #132
	mov	x0, x24
	bl	_wolfSSL_get_keys
	ldur	x1, [x29, #-112]
Lloh8:
	adrp	x27, _RAN_LEN@GOTPAGE
Lloh9:
	ldr	x27, [x27, _RAN_LEN@GOTPAGEOFF]
	ldrsw	x2, [x27]
	mov	x0, x23
	bl	_os_memcpy
	ldrsw	x2, [x27]
	add	x0, x23, x2, lsl #2
	ldur	x1, [x29, #-128]
	bl	_os_memcpy
	mov	x0, x24
	bl	_wolfSSL_GetVersion
	mov	x8, x0
Lloh10:
	adrp	x9, _WOLFSSL_TLSV1_2@GOTPAGE
Lloh11:
	ldr	x9, [x9, _WOLFSSL_TLSV1_2@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldur	x0, [x29, #-96]
	ldur	w1, [x29, #-100]
	lsl	w4, w26, #2
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x23
	mov	x5, x22
	mov	x6, x21
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	bl	_tls_prf_sha256
	mov	w23, #0
	b	LBB0_7
LBB0_5:
	mov	w23, #-1
	b	LBB0_10
LBB0_6:
	bl	_tls_prf_sha1_md5
	mov	x23, x0
LBB0_7:
	ldur	x0, [x29, #-96]
	ldur	w1, [x29, #-100]
	bl	_forced_memzero
	cbnz	w23, LBB0_9
; %bb.8:
	sxtw	x8, w25
	add	x1, x22, x8, lsl #2
	mov	x0, x20
	mov	x2, x19
	bl	_os_memcpy
LBB0_9:
	mov	x0, x22
	mov	x1, x21
	bl	_bin_clear_free
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x23
	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_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SEED_LEN,4,2                   ; @SEED_LEN
	.comm	_RAN_LEN,4,2                    ; @RAN_LEN
	.comm	_WOLFSSL_TLSV1_2,8,3            ; @WOLFSSL_TLSV1_2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key expansion"

.subsections_via_symbols
