	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_pwd_check
_eap_pwd_check:                         ## @eap_pwd_check
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_PWD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, -32(%rbp)
	je	LBB0_5
## %bb.2:
	movq	%rax, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	(%rbx), %rdi
	callq	_EAP_PWD_GET_EXCHANGE
	movl	-32(%rbp), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%r14), %ecx
	movq	_PWD_ID_Req@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_7
## %bb.3:
	movq	(%rbx), %rdi
	callq	_EAP_PWD_GET_EXCHANGE
	movq	_EAP_PWD_OPCODE_ID_EXCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.6:
	movl	(%r14), %ecx
LBB0_7:
	movq	_PWD_Commit_Req@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_11
## %bb.8:
	movq	(%rbx), %rdi
	callq	_EAP_PWD_GET_EXCHANGE
	movq	_EAP_PWD_OPCODE_COMMIT_EXCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.10:
	movl	(%r14), %ecx
LBB0_11:
	movq	_PWD_Confirm_Req@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_15
## %bb.12:
	movq	(%rbx), %rdi
	callq	_EAP_PWD_GET_EXCHANGE
	movq	_EAP_PWD_OPCODE_CONFIRM_EXCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_5:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_16
LBB0_14:
	movl	(%r14), %ecx
LBB0_15:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_16:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_PWD,4,2               ## @EAP_TYPE_PWD
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-pwd: Invalid frame"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"EAP-pwd: Received frame: exch = %d, len = %d"

	.comm	_PWD_ID_Req,4,2                 ## @PWD_ID_Req
	.comm	_EAP_PWD_OPCODE_ID_EXCH,8,3     ## @EAP_PWD_OPCODE_ID_EXCH
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_PWD_Commit_Req,4,2             ## @PWD_Commit_Req
	.comm	_EAP_PWD_OPCODE_COMMIT_EXCH,8,3 ## @EAP_PWD_OPCODE_COMMIT_EXCH
	.comm	_PWD_Confirm_Req,4,2            ## @PWD_Confirm_Req
	.comm	_EAP_PWD_OPCODE_CONFIRM_EXCH,8,3 ## @EAP_PWD_OPCODE_CONFIRM_EXCH
L_.str.2:                               ## @.str.2
	.asciz	"EAP-pwd: Unexpected opcode=%d in state=%d"

	.no_dead_strip	_eap_pwd_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_pwd_check
_eap_pwd_check:                         ; @eap_pwd_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_TYPE_PWD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_PWD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #24
	bl	_eap_hdr_validate
	ldr	x8, [sp, #24]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_13
LBB0_2:
	mov	x20, x0
Lloh11:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	ldr	x0, [x0]
	bl	_EAP_PWD_GET_EXCHANGE
	ldr	x8, [sp, #24]
	stp	x0, x8, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_wpa_printf
	ldr	w8, [x19]
Lloh16:
	adrp	x9, _PWD_ID_Req@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PWD_ID_Req@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.3:
	ldr	x0, [x20]
	bl	_EAP_PWD_GET_EXCHANGE
Lloh19:
	adrp	x8, _EAP_PWD_OPCODE_ID_EXCH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EAP_PWD_OPCODE_ID_EXCH@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.4:
	ldr	w8, [x19]
LBB0_5:
Lloh22:
	adrp	x9, _PWD_Commit_Req@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PWD_Commit_Req@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.6:
	ldr	x0, [x20]
	bl	_EAP_PWD_GET_EXCHANGE
Lloh25:
	adrp	x8, _EAP_PWD_OPCODE_COMMIT_EXCH@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EAP_PWD_OPCODE_COMMIT_EXCH@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.7:
	ldr	w8, [x19]
LBB0_8:
Lloh28:
	adrp	x9, _PWD_Confirm_Req@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PWD_Confirm_Req@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.9:
	ldr	x0, [x20]
	bl	_EAP_PWD_GET_EXCHANGE
Lloh31:
	adrp	x8, _EAP_PWD_OPCODE_CONFIRM_EXCH@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EAP_PWD_OPCODE_CONFIRM_EXCH@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
LBB0_10:
Lloh34:
	adrp	x8, _FALSE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w8, [x19]
LBB0_12:
Lloh36:
	adrp	x9, _MSG_INFO@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MSG_INFO@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x9]
	ldr	x9, [x20]
	stp	x9, x8, [sp]
Lloh39:
	adrp	x1, l_.str.2@PAGE
Lloh40:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_13:
	bl	_wpa_printf
Lloh41:
	adrp	x8, _TRUE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_PWD,4,2               ; @EAP_TYPE_PWD
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-pwd: Invalid frame"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"EAP-pwd: Received frame: exch = %d, len = %d"

	.comm	_PWD_ID_Req,4,2                 ; @PWD_ID_Req
	.comm	_EAP_PWD_OPCODE_ID_EXCH,8,3     ; @EAP_PWD_OPCODE_ID_EXCH
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_PWD_Commit_Req,4,2             ; @PWD_Commit_Req
	.comm	_EAP_PWD_OPCODE_COMMIT_EXCH,8,3 ; @EAP_PWD_OPCODE_COMMIT_EXCH
	.comm	_PWD_Confirm_Req,4,2            ; @PWD_Confirm_Req
	.comm	_EAP_PWD_OPCODE_CONFIRM_EXCH,8,3 ; @EAP_PWD_OPCODE_CONFIRM_EXCH
l_.str.2:                               ; @.str.2
	.asciz	"EAP-pwd: Unexpected opcode=%d in state=%d"

	.no_dead_strip	_eap_pwd_check
.subsections_via_symbols
