	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_pax_initial_key_derivation ## -- Begin function eap_pax_initial_key_derivation
	.p2align	4, 0x90
_eap_pax_initial_key_derivation:        ## @eap_pax_initial_key_derivation
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r13
	movl	%edi, %r14d
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_PAX_AK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EAP_PAX_RAND_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	addl	%r9d, %r9d
	movq	_EAP_PAX_MK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.1(%rip), %rcx
	movl	%r14d, %edi
	movq	%r13, %rsi
	movq	%r15, %r8
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	pushq	%rbx
	pushq	%rax
	callq	_eap_pax_kdf
	addq	$16, %rsp
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	_EAP_PAX_MK_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_EAP_PAX_RAND_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	addl	%r9d, %r9d
	movq	_EAP_PAX_CK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.2(%rip), %rcx
	movl	%r14d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %r8
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	pushq	%r12
	pushq	%rax
	callq	_eap_pax_kdf
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movl	(%r13), %edx
	movq	_EAP_PAX_RAND_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	addl	%r9d, %r9d
	movq	_EAP_PAX_ICK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.3(%rip), %rcx
	movl	%r14d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %r8
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_eap_pax_kdf
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	16(%rbp), %rsi
	movl	(%r13), %edx
	movq	_EAP_PAX_RAND_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	addl	%r9d, %r9d
	movq	_EAP_PAX_MID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	L_.str.4(%rip), %rcx
	movl	%r14d, %edi
	movq	%rsi, %r14
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %r8
	pushq	%r14
	pushq	%rax
	callq	_eap_pax_kdf
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_EAP_PAX_AK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.5(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_wpa_hexdump_key
	movl	(%rbx), %edi
	movl	(%r13), %ecx
	leaq	L_.str.6(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_wpa_hexdump_key
	movl	(%rbx), %edi
	movq	_EAP_PAX_CK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdx
	callq	_wpa_hexdump_key
	movl	(%rbx), %edi
	movq	_EAP_PAX_ICK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.8(%rip), %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_wpa_hexdump_key
	movl	(%rbx), %edi
	movq	_EAP_PAX_MID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdx
	callq	_wpa_hexdump_key
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-PAX: initial key derivation"

	.comm	_EAP_PAX_AK_LEN,4,2             ## @EAP_PAX_AK_LEN
L_.str.1:                               ## @.str.1
	.asciz	"Master Key"

	.comm	_EAP_PAX_RAND_LEN,4,2           ## @EAP_PAX_RAND_LEN
	.comm	_EAP_PAX_MK_LEN,4,2             ## @EAP_PAX_MK_LEN
L_.str.2:                               ## @.str.2
	.asciz	"Confirmation Key"

	.comm	_EAP_PAX_CK_LEN,4,2             ## @EAP_PAX_CK_LEN
L_.str.3:                               ## @.str.3
	.asciz	"Integrity Check Key"

	.comm	_EAP_PAX_ICK_LEN,4,2            ## @EAP_PAX_ICK_LEN
L_.str.4:                               ## @.str.4
	.asciz	"Method ID"

	.comm	_EAP_PAX_MID_LEN,4,2            ## @EAP_PAX_MID_LEN
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.5:                               ## @.str.5
	.asciz	"EAP-PAX: AK"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-PAX: MK"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-PAX: CK"

L_.str.8:                               ## @.str.8
	.asciz	"EAP-PAX: ICK"

L_.str.9:                               ## @.str.9
	.asciz	"EAP-PAX: MID"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_pax_initial_key_derivation ; -- Begin function eap_pax_initial_key_derivation
	.p2align	2
_eap_pax_initial_key_derivation:        ; @eap_pax_initial_key_derivation
	.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
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh5:
	adrp	x27, _EAP_PAX_AK_LEN@GOTPAGE
Lloh6:
	ldr	x27, [x27, _EAP_PAX_AK_LEN@GOTPAGEOFF]
Lloh7:
	adrp	x28, _EAP_PAX_RAND_LEN@GOTPAGE
Lloh8:
	ldr	x28, [x28, _EAP_PAX_RAND_LEN@GOTPAGEOFF]
	ldr	w2, [x27]
	ldr	w8, [x28]
	lsl	w5, w8, #1
Lloh9:
	adrp	x26, _EAP_PAX_MK_LEN@GOTPAGE
Lloh10:
	ldr	x26, [x26, _EAP_PAX_MK_LEN@GOTPAGEOFF]
	ldr	w6, [x26]
Lloh11:
	adrp	x3, l_.str.1@PAGE
Lloh12:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x25
	mov	x1, x23
	mov	x4, x24
	mov	x7, x22
	bl	_eap_pax_kdf
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	w2, [x26]
	ldr	w8, [x28]
	lsl	w5, w8, #1
Lloh13:
	adrp	x8, _EAP_PAX_CK_LEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAP_PAX_CK_LEN@GOTPAGEOFF]
Lloh15:
	ldr	w6, [x8]
Lloh16:
	adrp	x3, l_.str.2@PAGE
Lloh17:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x25
	mov	x1, x22
	mov	x4, x24
	mov	x7, x21
	bl	_eap_pax_kdf
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	w2, [x26]
	ldr	w8, [x28]
	lsl	w5, w8, #1
Lloh18:
	adrp	x8, _EAP_PAX_ICK_LEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAP_PAX_ICK_LEN@GOTPAGEOFF]
