	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_pwd_kdf
_eap_pwd_kdf:                           ## @eap_pwd_kdf
	.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	%r9, %r15
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	leaq	7(%r15), %rbx
	movq	%rbx, %r14
	shrq	$3, %r14
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_htons
	movl	%eax, -60(%rbp)
	cmpq	$8, %rbx
	jb	LBB0_7
## %bb.1:
	movl	$1, %r12d
	xorl	%r15d, %r15d
	movl	$-1, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_htons
	movl	%eax, -64(%rbp)
	movq	_CRYPTO_HASH_ALG_HMAC_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	callq	_crypto_hash_init
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	cmpl	$1, %r12d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_hash_update
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	movl	$4, %edx
	callq	_crypto_hash_update
	movq	%rbx, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_crypto_hash_update
	movq	%rbx, %rdi
	leaq	-60(%rbp), %rsi
	movl	$4, %edx
	callq	_crypto_hash_update
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	callq	_crypto_hash_finish
	testq	%rax, %rax
	js	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	leaq	(%rax,%r15), %rcx
	movq	%r14, %rdx
	subq	%r15, %rdx
	cmpq	%r14, %rcx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r15,4), %rdi
	cmovbeq	%rax, %rdx
	movq	%rbx, %rsi
	callq	_os_memcpy
	addq	-56(%rbp), %r15
	incl	%r12d
	cmpq	%r15, %r14
	ja	LBB0_2
LBB0_7:
	xorl	%r13d, %r13d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	andq	$7, %rax
	je	LBB0_9
## %bb.8:
	movb	$8, %cl
	subb	%al, %cl
	movl	$255, %eax
	shll	%cl, %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	andl	%eax, -4(%rcx,%r14,4)
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r13d, %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	_SHA256_MAC_LEN,4,2             ## @SHA256_MAC_LEN
	.comm	_CRYPTO_HASH_ALG_HMAC_SHA256,4,2 ## @CRYPTO_HASH_ALG_HMAC_SHA256
	.no_dead_strip	_eap_pwd_kdf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_pwd_kdf
_eap_pwd_kdf:                           ; @eap_pwd_kdf
	.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, #32
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
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, _SHA256_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA256_MAC_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #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	x25, x9, x8
	mov	sp, x25
	add	x26, x5, #7
	lsr	x20, x26, #3
	stur	x5, [x29, #-112]                ; 8-byte Folded Spill
	mov	x0, x5
	bl	_htons
	stur	w0, [x29, #-96]
	cmp	x26, #8
	b.lo	LBB0_7
; %bb.1:
	mov	x28, #0
	mov	w26, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	bl	_htons
	stur	w0, [x29, #-92]
Lloh8:
	adrp	x8, _CRYPTO_HASH_ALG_HMAC_SHA256@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CRYPTO_HASH_ALG_HMAC_SHA256@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x24
	mov	x2, x23
	bl	_crypto_hash_init
	cbz	x0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, x0
	cmp	w26, #1
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh11:
	adrp	x8, _SHA256_MAC_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SHA256_MAC_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x27
	mov	x1, x25
	bl	_crypto_hash_update
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	x1, x29, #92
	mov	x0, x27
	mov	w2, #4
	bl	_crypto_hash_update
	mov	x0, x27
	mov	x1, x22
	mov	x2, x21
	bl	_crypto_hash_update
	sub	x1, x29, #96
	mov	x0, x27
	mov	w2, #4
	bl	_crypto_hash_update
Lloh14:
	adrp	x8, _SHA256_MAC_LEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SHA256_MAC_LEN@GOTPAGEOFF]
Lloh16:
	ldrsw	x8, [x8]
	stur	x8, [x29, #-104]
	sub	x2, x29, #104
	mov	x0, x27
	mov	x1, x25
	bl	_crypto_hash_finish
	tbnz	x0, #63, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	x8, [x29, #-104]
	add	x0, x19, x28, lsl #2
	sub	x9, x20, x28
	add	x10, x8, x28
	cmp	x10, x20
	csel	x2, x9, x8, hi
	mov	x1, x25
	bl	_os_memcpy
	ldur	x8, [x29, #-104]
	add	w26, w26, #1
	add	x28, x8, x28
	cmp	x20, x28
	b.hi	LBB0_2
LBB0_7:
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	mov	w0, #0
	ands	x8, x8, #0x7
	b.eq	LBB0_10
; %bb.8:
	mov	w9, #8
	sub	w8, w9, w8
	mov	w9, #255
	lsl	w8, w9, w8
	add	x9, x19, x20, lsl #2
	ldur	w10, [x9, #-4]
	and	w8, w10, w8
	stur	w8, [x9, #-4]
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldur	x8, [x29, #-88]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	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 AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA256_MAC_LEN,4,2             ; @SHA256_MAC_LEN
	.comm	_CRYPTO_HASH_ALG_HMAC_SHA256,4,2 ; @CRYPTO_HASH_ALG_HMAC_SHA256
	.no_dead_strip	_eap_pwd_kdf
.subsections_via_symbols
