	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_registrar_process_msg      ## -- Begin function wps_registrar_process_msg
	.p2align	4, 0x90
_wps_registrar_process_msg:             ## @wps_registrar_process_msg
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	%rdx, %rdi
	callq	_wpabuf_len
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	leal	-128(%r12), %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	%r15, %rdi
	callq	_wps_validate_wsc_nack
	testl	%eax, %eax
	js	LBB0_11
## %bb.6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wps_process_wsc_nack           ## TAILCALL
LBB0_10:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_11
LBB0_2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wps_process_wsc_msg            ## TAILCALL
LBB0_7:
	movq	%r15, %rdi
	callq	_wps_validate_wsc_done
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wps_process_wsc_done
	movl	%eax, %ebx
	movq	_WPS_FAILURE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_12
## %bb.9:
	movq	_SEND_WSC_NACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	16(%r14), %rdi
	movq	_WPS_WSC_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	movl	4(%r14), %r8d
	movl	8(%r14), %ecx
	callq	_wps_fail_event
	jmp	LBB0_12
LBB0_3:
	movq	%r15, %rdi
	callq	_wps_validate_wsc_ack
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wps_process_wsc_ack            ## TAILCALL
LBB0_11:
	movq	_WPS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS: Processing received message (len=%lu op_code=%d)"

	.comm	_WPS_FAILURE,4,2                ## @WPS_FAILURE
	.comm	_SEND_WSC_NACK,4,2              ## @SEND_WSC_NACK
	.comm	_WPS_WSC_DONE,4,2               ## @WPS_WSC_DONE
L_.str.1:                               ## @.str.1
	.asciz	"WPS: Unsupported op_code %d"

	.comm	_UPNP_WPS_WLANEVENT_TYPE_EAP,4,2 ## @UPNP_WPS_WLANEVENT_TYPE_EAP
	.comm	_WPS_CONTINUE,4,2               ## @WPS_CONTINUE
	.comm	_WPS_M3,8,3                     ## @WPS_M3
	.comm	_WPS_PENDING,4,2                ## @WPS_PENDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_registrar_process_msg      ; -- Begin function wps_registrar_process_msg
	.p2align	2
_wps_registrar_process_msg:             ; @wps_registrar_process_msg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x2
	bl	_wpabuf_len
	stp	x0, x21, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_wpa_printf
	sub	w8, w21, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.1:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	bl	_wps_validate_wsc_nack
	tbnz	w0, #31, LBB0_11
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_wps_process_wsc_nack
LBB0_4:
	ldr	w0, [x23]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	str	x21, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	b	LBB0_11
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_wps_process_wsc_msg
LBB0_6:
	mov	x0, x20
	bl	_wps_validate_wsc_done
	tbnz	w0, #31, LBB0_11
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_wps_process_wsc_done
	mov	x20, x0
Lloh8:
	adrp	x8, _WPS_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WPS_FAILURE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.8:
Lloh11:
	adrp	x8, _SEND_WSC_NACK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SEND_WSC_NACK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldr	x0, [x19, #16]
Lloh14:
	adrp	x8, _WPS_WSC_DONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WPS_WSC_DONE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldp	w3, w2, [x19, #8]
	ldr	w4, [x19, #4]
	bl	_wps_fail_event
	b	LBB0_12
LBB0_9:
	mov	x0, x20
	bl	_wps_validate_wsc_ack
	tbnz	w0, #31, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_wps_process_wsc_ack
LBB0_11:
Lloh17:
	adrp	x8, _WPS_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WPS_FAILURE@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
LBB0_12:
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS: Processing received message (len=%lu op_code=%d)"

	.comm	_WPS_FAILURE,4,2                ; @WPS_FAILURE
	.comm	_SEND_WSC_NACK,4,2              ; @SEND_WSC_NACK
	.comm	_WPS_WSC_DONE,4,2               ; @WPS_WSC_DONE
l_.str.1:                               ; @.str.1
	.asciz	"WPS: Unsupported op_code %d"

	.comm	_UPNP_WPS_WLANEVENT_TYPE_EAP,4,2 ; @UPNP_WPS_WLANEVENT_TYPE_EAP
	.comm	_WPS_CONTINUE,4,2               ; @WPS_CONTINUE
	.comm	_WPS_M3,8,3                     ; @WPS_M3
	.comm	_WPS_PENDING,4,2                ; @WPS_PENDING
.subsections_via_symbols
