	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_eap_wsc_ext_reg_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_eloop_cancel_timeout
	cmpq	$0, 24(%r15)
	je	LBB0_1
## %bb.42:
	movq	_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eap_wsc_state                  ## TAILCALL
LBB0_1:
	movq	_EAP_VENDOR_WFA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_VENDOR_TYPE_WSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-88(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_41
## %bb.2:
	movq	-88(%rbp), %rbx
	cmpq	$2, %rbx
	jb	LBB0_41
## %bb.3:
	movq	%rax, %r12
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	leaq	8(%rax), %rdi
	movq	_WSC_FLAGS_LF@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.5:
	cmpq	$3, %rbx
	jg	LBB0_8
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r8d, %r8d
	jmp	LBB0_11
LBB0_8:
	movl	%ecx, %r13d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	callq	_WPA_GET_BE16
	cmpl	$50000, %eax                    ## imm = 0xC350
	jg	LBB0_43
## %bb.9:
	movl	%eax, %r8d
	cltq
	leaq	-16(,%rbx,4), %rcx
	sarq	$2, %rcx
	cmpq	%rax, %rcx
	jg	LBB0_43
## %bb.10:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leaq	16(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
LBB0_11:
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%edx, %r13d
	movl	%r8d, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%r15), %rax
	movq	_WAIT_FRAG_ACK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.12:
	movq	_WSC_FRAG_ACK@GOTPCREL(%rip), %rax
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	(%rax), %r13d
	jne	LBB0_13
## %bb.15:
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MESG@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_16:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rdx
	movq	_WSC_ACK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	movl	%r13d, %ecx
	je	LBB0_21
## %bb.17:
	movq	_WSC_NACK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_21
## %bb.18:
	movq	_WSC_MSG@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_21
## %bb.19:
	movq	_WSC_Done@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_21
## %bb.20:
	movl	(%rdx), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%ecx, %edx
	jmp	LBB0_14
LBB0_43:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_7:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_41
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edx
LBB0_14:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_23:
	movq	_FAIL@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_eap_wsc_state
LBB0_41:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax,4), %r12
	cmpq	$0, 8(%r15)
	movq	%rdx, %r13
	je	LBB0_25
## %bb.22:
	movq	%r12, %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	subq	%rsi, %rdx
	shrq	$2, %rdx
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ecx, %ebx
	callq	_eap_wsc_process_cont
	movl	%ebx, %ecx
	testq	%rax, %rax
	js	LBB0_23
LBB0_25:
	movq	_WSC_FLAGS_MF@GOTPCREL(%rip), %rax
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, (%rax)
	je	LBB0_28
## %bb.26:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	subq	%r8, %r12
	shrq	$2, %r12
	movq	%r15, %rdi
	movl	%ecx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r9d
	callq	_eap_wsc_process_fragment
	testq	%rax, %rax
	js	LBB0_23
## %bb.27:
	movq	_FRAG_ACK@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_28:
	movq	8(%r15), %rbx
	testq	%rbx, %rbx
	jne	LBB0_30
## %bb.29:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	subq	%rsi, %r12
	shrq	$2, %r12
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movl	%ecx, %r12d
	callq	_wpabuf_set
	movl	%r12d, %ecx
	movq	%rbx, 8(%r15)
LBB0_30:
	movl	16(%r15), %edi
	movl	%ecx, %esi
	movq	%rbx, %rdx
	callq	_wps_process_msg
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$3, %eax
	movq	_eap_wsc_ext_reg_timeout@GOTPCREL(%rip), %rbx
	ja	LBB0_38
## %bb.31:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_37:
	movq	_MESG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_eap_wsc_state
	movq	_METHOD_PENDING_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	(%rbx), %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_eloop_cancel_timeout
	movl	(%rbx), %edx
	movl	$5, %edi
	xorl	%esi, %esi
	movq	%r14, %rcx
	movq	%r15, %r8
	callq	_eloop_register_timeout
	jmp	LBB0_38
