	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_wsc_process
_eap_wsc_process:                       ## @eap_wsc_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_EAP_VENDOR_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_VENDOR_TYPE_WSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-104(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$1, -104(%rbp)
	jbe	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_eap_get_id
	movq	-104(%rbp), %rdx
	movl	(%r13), %r12d
	movl	4(%r13), %r15d
	leaq	8(%r13), %rdi
	movq	_WSC_FLAGS_LF@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	je	LBB0_4
## %bb.5:
	cmpq	$3, %rdx
	jg	LBB0_7
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	jmp	LBB0_53
LBB0_2:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_53
LBB0_4:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_7:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	callq	_WPA_GET_BE16
	cmpl	$50000, %eax                    ## imm = 0xC350
	jg	LBB0_54
## %bb.8:
	movl	%eax, %ebx
	cltq
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	-16(,%rcx,4), %rcx
	sarq	$2, %rcx
	cmpq	%rax, %rcx
	jg	LBB0_54
## %bb.9:
	leaq	16(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_10:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_WAIT_FRAG_ACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.11:
	movq	_WSC_FRAG_ACK@GOTPCREL(%rip), %rax
	movl	(%r14), %edi
	cmpl	(%rax), %r12d
	jne	LBB0_12
## %bb.15:
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MESG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_eap_wsc_state
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_eap_wsc_build_msg
	movq	%rax, %rbx
	jmp	LBB0_53
LBB0_16:
	movq	_WSC_ACK@GOTPCREL(%rip), %rdx
	movq	_WSC_Start@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	(%rdx), %r12d
	je	LBB0_22
## %bb.17:
	movq	_WSC_NACK@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r12d
	je	LBB0_22
## %bb.18:
	movq	_WSC_MSG@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r12d
	je	LBB0_22
## %bb.19:
	movq	_WSC_Done@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %r12d
	je	LBB0_22
## %bb.20:
	cmpl	%ecx, %r12d
	jne	LBB0_21
LBB0_22:
	movq	_WAIT_START@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_26
## %bb.23:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	cmpl	%ecx, %r12d
	jne	LBB0_24
## %bb.25:
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MESG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_eap_wsc_state
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_45
LBB0_54:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_13
LBB0_26:
	cmpl	%ecx, %r12d
	jne	LBB0_27
LBB0_21:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_13:
	xorl	%ebx, %ebx
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_14:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
LBB0_53:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_13
LBB0_27:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r13,%rax,4), %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 32(%rdi)
	je	LBB0_30
## %bb.28:
	movq	%r13, %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	subq	%rsi, %rdx
	shrq	$2, %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r12d, %ecx
	callq	_eap_wsc_process_cont
	testq	%rax, %rax
	js	LBB0_29
LBB0_30:
	movq	_WSC_FLAGS_MF@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_32
## %bb.31:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	subq	%rax, %r13
	shrq	$2, %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movl	%ebx, %r9d
	pushq	%r13
	pushq	%rax
	callq	_eap_wsc_process_fragment
	addq	$16, %rsp
	movq	%rax, %rbx
	jmp	LBB0_53
LBB0_32:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	32(%r15), %r14
	testq	%r14, %r14
	jne	LBB0_34
## %bb.33:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	subq	%rsi, %r13
	shrq	$2, %r13
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_wpabuf_set
	movq	%r14, 32(%r15)
LBB0_34:
	movl	28(%r15), %edi
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_wps_process_msg
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_39
## %bb.35:
	cmpl	$130, %eax
	je	LBB0_36
## %bb.37:
	cmpl	$131, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	jne	LBB0_42
## %bb.38:
	movq	_MESG@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_29:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_53
LBB0_39:
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_40
LBB0_36:
	leaq	L_.str.8(%rip), %rsi
LBB0_40:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_FAIL@GOTPCREL(%rip), %rax
LBB0_41:
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_eap_wsc_state
LBB0_42:
	movq	32(%r15), %rdi
	leaq	-96(%rbp), %rax
	cmpq	%rax, %rdi
	je	LBB0_44
## %bb.43:
	callq	_wpabuf_free
LBB0_44:
	movq	$0, 32(%r15)
LBB0_45:
	cmpq	$0, 16(%r15)
	jne	LBB0_49
## %bb.46:
	movl	28(%r15), %edi
	leaq	24(%r15), %rsi
	callq	_wps_get_msg
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_47
## %bb.48:
	movq	$0, 8(%r15)
LBB0_49:
	movq	_MESG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_eap_wsc_state
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_eap_wsc_build_msg
	movq	%rax, %rbx
	movq	(%r15), %rax
	movq	_FAIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_53
## %bb.50:
	movq	(%r14), %rax
	movq	_METHOD_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_53
