	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_eke_build_commit
_eap_eke_build_commit:                  ## @eap_eke_build_commit
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EAP_EKE_MAX_DH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.5:
	leaq	4(%r14), %r13
	movl	(%rax), %edx
	movl	(%rbx), %r8d
	movl	4(%rbx), %ecx
	movl	24(%r14), %r9d
	movl	12(%r14), %eax
	movl	20(%r14), %ebx
	movq	%r13, %rdi
	pushq	%rax
	pushq	%rbx
	callq	_eap_eke_derive_key
	addq	$16, %rsp
	testq	%rax, %rax
	js	LBB0_6
## %bb.8:
	movl	4(%r14), %edx
	movq	_EAP_EKE_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	callq	_eap_eke_build_msg
	testq	%rax, %rax
	je	LBB0_9
## %bb.12:
	movq	%rax, %r15
	movl	8(%r14), %edi
	movl	16(%r14), %esi
	movq	%r12, %rdx
	callq	_eap_eke_dh_init
	testq	%rax, %rax
	js	LBB0_13
## %bb.14:
	movl	4(%r14), %esi
	movl	12(%r14), %ebx
	movq	%r15, %rdi
	callq	_wpabuf_put
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%eax, %ecx
	callq	_eap_eke_dhcomp
	testq	%rax, %rax
	js	LBB0_15
## %bb.16:
	movq	%r15, %rdi
	callq	_wpabuf_len
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_wpabuf_resize
	testq	%rax, %rax
	js	LBB0_17
## %bb.19:
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_wpabuf_put_buf
	jmp	LBB0_20
LBB0_2:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_PASSWD_NOT_FOUND@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_eke_fail
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	movl	%r15d, %esi
LBB0_11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_eke_build_failure          ## TAILCALL
LBB0_6:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_eke_fail
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	jne	LBB0_7
## %bb.10:
	movq	%r14, %rdi
	jmp	LBB0_11
LBB0_13:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
	jmp	LBB0_18
LBB0_15:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_wpa_printf
LBB0_17:
	movq	%r15, %rdi
	callq	_wpabuf_free
LBB0_18:
	movq	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_eap_eke_fail
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_eap_eke_build_failure
	movq	%rax, %r15
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.21:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_EKE_MAX_DH_LEN,4,2         ## @EAP_EKE_MAX_DH_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-EKE: Request/Commit"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"EAP-EKE: Password with not configured"

	.comm	_EAP_EKE_FAIL_PASSWD_NOT_FOUND,4,2 ## @EAP_EKE_FAIL_PASSWD_NOT_FOUND
L_.str.2:                               ## @.str.2
	.asciz	"EAP-EKE: Failed to derive key"

	.comm	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR,4,2 ## @EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR
	.comm	_EAP_EKE_COMMIT,4,2             ## @EAP_EKE_COMMIT
L_.str.3:                               ## @.str.3
	.asciz	"EAP-EKE: Failed to initialize DH"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-EKE: Failed to build DHComponent_S"

	.no_dead_strip	_eap_eke_build_commit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_eke_build_commit
_eap_eke_build_commit:                  ; @eap_eke_build_commit
	.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, #16
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
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_EKE_MAX_DH_LEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_EKE_MAX_DH_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	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_8
; %bb.2:
	add	x23, x20, #4
	ldr	w2, [x8]
	ldp	w4, w3, [x21]
	ldp	w6, w5, [x20, #20]
	ldr	w7, [x20, #12]
	mov	x0, x23
	bl	_eap_eke_derive_key
	tbnz	x0, #63, LBB0_9
; %bb.3:
	ldr	w2, [x20, #4]
Lloh13:
	adrp	x8, _EAP_EKE_COMMIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAP_EKE_COMMIT@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_eap_eke_build_msg
	cbz	x0, LBB0_10
; %bb.4:
	mov	x21, x0
	ldr	w0, [x20, #8]
	ldr	w1, [x20, #16]
	mov	x2, x22
	bl	_eap_eke_dh_init
	tbnz	x0, #63, LBB0_13
; %bb.5:
	ldr	w24, [x20, #12]
	ldr	w1, [x20, #4]
	mov	x0, x21
	bl	_wpabuf_put
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x22
	bl	_eap_eke_dhcomp
	tbnz	x0, #63, LBB0_14
; %bb.6:
	mov	x0, x21
	bl	_wpabuf_len
	mov	x1, x0
	mov	x0, x20
	bl	_wpabuf_resize
	tbnz	x0, #63, LBB0_15
; %bb.7:
	ldr	w0, [x20]
	mov	x1, x21
	bl	_wpabuf_put_buf
	b	LBB0_17
LBB0_8:
Lloh16:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh21:
	adrp	x8, _EAP_EKE_FAIL_PASSWD_NOT_FOUND@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EAP_EKE_FAIL_PASSWD_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh23:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
LBB0_10:
Lloh28:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_eke_fail
	ldur	x8, [x29, #-56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	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
	b	_eap_eke_build_failure
LBB0_13:
Lloh33:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	b	LBB0_16
LBB0_14:
Lloh38:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
LBB0_15:
	mov	x0, x21
	bl	_wpabuf_free
LBB0_16:
Lloh43:
	adrp	x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_eke_fail
	mov	x0, x20
	mov	x1, x19
	bl	_eap_eke_build_failure
	mov	x21, x0
LBB0_17:
	ldur	x8, [x29, #-56]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x21
	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_19:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_EKE_MAX_DH_LEN,4,2         ; @EAP_EKE_MAX_DH_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-EKE: Request/Commit"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"EAP-EKE: Password with not configured"

	.comm	_EAP_EKE_FAIL_PASSWD_NOT_FOUND,4,2 ; @EAP_EKE_FAIL_PASSWD_NOT_FOUND
l_.str.2:                               ; @.str.2
	.asciz	"EAP-EKE: Failed to derive key"

	.comm	_EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR,4,2 ; @EAP_EKE_FAIL_PRIVATE_INTERNAL_ERROR
	.comm	_EAP_EKE_COMMIT,4,2             ; @EAP_EKE_COMMIT
l_.str.3:                               ; @.str.3
	.asciz	"EAP-EKE: Failed to initialize DH"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-EKE: Failed to build DHComponent_S"

	.no_dead_strip	_eap_eke_build_commit
.subsections_via_symbols
