	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_eke_dh_init                ## -- Begin function eap_eke_dh_init
	.p2align	4, 0x90
_eap_eke_dh_init:                       ## @eap_eke_dh_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movl	%edi, %ebx
	callq	_eap_eke_dh_generator
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_eap_eke_dh_group
	movl	$-1, %r12d
	cmpl	$255, %r14d
	ja	LBB0_4
## %bb.1:
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movl	%r14d, %edi
	movq	%r15, %rbx
	movq	%r15, %rcx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_crypto_dh_init
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%r13), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump_key
	movl	(%r14), %edi
	movl	(%r13), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_hexdump
	xorl	%r12d, %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$8, %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-EKE: DH private value"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-EKE: DH public value"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eap_eke_dh_init                ; -- Begin function eap_eke_dh_init
	.p2align	2
_eap_eke_dh_init:                       ; @eap_eke_dh_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_eap_eke_dh_generator
	mov	x22, x0
	mov	x0, x21
	bl	_eap_eke_dh_group
	mov	x21, x0
	mov	w0, #-1
	cmp	w22, #255
	b.hi	LBB0_5
; %bb.1:
	cbz	x21, LBB0_5
; %bb.2:
	ldp	w2, w1, [x21]
	mov	x0, x22
	mov	x3, x20
	mov	x4, x19
	bl	_crypto_dh_init
	tbnz	x0, #63, LBB0_4
; %bb.3:
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w3, [x21]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_wpa_hexdump_key
	ldr	w0, [x22]
	ldr	w3, [x21]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_wpa_hexdump
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-EKE: DH private value"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-EKE: DH public value"

.subsections_via_symbols
