	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_pwd_build_confirm_req
_eap_pwd_build_confirm_req:             ## @eap_pwd_build_confirm_req
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	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, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	cmpq	$0, 56(%r12)
	jne	LBB0_13
## %bb.1:
	movq	32(%r12), %rax
	movl	(%rax), %edi
	callq	_crypto_ec_prime_len
	movq	%rax, %r14
	movq	32(%r12), %rax
	movl	(%rax), %edi
	callq	_crypto_ec_order_len
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r14), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_os_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_eap_pwd_h_init
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r13
	movl	48(%r12), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r14, %rcx
	callq	_crypto_bignum_to_bin
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_eap_pwd_h_update
	movq	32(%r12), %rax
	movl	(%rax), %edi
	movl	44(%r12), %esi
	leaq	(%r15,%r14,4), %rbx
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_crypto_ec_point_to_bin
	testq	%rax, %rax
	js	LBB0_5
## %bb.6:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_eap_pwd_h_update
	movl	40(%r12), %edi
	movq	%r15, %rsi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	callq	_crypto_bignum_to_bin
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_eap_pwd_h_update
	movq	32(%r12), %rax
	movl	(%rax), %edi
	movl	24(%r12), %esi
	movq	%r15, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_crypto_ec_point_to_bin
	testq	%rax, %rax
	js	LBB0_5
## %bb.7:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_eap_pwd_h_update
	movl	20(%r12), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	callq	_crypto_bignum_to_bin
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_eap_pwd_h_update
	movl	16(%r12), %edi
	callq	_htons
	movl	%eax, -60(%rbp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_os_memset
	leaq	-60(%rbp), %rsi
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_os_memcpy
	movq	_EAP_PWD_DEFAULT_RAND_FUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_EAP_PWD_DEFAULT_PRF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	$12, %edx
	callq	_eap_pwd_h_update
	movq	%r13, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_eap_pwd_h_final
	movq	8(%r12), %rdi
	movq	_SHA256_MAC_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rsi
	callq	_os_memcpy
	movl	(%r14), %edi
	callq	_wpabuf_alloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%r14), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_wpabuf_put_data
	jmp	LBB0_9
LBB0_2:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_9:
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
LBB0_10:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_bin_clear_free
	cmpq	$0, (%r12)
	jne	LBB0_12
## %bb.11:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_eap_pwd_state
LBB0_12:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_eap_pwd_h_final
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA256_MAC_LEN,4,2             ## @SHA256_MAC_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-pwd: Confirm/Request"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"EAP-PWD (server): debug allocation fail"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-PWD (server): confirm point assignment fail"

	.comm	_EAP_PWD_DEFAULT_RAND_FUNC,4,2  ## @EAP_PWD_DEFAULT_RAND_FUNC
	.comm	_EAP_PWD_DEFAULT_PRF,4,2        ## @EAP_PWD_DEFAULT_PRF
	.comm	_FAILURE,4,2                    ## @FAILURE
	.no_dead_strip	_eap_pwd_build_confirm_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_pwd_build_confirm_req
_eap_pwd_build_confirm_req:             ; @eap_pwd_build_confirm_req
	.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, #16
	mov	x19, x1
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	x27, _SHA256_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _SHA256_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	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
Lloh7:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_13
; %bb.1:
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	bl	_crypto_ec_prime_len
	mov	x24, x0
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	bl	_crypto_ec_order_len
	mov	x25, x0
	lsl	x20, x24, #1
	mov	x0, x20
	bl	_os_malloc
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.2:
	bl	_eap_pwd_h_init
	mov	x23, x0
	cbz	x0, LBB0_10
; %bb.3:
	ldr	w0, [x19, #48]
	mov	x1, x21
	mov	x2, x24
	mov	x3, x24
	bl	_crypto_bignum_to_bin
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	bl	_eap_pwd_h_update
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	ldr	w1, [x19, #44]
	add	x26, x21, x24, lsl #2
	mov	x2, x21
	mov	x3, x26
	bl	_crypto_ec_point_to_bin
	tbnz	x0, #63, LBB0_9
; %bb.4:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_eap_pwd_h_update
	ldr	w0, [x19, #40]
	mov	x1, x21
	mov	x2, x25
	mov	x3, x25
	bl	_crypto_bignum_to_bin
	mov	x0, x23
	mov	x1, x21
	mov	x2, x25
	bl	_eap_pwd_h_update
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	ldr	w1, [x19, #24]
	mov	x2, x21
	mov	x3, x26
	bl	_crypto_ec_point_to_bin
	tbnz	x0, #63, LBB0_9
; %bb.5:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	bl	_eap_pwd_h_update
	ldr	w0, [x19, #20]
	mov	x1, x21
	mov	x2, x25
	mov	x3, x25
	bl	_crypto_bignum_to_bin
	mov	x0, x23
	mov	x1, x21
	mov	x2, x25
	bl	_eap_pwd_h_update
	ldr	w0, [x19, #16]
	bl	_htons
	stur	w0, [x29, #-92]
	mov	x0, x21
	mov	w1, #0
	mov	x2, x24
	bl	_os_memset
	sub	x1, x29, #92
	mov	x0, x21
	mov	w2, #4
	bl	_os_memcpy
Lloh12:
	adrp	x8, _EAP_PWD_DEFAULT_RAND_FUNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAP_PWD_DEFAULT_RAND_FUNC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x21, #16]
Lloh15:
	adrp	x8, _EAP_PWD_DEFAULT_PRF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EAP_PWD_DEFAULT_PRF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x21, #32]
	mov	x0, x23
	mov	x1, x21
	mov	w2, #12
	bl	_eap_pwd_h_update
	mov	x0, x23
	mov	x1, x22
	bl	_eap_pwd_h_final
	ldr	x0, [x19, #8]
	ldr	w2, [x27]
	mov	x1, x22
	bl	_os_memcpy
	ldr	w0, [x27]
	bl	_wpabuf_alloc
	str	x0, [x19]
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w2, [x27]
	mov	x1, x22
	bl	_wpabuf_put_data
	b	LBB0_8
LBB0_7:
Lloh18:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_8:
	mov	x23, #0
	b	LBB0_10
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:
	mov	x0, x21
	mov	x1, x20
	bl	_bin_clear_free
	ldr	x8, [x19]
	cbnz	x8, LBB0_12
; %bb.11:
Lloh28:
	adrp	x8, _FAILURE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_pwd_state
LBB0_12:
	mov	x0, x23
	mov	x1, #0
	bl	_eap_pwd_h_final
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	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_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA256_MAC_LEN,4,2             ; @SHA256_MAC_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-pwd: Confirm/Request"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"EAP-PWD (server): debug allocation fail"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-PWD (server): confirm point assignment fail"

	.comm	_EAP_PWD_DEFAULT_RAND_FUNC,4,2  ; @EAP_PWD_DEFAULT_RAND_FUNC
	.comm	_EAP_PWD_DEFAULT_PRF,4,2        ; @EAP_PWD_DEFAULT_PRF
	.comm	_FAILURE,4,2                    ; @FAILURE
	.no_dead_strip	_eap_pwd_build_confirm_req
.subsections_via_symbols