## %bb.51:
	cmpl	$3, (%r12)
	jl	LBB0_53
## %bb.52:
	movl	$2, (%r12)
	jmp	LBB0_53
LBB0_47:
	movl	(%rbx), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_eap_wsc_state
	movq	_METHOD_DONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	jmp	LBB0_53
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_WFA,4,2             ## @EAP_VENDOR_WFA
	.comm	_EAP_VENDOR_TYPE_WSC,4,2        ## @EAP_VENDOR_TYPE_WSC
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_WSC_FLAGS_LF,4,2               ## @WSC_FLAGS_LF
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-WSC: Message underflow"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-WSC: Invalid Message Length"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-WSC: Received packet: Op-Code %d Flags 0x%x Message Length %d"

	.comm	_WAIT_FRAG_ACK,8,3              ## @WAIT_FRAG_ACK
	.comm	_WSC_FRAG_ACK,4,2               ## @WSC_FRAG_ACK
L_.str.3:                               ## @.str.3
	.asciz	"EAP-WSC: Unexpected Op-Code %d in WAIT_FRAG_ACK state"

L_.str.4:                               ## @.str.4
	.asciz	"EAP-WSC: Fragment acknowledged"

	.comm	_MESG,8,3                       ## @MESG
	.comm	_WSC_ACK,4,2                    ## @WSC_ACK
	.comm	_WSC_NACK,4,2                   ## @WSC_NACK
	.comm	_WSC_MSG,4,2                    ## @WSC_MSG
	.comm	_WSC_Done,4,2                   ## @WSC_Done
	.comm	_WSC_Start,4,2                  ## @WSC_Start
L_.str.5:                               ## @.str.5
	.asciz	"EAP-WSC: Unexpected Op-Code %d"

	.comm	_WAIT_START,8,3                 ## @WAIT_START
L_.str.6:                               ## @.str.6
	.asciz	"EAP-WSC: Unexpected Op-Code %d in WAIT_START state"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-WSC: Received start"

	.comm	_WSC_FLAGS_MF,4,2               ## @WSC_FLAGS_MF
L_.str.8:                               ## @.str.8
	.asciz	"EAP-WSC: WPS processing completed successfully - wait for EAP failure"

	.comm	_FAIL,8,3                       ## @FAIL
L_.str.9:                               ## @.str.9
	.asciz	"EAP-WSC: WPS processing failed"

L_.str.10:                              ## @.str.10
	.asciz	"EAP-WSC: Failed to receive message from WPS"

	.comm	_METHOD_DONE,8,3                ## @METHOD_DONE
	.comm	_DECISION_FAIL,4,2              ## @DECISION_FAIL
	.no_dead_strip	_eap_wsc_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_wsc_process
