	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_pwd_process
_eap_pwd_process:                       ## @eap_pwd_process
	.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	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_EAP_TYPE_PWD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdx
	callq	_eap_hdr_validate
	movq	%rax, %r12
	movq	-56(%rbp), %rcx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, 16(%rbx)
	movq	_METHOD_MAY_CONT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 8(%rbx)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rbx)
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	movl	(%r12), %edi
	decq	%rcx
	movq	%rcx, -56(%rbp)
	cmpq	$0, (%r13)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_16
## %bb.4:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_6:
	movq	%r14, %r13
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	32(%r14), %rdi
	callq	_wpabuf_len
	movq	%rax, %rbx
	subq	(%r14), %rbx
	movq	%rbx, -56(%rbp)
	movq	_EAP_PWD_HDR_SIZE@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	addq	%rax, %rbx
	movq	8(%r14), %rcx
	cmpq	%rcx, %rbx
	jbe	LBB0_8
## %bb.7:
	subq	%rax, %rcx
	movq	%rcx, -56(%rbp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_EAP_PWD_SET_MORE_BIT
	movq	-56(%rbp), %rbx
	addq	(%r12), %rbx
LBB0_8:
	movl	(%r15), %r12d
	movq	_EAP_TYPE_PWD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	callq	_eap_get_id
	movl	%r12d, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_eap_msg_alloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_wpabuf_put_u8
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	32(%r15), %rdi
	callq	_wpabuf_head_u8
	movq	(%r15), %rcx
	leaq	(%rax,%rcx,4), %rsi
	movq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_wpabuf_put_data
	movq	(%r15), %rbx
	movq	32(%r15), %rdi
	addq	-56(%rbp), %rbx
	movq	%rbx, (%r15)
	callq	_wpabuf_len
	cmpq	%rax, %rbx
	jae	LBB0_13
## %bb.12:
	cmpq	$0, (%r15)
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.8(%rip), %rdx
	cmoveq	%rax, %rdx
	jmp	LBB0_14
LBB0_2:
	testq	%r12, %r12
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_64:
	movq	%r14, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	leaq	4(%r12), %r14
	callq	_EAP_PWD_GET_LENGTH_BIT
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	cmpq	$1, -56(%rbp)
	ja	LBB0_21
## %bb.19:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_20
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_10:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_64
LBB0_13:
	movq	32(%r15), %rdi
	callq	_wpabuf_free
	movq	$0, 32(%r15)
	movq	$0, (%r15)
	leaq	L_.str.7(%rip), %rdx
LBB0_14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-56(%rbp), %ecx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	16(%r15), %rax
	movq	_SUCCESS_ON_FRAG_COMPLETION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_64
## %bb.15:
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	_DECISION_UNCOND_SUCC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
LBB0_63:
	callq	_eap_pwd_state
	jmp	LBB0_64
LBB0_17:
	xorl	%ebx, %ebx
LBB0_27:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_EAP_PWD_GET_MORE_BIT
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:
	cmpq	$0, 24(%r13)
	je	LBB0_34
LBB0_29:
	movq	40(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.31:
	movl	%ebx, %r12d
	movq	24(%r13), %rbx
	addq	-56(%rbp), %rbx
	movq	%rbx, 24(%r13)
	callq	_wpabuf_size
	cmpq	%rax, %rbx
	jbe	LBB0_33
## %bb.32:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	24(%r13), %r15d
	movq	40(%r13), %rdi
	callq	_wpabuf_len
	leaq	L_.str.14(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%ebx, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	40(%r13), %rdi
	callq	_wpabuf_free
	movq	$0, 40(%r13)
	movq	$0, 24(%r13)
	jmp	LBB0_64
LBB0_21:
	movq	%r14, %rdi
	callq	_WPA_GET_BE16
	movl	%eax, %ebx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpl	$15000, %ebx                    ## imm = 0x3A98
	jg	LBB0_64
## %bb.22:
	cmpq	$0, 40(%r13)
	je	LBB0_24
## %bb.23:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
LBB0_20:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
	jmp	LBB0_64
LBB0_30:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	jmp	LBB0_64
LBB0_33:
	movq	40(%r13), %rdi
	movq	-56(%rbp), %rdx
	movq	%r14, %rsi
	callq	_wpabuf_put_data
	movl	%r12d, %ebx
LBB0_34:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_EAP_PWD_GET_MORE_BIT
	testq	%rax, %rax
	je	LBB0_38
## %bb.35:
	movl	(%r15), %r15d
	movq	_EAP_TYPE_PWD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_EAP_PWD_HDR_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_eap_get_id
	movl	%r15d, %edi
	movl	%r14d, %esi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_eap_msg_alloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_EAP_PWD_GET_EXCHANGE
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_wpabuf_put_u8
LBB0_37:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-56(%rbp), %edx
	leaq	L_.str.15(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_64
LBB0_38:
	cmpq	$0, 24(%r13)
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	je	LBB0_41
## %bb.39:
	cmpq	$0, 40(%r13)
	je	LBB0_41
## %bb.40:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-56(%rbp), %edx
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	40(%r13), %rdi
	callq	_wpabuf_head_u8
	movq	%rax, %r14
	movq	24(%r13), %rax
	movq	%rax, -56(%rbp)
LBB0_41:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_EAP_PWD_GET_EXCHANGE
	movl	-56(%rbp), %ecx
	leaq	L_.str.17(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	%ebx, %edi
	callq	_EAP_PWD_GET_EXCHANGE
	cmpl	$130, %eax
	je	LBB0_46
## %bb.42:
	cmpl	$129, %eax
	je	LBB0_47
## %bb.43:
	cmpl	$128, %eax
	jne	LBB0_48
## %bb.44:
	movq	-56(%rbp), %r9
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_eap_pwd_perform_id_exchange
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_49
LBB0_24:
	movl	%ebx, %edi
	callq	_wpabuf_alloc
	movq	%rax, 40(%r13)
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	$0, 24(%r13)
	addq	$20, %r12
	addq	$-4, -56(%rbp)
	movq	%r12, %r14
	jmp	LBB0_27
LBB0_25:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_10
LBB0_46:
	movq	-56(%rbp), %r9
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_eap_pwd_perform_commit_exchange
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_49
LBB0_47:
	movq	-56(%rbp), %r9
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_eap_pwd_perform_confirm_exchange
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_49
LBB0_48:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.18(%rip), %rsi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	%ebx, %edi
LBB0_49:
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rdx
	cmpq	$0, 24(%r13)
	je	LBB0_51
## %bb.50:
	movq	40(%r13), %rdi
	callq	_wpabuf_free
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	$0, 40(%r13)
	movq	$0, 24(%r13)
LBB0_51:
	cmpq	$0, 32(%r13)
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_52
## %bb.53:
	callq	_EAP_PWD_GET_EXCHANGE
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	32(%r13), %rdi
	callq	_wpabuf_len
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)
	movq	_EAP_PWD_HDR_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	8(%r13), %r12
	movl	(%r15), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_EAP_TYPE_PWD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_EAP_CODE_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_eap_get_id
	cmpq	%r12, %rbx
	jbe	LBB0_55
## %bb.54:
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_eap_msg_alloc
	movq	%rax, %r14
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_EAP_PWD_SET_LENGTH_BIT
	movl	%ebx, %edi
	callq	_EAP_PWD_SET_MORE_BIT
	movq	8(%r13), %rax
	movq	_EAP_PWD_HDR_SIZE@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movl	-56(%rbp), %r15d
	addq	$-4, %rax
	movq	%rax, -56(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.19(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_56
LBB0_52:
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	(%rdx), %rax
	movq	%rax, (%rcx)
	xorl	%r14d, %r14d
	jmp	LBB0_64
LBB0_55:
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_eap_msg_alloc
	movq	%rax, %r14
	movl	-88(%rbp), %r15d                ## 4-byte Reload
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
LBB0_56:
	testq	%r14, %r14
	je	LBB0_57
## %bb.58:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_wpabuf_put_u8
	movl	%ebx, %edi
	callq	_EAP_PWD_GET_LENGTH_BIT
	testq	%rax, %rax
	je	LBB0_60
## %bb.59:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_wpabuf_put_be16
	movq	-56(%rbp), %rax
	addq	%rax, (%r13)
LBB0_60:
	movq	32(%r13), %rdi
	callq	_wpabuf_head_u8
	movq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_wpabuf_put_data
	cmpq	$0, (%r13)
	jne	LBB0_64
## %bb.61:
	movq	32(%r13), %rdi
	callq	_wpabuf_free
	movq	$0, 32(%r13)
	movq	$0, (%r13)
	movq	16(%r13), %rax
	movq	_SUCCESS_ON_FRAG_COMPLETION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_64
## %bb.62:
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	_DECISION_UNCOND_SUCC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	movq	_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	jmp	LBB0_63
LBB0_57:
	xorl	%r14d, %r14d
	jmp	LBB0_64
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_PWD,4,2               ## @EAP_TYPE_PWD
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-pwd: Got a frame but pos is %s and len is %d"

L_.str.1:                               ## @.str.1
	.asciz	"NULL"

L_.str.2:                               ## @.str.2
	.asciz	"not NULL"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_METHOD_MAY_CONT,8,3            ## @METHOD_MAY_CONT
	.comm	_DECISION_FAIL,8,3              ## @DECISION_FAIL
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.3:                               ## @.str.3
	.asciz	"Bad Response! Fragmenting but not an ACK"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-pwd: Got an ACK for a fragment"

	.comm	_EAP_PWD_HDR_SIZE,8,3           ## @EAP_PWD_HDR_SIZE
	.comm	_EAP_CODE_RESPONSE,4,2          ## @EAP_CODE_RESPONSE
L_.str.5:                               ## @.str.5
	.asciz	"Unable to allocate memory for next fragment!"

L_.str.6:                               ## @.str.6
	.asciz	"EAP-pwd: Send %s fragment of %d bytes"

L_.str.7:                               ## @.str.7
	.asciz	"last"

L_.str.8:                               ## @.str.8
	.asciz	"next"

	.comm	_SUCCESS_ON_FRAG_COMPLETION,8,3 ## @SUCCESS_ON_FRAG_COMPLETION
	.comm	_METHOD_DONE,8,3                ## @METHOD_DONE
	.comm	_DECISION_UNCOND_SUCC,8,3       ## @DECISION_UNCOND_SUCC
	.comm	_SUCCESS,4,2                    ## @SUCCESS
L_.str.9:                               ## @.str.9
	.asciz	"EAP-pwd: Frame too short to contain Total-Length field"

L_.str.10:                              ## @.str.10
	.asciz	"EAP-pwd: Incoming fragments whose total length = %d"

L_.str.11:                              ## @.str.11
	.asciz	"EAP-pwd: Unexpected new fragment start when previous fragment is still in use"

L_.str.12:                              ## @.str.12
	.asciz	"Out of memory to buffer fragments!"

L_.str.13:                              ## @.str.13
	.asciz	"EAP-pwd: No buffer for reassembly"

L_.str.14:                              ## @.str.14
	.asciz	"EAP-pwd: Buffer overflow attack detected (%d vs. %d)!"

L_.str.15:                              ## @.str.15
	.asciz	"EAP-pwd: ACKing a %d byte fragment"

L_.str.16:                              ## @.str.16
	.asciz	"EAP-pwd: Last fragment, %d bytes"

L_.str.17:                              ## @.str.17
	.asciz	"EAP-pwd: processing frame: exch %d, len %d"

L_.str.18:                              ## @.str.18
	.asciz	"EAP-pwd: Ignoring message with unknown opcode %d"

L_.str.19:                              ## @.str.19
	.asciz	"EAP-pwd: Fragmenting output, total length = %d"

	.no_dead_strip	_eap_pwd_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_pwd_process
_eap_pwd_process:                       ; @eap_pwd_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x24, x0
Lloh0:
	adrp	x28, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x28, [x28, _EAP_VENDOR_IETF@GOTPAGEOFF]
	ldr	w0, [x28]
Lloh2:
	adrp	x27, _EAP_TYPE_PWD@GOTPAGE
Lloh3:
	ldr	x27, [x27, _EAP_TYPE_PWD@GOTPAGEOFF]
	ldr	w1, [x27]
	add	x3, sp, #24
	mov	x2, x21
	bl	_eap_hdr_validate
	mov	x26, x0
	ldr	x8, [sp, #24]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_4
; %bb.1:
Lloh4:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh9:
	adrp	x10, l_.str.1@PAGE
Lloh10:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x26, #0
	csel	x9, x10, x9, eq
	stp	x9, x8, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
LBB0_2:
	bl	_wpa_printf
	mov	x21, #0
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
Lloh16:
	adrp	x9, _FALSE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh18:
	adrp	x11, _METHOD_MAY_CONT@GOTPAGE
Lloh19:
	ldr	x11, [x11, _METHOD_MAY_CONT@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
Lloh21:
	adrp	x23, _DECISION_FAIL@GOTPAGE
Lloh22:
	ldr	x23, [x23, _DECISION_FAIL@GOTPAGEOFF]
	ldr	x12, [x23]
	stp	x12, x11, [x19]
	ldr	x9, [x9]
	stp	x10, x9, [x19, #16]
	mov	x25, x26
	ldr	w22, [x25], #4
	sub	x8, x8, #1
	str	x8, [sp, #24]
	ldr	x9, [x20]
	cbz	x9, LBB0_12
; %bb.5:
	cbz	x8, LBB0_7
; %bb.6:
Lloh23:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
LBB0_7:
Lloh28:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x20, #32]
	bl	_wpabuf_len
Lloh33:
	adrp	x24, _EAP_PWD_HDR_SIZE@GOTPAGE
Lloh34:
	ldr	x24, [x24, _EAP_PWD_HDR_SIZE@GOTPAGEOFF]
	ldr	x8, [x24]
	ldp	x10, x9, [x20]
	sub	x10, x0, x10
	add	x23, x8, x10
	str	x10, [sp, #24]
	cmp	x23, x9
	b.ls	LBB0_9
; %bb.8:
	sub	x8, x9, x8
	str	x8, [sp, #24]
	mov	x0, x22
	bl	_EAP_PWD_SET_MORE_BIT
	ldr	x8, [x24]
	ldr	x9, [sp, #24]
	add	x23, x9, x8
LBB0_9:
	ldr	w24, [x28]
	ldr	w25, [x27]
Lloh35:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh37:
	ldr	w26, [x8]
	mov	x0, x21
	bl	_eap_get_id
	mov	x4, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x23
	mov	x3, x26
	bl	_eap_msg_alloc
	mov	x21, x0
	cbz	x0, LBB0_15
; %bb.10:
	mov	x0, x21
	mov	x1, x22
	bl	_wpabuf_put_u8
	ldr	x0, [x20, #32]
	bl	_wpabuf_head_u8
	ldr	x8, [x20]
	add	x1, x0, x8, lsl #2
	ldr	x2, [sp, #24]
	mov	x0, x21
	bl	_wpabuf_put_data
	ldr	x8, [sp, #24]
	ldr	x9, [x20]
	add	x22, x9, x8
	str	x22, [x20]
	ldr	x0, [x20, #32]
	bl	_wpabuf_len
	cmp	x22, x0
	b.hs	LBB0_16
; %bb.11:
	ldr	x8, [x20]
Lloh38:
	adrp	x9, l_.str.8@PAGE
Lloh39:
	add	x9, x9, l_.str.8@PAGEOFF
Lloh40:
	adrp	x10, l_.str.7@PAGE
Lloh41:
	add	x10, x10, l_.str.7@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	b	LBB0_17
LBB0_12:
	mov	x0, x22
	bl	_EAP_PWD_GET_LENGTH_BIT
	cbz	x0, LBB0_20
; %bb.13:
	ldr	x8, [sp, #24]
	cmp	x8, #1
	b.hi	LBB0_26
; %bb.14:
Lloh42:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x1, l_.str.9@PAGE
Lloh46:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_2
LBB0_15:
Lloh47:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.5@PAGE
Lloh51:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	b	LBB0_3
LBB0_16:
	ldr	x0, [x20, #32]
	bl	_wpabuf_free
	str	xzr, [x20, #32]
	str	xzr, [x20]
Lloh52:
	adrp	x8, l_.str.7@PAGE
Lloh53:
	add	x8, x8, l_.str.7@PAGEOFF
LBB0_17:
Lloh54:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh55:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x9]
	ldr	x9, [sp, #24]
	stp	x8, x9, [sp]
Lloh57:
	adrp	x1, l_.str.6@PAGE
Lloh58:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_wpa_printf
LBB0_18:
	ldr	x8, [x20, #16]
Lloh59:
	adrp	x9, _SUCCESS_ON_FRAG_COMPLETION@GOTPAGE
Lloh60:
	ldr	x9, [x9, _SUCCESS_ON_FRAG_COMPLETION@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.19:
Lloh62:
	adrp	x8, _METHOD_DONE@GOTPAGE
Lloh63:
	ldr	x8, [x8, _METHOD_DONE@GOTPAGEOFF]
Lloh64:
	ldr	x8, [x8]
Lloh65:
	adrp	x9, _DECISION_UNCOND_SUCC@GOTPAGE
Lloh66:
	ldr	x9, [x9, _DECISION_UNCOND_SUCC@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	stp	x9, x8, [x19]
Lloh68:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_eap_pwd_state
	b	LBB0_3
LBB0_20:
	str	xzr, [sp, #16]                  ; 8-byte Folded Spill
LBB0_21:
	mov	x0, x22
	bl	_EAP_PWD_GET_MORE_BIT
	cbnz	x0, LBB0_23
; %bb.22:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_33
LBB0_23:
	ldr	x0, [x20, #40]
	cbz	x0, LBB0_30
; %bb.24:
	ldr	x8, [sp, #24]
	ldr	x9, [x20, #24]
	add	x26, x9, x8
	str	x26, [x20, #24]
	bl	_wpabuf_size
	cmp	x26, x0
	b.ls	LBB0_32
; %bb.25:
Lloh71:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh72:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh73:
	ldr	w19, [x8]
	ldr	x21, [x20, #24]
	ldr	x0, [x20, #40]
	bl	_wpabuf_len
	stp	x21, x0, [sp]
Lloh74:
	adrp	x1, l_.str.14@PAGE
Lloh75:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_wpa_printf
	ldr	x0, [x20, #40]
	bl	_wpabuf_free
	mov	x21, #0
	str	xzr, [x20, #40]
	str	xzr, [x20, #24]
	b	LBB0_3
LBB0_26:
	mov	x0, x25
	bl	_WPA_GET_BE16
	mov	x25, x0
Lloh76:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
	str	x25, [sp]
Lloh79:
	adrp	x1, l_.str.10@PAGE
Lloh80:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	mov	w8, #15000
	str	x25, [sp, #16]                  ; 8-byte Folded Spill
	cmp	w25, w8
	b.le	LBB0_28
; %bb.27:
	mov	x21, #0
	b	LBB0_3
LBB0_28:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_44
; %bb.29:
Lloh81:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
Lloh84:
	adrp	x1, l_.str.11@PAGE
Lloh85:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_2
LBB0_30:
Lloh86:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh87:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh88:
	ldr	w0, [x8]
Lloh89:
	adrp	x1, l_.str.13@PAGE
Lloh90:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_wpa_printf
LBB0_31:
	mov	x21, #0
Lloh91:
	adrp	x8, _METHOD_DONE@GOTPAGE
Lloh92:
	ldr	x8, [x8, _METHOD_DONE@GOTPAGEOFF]
Lloh93:
	ldr	x8, [x8]
	ldr	x9, [x23]
	stp	x9, x8, [x19]
	b	LBB0_3
LBB0_32:
	ldr	x0, [x20, #40]
	ldr	x2, [sp, #24]
	mov	x1, x25
	bl	_wpabuf_put_data
LBB0_33:
	mov	x0, x22
	bl	_EAP_PWD_GET_MORE_BIT
	cbz	x0, LBB0_37
; %bb.34:
	ldr	w19, [x28]
	ldr	w20, [x27]
Lloh94:
	adrp	x8, _EAP_PWD_HDR_SIZE@GOTPAGE
Lloh95:
	ldr	x8, [x8, _EAP_PWD_HDR_SIZE@GOTPAGEOFF]
Lloh96:
	ldr	x23, [x8]
Lloh97:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh98:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh99:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_eap_get_id
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	bl	_eap_msg_alloc
	mov	x21, x0
	cbz	x0, LBB0_36
; %bb.35:
	mov	x0, x22
	bl	_EAP_PWD_GET_EXCHANGE
	mov	x1, x0
	mov	x0, x21
	bl	_wpabuf_put_u8
LBB0_36:
Lloh100:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh101:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh102:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh103:
	adrp	x1, l_.str.15@PAGE
Lloh104:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_wpa_printf
	b	LBB0_3
LBB0_37:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_40
; %bb.38:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_40
; %bb.39:
Lloh105:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh106:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh107:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh108:
	adrp	x1, l_.str.16@PAGE
Lloh109:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_wpa_printf
	ldr	x0, [x20, #40]
	bl	_wpabuf_head_u8
	mov	x25, x0
	ldr	x8, [x20, #24]
	str	x8, [sp, #24]
LBB0_40:
Lloh110:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh111:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh112:
	ldr	w26, [x8]
	mov	x0, x22
	bl	_EAP_PWD_GET_EXCHANGE
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [sp, #24]
	stp	x0, x8, [sp]
Lloh113:
	adrp	x1, l_.str.17@PAGE
Lloh114:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x26
	bl	_wpa_printf
	mov	x0, x22
	bl	_EAP_PWD_GET_EXCHANGE
	cmp	w0, #130
	b.eq	LBB0_47
; %bb.41:
	cmp	w0, #129
	b.eq	LBB0_48
; %bb.42:
	cmp	w0, #128
	b.ne	LBB0_49
; %bb.43:
	ldr	x5, [sp, #24]
	mov	x0, x24
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	mov	x4, x25
	bl	_eap_pwd_perform_id_exchange
	b	LBB0_50
LBB0_44:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_wpabuf_alloc
	str	x0, [x20, #40]
	cbz	x0, LBB0_46
; %bb.45:
	str	xzr, [x20, #24]
	add	x25, x26, #20
	ldr	x8, [sp, #24]
	sub	x8, x8, #4
	str	x8, [sp, #24]
	b	LBB0_21
LBB0_46:
Lloh115:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh116:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh117:
	ldr	w0, [x8]
Lloh118:
	adrp	x1, l_.str.12@PAGE
Lloh119:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_wpa_printf
	mov	x21, #0
	b	LBB0_3
LBB0_47:
	ldr	x5, [sp, #24]
	mov	x0, x24
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	mov	x4, x25
	bl	_eap_pwd_perform_commit_exchange
	b	LBB0_50
LBB0_48:
	ldr	x5, [sp, #24]
	mov	x0, x24
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	mov	x4, x25
	bl	_eap_pwd_perform_confirm_exchange
	b	LBB0_50
LBB0_49:
Lloh120:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh121:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh122:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh123:
	adrp	x1, l_.str.18@PAGE
Lloh124:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_wpa_printf
LBB0_50:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_52
; %bb.51:
	ldr	x0, [x20, #40]
	bl	_wpabuf_free
	str	xzr, [x20, #40]
	str	xzr, [x20, #24]
LBB0_52:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_31
; %bb.53:
	mov	x0, x22
	bl	_EAP_PWD_GET_EXCHANGE
	mov	x23, x0
	ldr	x0, [x20, #32]
	bl	_wpabuf_len
	str	x0, [sp, #24]
Lloh125:
	adrp	x8, _EAP_PWD_HDR_SIZE@GOTPAGE
Lloh126:
	ldr	x8, [x8, _EAP_PWD_HDR_SIZE@GOTPAGEOFF]
Lloh127:
	ldr	x8, [x8]
	add	x25, x8, x0
	ldr	x22, [x20, #8]
	ldr	w26, [x28]
	ldr	w27, [x27]
Lloh128:
	adrp	x8, _EAP_CODE_RESPONSE@GOTPAGE
Lloh129:
	ldr	x8, [x8, _EAP_CODE_RESPONSE@GOTPAGEOFF]
Lloh130:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_eap_get_id
	mov	x4, x0
	mov	x0, x26
	mov	x1, x27
	cmp	x25, x22
	b.ls	LBB0_55
; %bb.54:
	mov	x2, x22
	mov	x3, x24
	bl	_eap_msg_alloc
	mov	x21, x0
	mov	x0, x23
	bl	_EAP_PWD_SET_LENGTH_BIT
	mov	x0, x23
	bl	_EAP_PWD_SET_MORE_BIT
	ldr	x22, [sp, #24]
	ldr	x8, [x20, #8]
Lloh131:
	adrp	x9, _EAP_PWD_HDR_SIZE@GOTPAGE
Lloh132:
	ldr	x9, [x9, _EAP_PWD_HDR_SIZE@GOTPAGEOFF]
Lloh133:
	ldr	x9, [x9]
	sub	x8, x8, x9
	sub	x8, x8, #4
	str	x8, [sp, #24]
Lloh134:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh135:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh136:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh137:
	adrp	x1, l_.str.19@PAGE
Lloh138:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_wpa_printf
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_56
LBB0_55:
	mov	x2, x25
	mov	x3, x24
	bl	_eap_msg_alloc
	mov	x21, x0
LBB0_56:
	cbz	x21, LBB0_3
; %bb.57:
	mov	x0, x21
	mov	x1, x23
	bl	_wpabuf_put_u8
	mov	x0, x23
	bl	_EAP_PWD_GET_LENGTH_BIT
	cbz	x0, LBB0_59
; %bb.58:
	mov	x0, x21
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_wpabuf_put_be16
	ldr	x8, [sp, #24]
	ldr	x9, [x20]
	add	x8, x9, x8
	str	x8, [x20]
LBB0_59:
	ldr	x0, [x20, #32]
	bl	_wpabuf_head_u8
	mov	x1, x0
	ldr	x2, [sp, #24]
	mov	x0, x21
	bl	_wpabuf_put_data
	ldr	x8, [x20]
	cbnz	x8, LBB0_3
; %bb.60:
	ldr	x0, [x20, #32]
	bl	_wpabuf_free
	str	xzr, [x20, #32]
	str	xzr, [x20]
	b	LBB0_18
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpAdd	Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_PWD,4,2               ; @EAP_TYPE_PWD
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-pwd: Got a frame but pos is %s and len is %d"

l_.str.1:                               ; @.str.1
	.asciz	"NULL"

l_.str.2:                               ; @.str.2
	.asciz	"not NULL"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_METHOD_MAY_CONT,8,3            ; @METHOD_MAY_CONT
	.comm	_DECISION_FAIL,8,3              ; @DECISION_FAIL
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.3:                               ; @.str.3
	.asciz	"Bad Response! Fragmenting but not an ACK"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-pwd: Got an ACK for a fragment"

	.comm	_EAP_PWD_HDR_SIZE,8,3           ; @EAP_PWD_HDR_SIZE
	.comm	_EAP_CODE_RESPONSE,4,2          ; @EAP_CODE_RESPONSE
l_.str.5:                               ; @.str.5
	.asciz	"Unable to allocate memory for next fragment!"

l_.str.6:                               ; @.str.6
	.asciz	"EAP-pwd: Send %s fragment of %d bytes"

l_.str.7:                               ; @.str.7
	.asciz	"last"

l_.str.8:                               ; @.str.8
	.asciz	"next"

	.comm	_SUCCESS_ON_FRAG_COMPLETION,8,3 ; @SUCCESS_ON_FRAG_COMPLETION
	.comm	_METHOD_DONE,8,3                ; @METHOD_DONE
	.comm	_DECISION_UNCOND_SUCC,8,3       ; @DECISION_UNCOND_SUCC
	.comm	_SUCCESS,4,2                    ; @SUCCESS
l_.str.9:                               ; @.str.9
	.asciz	"EAP-pwd: Frame too short to contain Total-Length field"

l_.str.10:                              ; @.str.10
	.asciz	"EAP-pwd: Incoming fragments whose total length = %d"

l_.str.11:                              ; @.str.11
	.asciz	"EAP-pwd: Unexpected new fragment start when previous fragment is still in use"

l_.str.12:                              ; @.str.12
	.asciz	"Out of memory to buffer fragments!"

l_.str.13:                              ; @.str.13
	.asciz	"EAP-pwd: No buffer for reassembly"

l_.str.14:                              ; @.str.14
	.asciz	"EAP-pwd: Buffer overflow attack detected (%d vs. %d)!"

l_.str.15:                              ; @.str.15
	.asciz	"EAP-pwd: ACKing a %d byte fragment"

l_.str.16:                              ; @.str.16
	.asciz	"EAP-pwd: Last fragment, %d bytes"

l_.str.17:                              ; @.str.17
	.asciz	"EAP-pwd: processing frame: exch %d, len %d"

l_.str.18:                              ; @.str.18
	.asciz	"EAP-pwd: Ignoring message with unknown opcode %d"

l_.str.19:                              ; @.str.19
	.asciz	"EAP-pwd: Fragmenting output, total length = %d"

	.no_dead_strip	_eap_pwd_process
.subsections_via_symbols
