	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_teap_derive_cmk_basic_pw_auth ## -- Begin function eap_teap_derive_cmk_basic_pw_auth
	.p2align	4, 0x90
_eap_teap_derive_cmk_basic_pw_auth:     ## @eap_teap_derive_cmk_basic_pw_auth
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	movq	%rdi, %r13
	movq	%rsp, -192(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EAP_TEAP_IMCK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	-176(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_os_memset
	movq	_EAP_TEAP_SIMCK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leal	(,%rbx,4), %r12d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	%r14, %rcx
	movl	$32, %r8d
	movq	%r15, %r9
	pushq	%r12
	callq	_eap_teap_tls_prf
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_EAP_TEAP_SIMCK_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r15,%rax,4), %rsi
	movq	_EAP_TEAP_CMK_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	-184(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_os_memcpy
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump_key
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_forced_memzero
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	movq	-192(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_TEAP_IMCK_LEN,4,2          ## @EAP_TEAP_IMCK_LEN
	.comm	_EAP_TEAP_SIMCK_LEN,8,3         ## @EAP_TEAP_SIMCK_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Inner Methods Compound Keys"

	.comm	_EAP_TEAP_CMK_LEN,4,2           ## @EAP_TEAP_CMK_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"EAP-TEAP: CMK[no-inner-EAP]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_teap_derive_cmk_basic_pw_auth ; -- Begin function eap_teap_derive_cmk_basic_pw_auth
	.p2align	2
_eap_teap_derive_cmk_basic_pw_auth:     ; @eap_teap_derive_cmk_basic_pw_auth
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #144
	mov	x19, x1
	mov	x22, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _EAP_TEAP_IMCK_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TEAP_IMCK_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	lsl	x8, x21, #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	x20, x9, x8
	mov	sp, x20
	sub	x0, x29, #184
	mov	w1, #0
	mov	w2, #32
	bl	_os_memset
Lloh8:
	adrp	x24, _EAP_TEAP_SIMCK_LEN@GOTPAGE
Lloh9:
	ldr	x24, [x24, _EAP_TEAP_SIMCK_LEN@GOTPAGEOFF]
	ldr	x1, [x24]
	lsl	w21, w21, #2
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	sub	x3, x29, #184
	mov	x0, x22
	mov	w4, #32
	mov	x5, x20
	mov	x6, x21
	bl	_eap_teap_tls_prf
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [x24]
	add	x1, x20, x8, lsl #2
Lloh12:
	adrp	x22, _EAP_TEAP_CMK_LEN@GOTPAGE
Lloh13:
	ldr	x22, [x22, _EAP_TEAP_CMK_LEN@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_os_memcpy
Lloh14:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w3, [x22]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump_key
	mov	x0, x20
	mov	x1, x21
	bl	_forced_memzero
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	mov	sp, x23
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_TEAP_IMCK_LEN,4,2          ; @EAP_TEAP_IMCK_LEN
	.comm	_EAP_TEAP_SIMCK_LEN,8,3         ; @EAP_TEAP_SIMCK_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Inner Methods Compound Keys"

	.comm	_EAP_TEAP_CMK_LEN,4,2           ; @EAP_TEAP_CMK_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"EAP-TEAP: CMK[no-inner-EAP]"

.subsections_via_symbols