LBB0_36:
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_33
LBB0_32:
	movl	(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_33:
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_FAIL@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_34:
	movq	_MESG@GOTPCREL(%rip), %rax
LBB0_35:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_eap_wsc_state
LBB0_38:
	movq	8(%r15), %rdi
	leaq	-64(%rbp), %rax
	cmpq	%rax, %rdi
	je	LBB0_40
## %bb.39:
	callq	_wpabuf_free
LBB0_40:
	movq	$0, 8(%r15)
	jmp	LBB0_41
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
LJTI0_0:
	.long	L0_0_set_37
	.long	L0_0_set_36
	.long	L0_0_set_32
	.long	L0_0_set_34
	.end_data_region
                                        ## -- End function
	.comm	_eap_wsc_ext_reg_timeout,4,2    ## @eap_wsc_ext_reg_timeout
	.comm	_FAIL,4,2                       ## @FAIL
	.comm	_EAP_VENDOR_WFA,4,2             ## @EAP_VENDOR_WFA
	.comm	_EAP_VENDOR_TYPE_WSC,4,2        ## @EAP_VENDOR_TYPE_WSC
	.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,4,2                       ## @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
L_.str.5:                               ## @.str.5
	.asciz	"EAP-WSC: Unexpected Op-Code %d"

	.comm	_WSC_FLAGS_MF,4,2               ## @WSC_FLAGS_MF
	.comm	_FRAG_ACK,4,2                   ## @FRAG_ACK
L_.str.6:                               ## @.str.6
	.asciz	"EAP-WSC: WPS processing completed successfully - report EAP failure"

L_.str.7:                               ## @.str.7
	.asciz	"EAP-WSC: WPS processing failed"

	.comm	_METHOD_PENDING_WAIT,4,2        ## @METHOD_PENDING_WAIT
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _eap_wsc_ext_reg_timeout@GOTPAGE
Lloh1:
	ldr	x26, [x26, _eap_wsc_ext_reg_timeout@GOTPAGEOFF]
	ldr	w0, [x26]
	mov	x1, x20
	mov	x2, x19
	bl	_eloop_cancel_timeout
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _FAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_eap_wsc_state
LBB0_2:
Lloh5:
	adrp	x8, _EAP_VENDOR_WFA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAP_VENDOR_WFA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _EAP_VENDOR_TYPE_WSC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAP_VENDOR_TYPE_WSC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x3, sp, #40
	mov	x2, x21
	bl	_eap_hdr_validate
	ldr	x28, [sp, #40]
	cmp	x0, #0
	ccmp	x28, #2, #0, ne
	b.lo	LBB0_24
; %bb.3:
	mov	x24, x0
	add	x22, x0, #8
	ldp	w21, w23, [x0]
Lloh11:
	adrp	x8, _WSC_FLAGS_LF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WSC_FLAGS_LF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_6
; %bb.4:
	cmp	x28, #3
	b.gt	LBB0_7
; %bb.5:
Lloh14:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	b	LBB0_24
LBB0_6:
	mov	w25, #0
	b	LBB0_10
LBB0_7:
	mov	x0, x22
	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_9
; %bb.8:
Lloh19:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_24
LBB0_9:
	add	x22, x24, #16
	mov	x25, x0
LBB0_10:
Lloh24:
	adrp	x27, _MSG_DEBUG@GOTPAGE
Lloh25:
	ldr	x27, [x27, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x27]
	stp	x23, x25, [sp, #8]
	str	x21, [sp]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19]
Lloh28:
	adrp	x9, _WAIT_FRAG_ACK@GOTPAGE
Lloh29:
	ldr	x9, [x9, _WAIT_FRAG_ACK@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
Lloh31:
	adrp	x8, _WSC_FRAG_ACK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WSC_FRAG_ACK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldr	w0, [x27]
	cmp	w21, w8
	b.ne	LBB0_19
; %bb.12:
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_wpa_printf
Lloh36:
	adrp	x8, _MESG@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MESG@GOTPAGEOFF]
	b	LBB0_23
LBB0_13:
Lloh38:
	adrp	x8, _WSC_ACK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WSC_ACK@GOTPAGEOFF]
Lloh40:
	adrp	x9, _WSC_NACK@GOTPAGE
Lloh41:
	ldr	x9, [x9, _WSC_NACK@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
Lloh43:
	ldr	w9, [x9]
Lloh44:
	adrp	x10, _WSC_MSG@GOTPAGE
Lloh45:
	ldr	x10, [x10, _WSC_MSG@GOTPAGEOFF]
Lloh46:
	adrp	x11, _WSC_Done@GOTPAGE
Lloh47:
	ldr	x11, [x11, _WSC_Done@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x10]
Lloh49:
	ldr	w11, [x11]
	cmp	w21, w8
	ccmp	w21, w9, #4, ne
	ccmp	w21, w10, #4, ne
	ccmp	w21, w11, #4, ne
	b.ne	LBB0_20
; %bb.14:
	add	x24, x24, x28, lsl #2
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.15:
	sub	x8, x24, x22
	lsr	x2, x8, #2
	mov	x0, x19
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x21
	bl	_eap_wsc_process_cont
	tbnz	x0, #63, LBB0_22
LBB0_16:
Lloh50:
	adrp	x8, _WSC_FLAGS_MF@GOTPAGE
Lloh51:
	ldr	x8, [x8, _WSC_FLAGS_MF@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_25
; %bb.17:
	sub	x8, x24, x22
	lsr	x5, x8, #2
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x25
	mov	x4, x22
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_eap_wsc_process_fragment
	tbnz	x0, #63, LBB0_22
; %bb.18:
Lloh53:
	adrp	x8, _FRAG_ACK@GOTPAGE
Lloh54:
	ldr	x8, [x8, _FRAG_ACK@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh55:
	adrp	x1, l_.str.3@PAGE
Lloh56:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_20:
	ldr	w0, [x27]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh57:
	adrp	x1, l_.str.5@PAGE
Lloh58:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_21:
	bl	_wpa_printf
LBB0_22:
Lloh59:
	adrp	x8, _FAIL@GOTPAGE
Lloh60:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
LBB0_23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_wsc_state
LBB0_24:
	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_25:
	ldr	x23, [x19, #8]
	cbnz	x23, LBB0_27
; %bb.26:
	sub	x8, x24, x22
	lsr	x2, x8, #2
	add	x23, sp, #32
	add	x0, sp, #32
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpabuf_set
	str	x23, [x19, #8]
LBB0_27:
	ldr	w0, [x19, #16]
	mov	x1, x21
	mov	x2, x23
	bl	_wps_process_msg
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_35
; %bb.28:
Lloh61:
	adrp	x9, lJTI0_0@PAGE
Lloh62:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_29
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_29:
Lloh63:
	adrp	x8, _MESG@GOTPAGE
Lloh64:
	ldr	x8, [x8, _MESG@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_wsc_state
Lloh66:
	adrp	x8, _METHOD_PENDING_WAIT@GOTPAGE
Lloh67:
	ldr	x8, [x8, _METHOD_PENDING_WAIT@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	str	w8, [x20]
	ldr	w0, [x26]
	mov	x1, x20
	mov	x2, x19
	bl	_eloop_cancel_timeout
	ldr	w2, [x26]
	mov	w0, #5
	mov	w1, #0
	mov	x3, x20
	mov	x4, x19
	bl	_eloop_register_timeout
	b	LBB0_35
LBB0_30:
	ldr	w0, [x27]
Lloh69:
	adrp	x1, l_.str.7@PAGE
Lloh70:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_32
LBB0_31:
	ldr	w0, [x27]
Lloh71:
	adrp	x1, l_.str.6@PAGE
Lloh72:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_32:
	bl	_wpa_printf
Lloh73:
	adrp	x8, _FAIL@GOTPAGE
Lloh74:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
	b	LBB0_34
LBB0_33:
Lloh75:
	adrp	x8, _MESG@GOTPAGE
Lloh76:
	ldr	x8, [x8, _MESG@GOTPAGEOFF]
LBB0_34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_eap_wsc_state
LBB0_35:
	ldr	x0, [x19, #8]
	add	x8, sp, #32
	cmp	x0, x8
	b.eq	LBB0_37
; %bb.36:
	bl	_wpabuf_free
LBB0_37:
	str	xzr, [x19, #8]
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh48
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh42
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_29-LBB0_29)>>2
	.byte	(LBB0_30-LBB0_29)>>2
	.byte	(LBB0_31-LBB0_29)>>2
	.byte	(LBB0_33-LBB0_29)>>2
                                        ; -- End function
	.comm	_eap_wsc_ext_reg_timeout,4,2    ; @eap_wsc_ext_reg_timeout
	.comm	_FAIL,4,2                       ; @FAIL
	.comm	_EAP_VENDOR_WFA,4,2             ; @EAP_VENDOR_WFA
	.comm	_EAP_VENDOR_TYPE_WSC,4,2        ; @EAP_VENDOR_TYPE_WSC
	.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,4,2                       ; @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
l_.str.5:                               ; @.str.5
	.asciz	"EAP-WSC: Unexpected Op-Code %d"

	.comm	_WSC_FLAGS_MF,4,2               ; @WSC_FLAGS_MF
	.comm	_FRAG_ACK,4,2                   ; @FRAG_ACK
l_.str.6:                               ; @.str.6
	.asciz	"EAP-WSC: WPS processing completed successfully - report EAP failure"

l_.str.7:                               ; @.str.7
	.asciz	"EAP-WSC: WPS processing failed"

	.comm	_METHOD_PENDING_WAIT,4,2        ; @METHOD_PENDING_WAIT
	.no_dead_strip	_eap_wsc_process
.subsections_via_symbols