_eap_wsc_process:                       ; @eap_wsc_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _EAP_VENDOR_WFA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_WFA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_VENDOR_TYPE_WSC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_VENDOR_TYPE_WSC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #40
	mov	x2, x22
	bl	_eap_hdr_validate
	ldr	x8, [sp, #40]
	cmp	x0, #0
	ccmp	x8, #1, #0, ne
	b.ls	LBB0_19
; %bb.1:
	mov	x26, x0
	mov	x0, x22
	bl	_eap_get_id
	mov	x22, x0
	ldr	x28, [sp, #40]
	add	x24, x26, #8
	ldp	w23, w25, [x26]
Lloh6:
	adrp	x8, _WSC_FLAGS_LF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WSC_FLAGS_LF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_4
; %bb.2:
	cmp	x28, #3
	b.gt	LBB0_5
; %bb.3:
Lloh9:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_18
LBB0_4:
	str	w22, [sp, #28]                  ; 4-byte Folded Spill
	mov	w27, #0
	b	LBB0_8
LBB0_5:
	mov	x0, x24
	bl	_WPA_GET_BE16
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	lsl	x9, x28, #2
	sub	x9, x9, #16
	asr	x9, x9, #2
	mov	w10, #50000
	cmp	w0, w10
	ccmp	x9, x8, #0, le
	b.le	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_7:
	str	w22, [sp, #28]                  ; 4-byte Folded Spill
	add	x24, x26, #16
	mov	x27, x0
LBB0_8:
Lloh19:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh20:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
	stp	x25, x27, [sp, #8]
	str	x23, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x20]
Lloh23:
	adrp	x9, _WAIT_FRAG_ACK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _WAIT_FRAG_ACK@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
Lloh26:
	adrp	x8, _WSC_FRAG_ACK@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WSC_FRAG_ACK@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w0, [x22]
	cmp	w23, w8
	b.ne	LBB0_15
; %bb.10:
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
Lloh31:
	adrp	x8, _MESG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MESG@GOTPAGEOFF]
Lloh33:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_eap_wsc_state
	mov	x0, x20
	mov	x1, x19
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_eap_wsc_build_msg
	b	LBB0_20
LBB0_11:
Lloh34:
	adrp	x9, _WSC_ACK@GOTPAGE
Lloh35:
	ldr	x9, [x9, _WSC_ACK@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x9]
Lloh37:
	adrp	x9, _WSC_NACK@GOTPAGE
Lloh38:
	ldr	x9, [x9, _WSC_NACK@GOTPAGEOFF]
Lloh39:
	ldr	w11, [x9]
Lloh40:
	adrp	x9, _WSC_MSG@GOTPAGE
Lloh41:
	ldr	x9, [x9, _WSC_MSG@GOTPAGEOFF]
Lloh42:
	ldr	w12, [x9]
Lloh43:
	adrp	x9, _WSC_Done@GOTPAGE
Lloh44:
	ldr	x9, [x9, _WSC_Done@GOTPAGEOFF]
Lloh45:
	ldr	w13, [x9]
Lloh46:
	adrp	x9, _WSC_Start@GOTPAGE
Lloh47:
	ldr	x9, [x9, _WSC_Start@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	cmp	w23, w10
	ccmp	w23, w11, #4, ne
	ccmp	w23, w12, #4, ne
	ccmp	w23, w13, #4, ne
	ccmp	w23, w9, #4, ne
	b.ne	LBB0_17
; %bb.12:
Lloh49:
	adrp	x10, _WAIT_START@GOTPAGE
Lloh50:
	ldr	x10, [x10, _WAIT_START@GOTPAGEOFF]
Lloh51:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_16
; %bb.13:
Lloh52:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh53:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
	cmp	w23, w9
	b.ne	LBB0_21
; %bb.14:
Lloh54:
	adrp	x1, l_.str.7@PAGE
Lloh55:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_wpa_printf
Lloh56:
	adrp	x8, _MESG@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MESG@GOTPAGEOFF]
Lloh58:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_eap_wsc_state
	ldr	w22, [sp, #28]                  ; 4-byte Folded Reload
	b	LBB0_39
LBB0_15:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh59:
	adrp	x1, l_.str.3@PAGE
Lloh60:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_16:
	cmp	w23, w9
	b.ne	LBB0_22
LBB0_17:
Lloh61:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh64:
	adrp	x1, l_.str.5@PAGE
Lloh65:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_18:
	bl	_wpa_printf
LBB0_19:
	mov	x0, #0
Lloh66:
	adrp	x8, _TRUE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_20:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_21:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh69:
	adrp	x1, l_.str.6@PAGE
Lloh70:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_18
LBB0_22:
	add	x26, x26, x28, lsl #2
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_24
; %bb.23:
	sub	x8, x26, x24
	lsr	x2, x8, #2
	mov	x0, x20
	mov	x1, x24
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x23
	bl	_eap_wsc_process_cont
	tbnz	x0, #63, LBB0_19
LBB0_24:
Lloh71:
	adrp	x8, _WSC_FLAGS_MF@GOTPAGE
Lloh72:
	ldr	x8, [x8, _WSC_FLAGS_MF@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_26
; %bb.25:
	sub	x8, x26, x24
	lsr	x7, x8, #2
	mov	x0, x20
	mov	x1, x19
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	mov	x3, x25
	mov	x4, x23
	mov	x5, x27
	mov	x6, x24
                                        ; kill: def $w7 killed $w7 killed $x7
	bl	_eap_wsc_process_fragment
	b	LBB0_20
LBB0_26:
	ldr	x25, [x20, #32]
	cbnz	x25, LBB0_28
; %bb.27:
	sub	x8, x26, x24
	lsr	x2, x8, #2
	add	x25, sp, #32
	add	x0, sp, #32
	mov	x1, x24
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpabuf_set
	str	x25, [x20, #32]
LBB0_28:
	ldr	w0, [x20, #28]
	mov	x1, x23
	mov	x2, x25
	bl	_wps_process_msg
	sub	w8, w0, #128
	cmp	w8, #2
	ldr	w22, [sp, #28]                  ; 4-byte Folded Reload
	b.lo	LBB0_32
; %bb.29:
	cmp	w0, #130
	b.eq	LBB0_33
; %bb.30:
	cmp	w0, #131
Lloh74:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh75:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	b.ne	LBB0_36
; %bb.31:
Lloh76:
	adrp	x8, _MESG@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MESG@GOTPAGEOFF]
	b	LBB0_35
LBB0_32:
Lloh78:
	adrp	x1, l_.str.9@PAGE
Lloh79:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_34
LBB0_33:
Lloh80:
	adrp	x1, l_.str.8@PAGE
Lloh81:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_34:
Lloh82:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh83:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_wpa_printf
Lloh84:
	adrp	x8, _FAIL@GOTPAGE
Lloh85:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
LBB0_35:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_eap_wsc_state
LBB0_36:
	ldr	x0, [x20, #32]
	add	x8, sp, #32
	cmp	x0, x8
	b.eq	LBB0_38
; %bb.37:
	bl	_wpabuf_free
LBB0_38:
	str	xzr, [x20, #32]
LBB0_39:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_42
; %bb.40:
	ldr	w0, [x20, #28]
	add	x1, x20, #24
	bl	_wps_get_msg
	str	x0, [x20, #16]
	cbz	x0, LBB0_46
; %bb.41:
	str	xzr, [x20, #8]
LBB0_42:
Lloh86:
	adrp	x8, _MESG@GOTPAGE
Lloh87:
	ldr	x8, [x8, _MESG@GOTPAGEOFF]
Lloh88:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_eap_wsc_state
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_eap_wsc_build_msg
	ldr	x8, [x20]
Lloh89:
	adrp	x9, _FAIL@GOTPAGE
Lloh90:
	ldr	x9, [x9, _FAIL@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.43:
	ldr	x8, [x19]
Lloh92:
	adrp	x9, _METHOD_DONE@GOTPAGE
Lloh93:
	ldr	x9, [x9, _METHOD_DONE@GOTPAGEOFF]
Lloh94:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.44:
	ldr	w8, [x21]
	cmp	w8, #3
	b.lt	LBB0_20
; %bb.45:
	mov	w8, #2
	str	w8, [x21]
	b	LBB0_20
LBB0_46:
	ldr	w0, [x24]
Lloh95:
	adrp	x1, l_.str.10@PAGE
Lloh96:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
Lloh97:
	adrp	x8, _FAIL@GOTPAGE
Lloh98:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh99:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_eap_wsc_state
	mov	x0, #0
Lloh100:
	adrp	x8, _METHOD_DONE@GOTPAGE
Lloh101:
	ldr	x8, [x8, _METHOD_DONE@GOTPAGEOFF]
Lloh102:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh103:
	adrp	x8, _DECISION_FAIL@GOTPAGE
Lloh104:
	ldr	x8, [x8, _DECISION_FAIL@GOTPAGEOFF]
Lloh105:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpAdd	Lloh95, Lloh96
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_WFA,4,2             ; @EAP_VENDOR_WFA
	.comm	_EAP_VENDOR_TYPE_WSC,4,2        ; @EAP_VENDOR_TYPE_WSC
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_WSC_FLAGS_LF,4,2               ; @WSC_FLAGS_LF
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-WSC: Message underflow"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-WSC: Invalid Message Length"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-WSC: Received packet: Op-Code %d Flags 0x%x Message Length %d"

	.comm	_WAIT_FRAG_ACK,8,3              ; @WAIT_FRAG_ACK
	.comm	_WSC_FRAG_ACK,4,2               ; @WSC_FRAG_ACK
l_.str.3:                               ; @.str.3
	.asciz	"EAP-WSC: Unexpected Op-Code %d in WAIT_FRAG_ACK state"

l_.str.4:                               ; @.str.4
	.asciz	"EAP-WSC: Fragment acknowledged"

	.comm	_MESG,8,3                       ; @MESG
	.comm	_WSC_ACK,4,2                    ; @WSC_ACK
	.comm	_WSC_NACK,4,2                   ; @WSC_NACK
	.comm	_WSC_MSG,4,2                    ; @WSC_MSG
	.comm	_WSC_Done,4,2                   ; @WSC_Done
	.comm	_WSC_Start,4,2                  ; @WSC_Start
l_.str.5:                               ; @.str.5
	.asciz	"EAP-WSC: Unexpected Op-Code %d"

	.comm	_WAIT_START,8,3                 ; @WAIT_START
l_.str.6:                               ; @.str.6
	.asciz	"EAP-WSC: Unexpected Op-Code %d in WAIT_START state"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-WSC: Received start"

	.comm	_WSC_FLAGS_MF,4,2               ; @WSC_FLAGS_MF
l_.str.8:                               ; @.str.8
	.asciz	"EAP-WSC: WPS processing completed successfully - wait for EAP failure"

	.comm	_FAIL,8,3                       ; @FAIL
l_.str.9:                               ; @.str.9
	.asciz	"EAP-WSC: WPS processing failed"

l_.str.10:                              ; @.str.10
	.asciz	"EAP-WSC: Failed to receive message from WPS"

	.comm	_METHOD_DONE,8,3                ; @METHOD_DONE
	.comm	_DECISION_FAIL,4,2              ; @DECISION_FAIL
	.no_dead_strip	_eap_wsc_process
.subsections_via_symbols