Lloh20:
	ldr	w6, [x8]
Lloh21:
	adrp	x3, l_.str.3@PAGE
Lloh22:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x25
	mov	x1, x22
	mov	x4, x24
	mov	x7, x20
	bl	_eap_pax_kdf
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w2, [x26]
	ldr	w8, [x28]
	lsl	w5, w8, #1
Lloh23:
	adrp	x28, _EAP_PAX_MID_LEN@GOTPAGE
Lloh24:
	ldr	x28, [x28, _EAP_PAX_MID_LEN@GOTPAGEOFF]
	ldr	w6, [x28]
Lloh25:
	adrp	x3, l_.str.4@PAGE
Lloh26:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x25
	mov	x1, x22
	mov	x4, x24
	mov	x7, x19
	bl	_eap_pax_kdf
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #-1
LBB0_5:
	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_6:
Lloh27:
	adrp	x24, _MSG_MSGDUMP@GOTPAGE
Lloh28:
	ldr	x24, [x24, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w3, [x27]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x23
	bl	_wpa_hexdump_key
	ldr	w0, [x24]
	ldr	w3, [x26]
Lloh31:
	adrp	x1, l_.str.6@PAGE
Lloh32:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump_key
	ldr	w0, [x24]
Lloh33:
	adrp	x8, _EAP_PAX_CK_LEN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EAP_PAX_CK_LEN@GOTPAGEOFF]
Lloh35:
	ldr	w3, [x8]
Lloh36:
	adrp	x1, l_.str.7@PAGE
Lloh37:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_key
	ldr	w0, [x24]
Lloh38:
	adrp	x8, _EAP_PAX_ICK_LEN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EAP_PAX_ICK_LEN@GOTPAGEOFF]
Lloh40:
	ldr	w3, [x8]
Lloh41:
	adrp	x1, l_.str.8@PAGE
Lloh42:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_key
	ldr	w0, [x24]
	ldr	w3, [x28]
Lloh43:
	adrp	x1, l_.str.9@PAGE
Lloh44:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump_key
	mov	w0, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-PAX: initial key derivation"

	.comm	_EAP_PAX_AK_LEN,4,2             ; @EAP_PAX_AK_LEN
l_.str.1:                               ; @.str.1
	.asciz	"Master Key"

	.comm	_EAP_PAX_RAND_LEN,4,2           ; @EAP_PAX_RAND_LEN
	.comm	_EAP_PAX_MK_LEN,4,2             ; @EAP_PAX_MK_LEN
l_.str.2:                               ; @.str.2
	.asciz	"Confirmation Key"

	.comm	_EAP_PAX_CK_LEN,4,2             ; @EAP_PAX_CK_LEN
l_.str.3:                               ; @.str.3
	.asciz	"Integrity Check Key"

	.comm	_EAP_PAX_ICK_LEN,4,2            ; @EAP_PAX_ICK_LEN
l_.str.4:                               ; @.str.4
	.asciz	"Method ID"

	.comm	_EAP_PAX_MID_LEN,4,2            ; @EAP_PAX_MID_LEN
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.5:                               ; @.str.5
	.asciz	"EAP-PAX: AK"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-PAX: MK"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-PAX: CK"

l_.str.8:                               ; @.str.8
	.asciz	"EAP-PAX: ICK"

l_.str.9:                               ; @.str.9
	.asciz	"EAP-PAX: MID"

.subsections_via_symbols
