	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wps_process_m3
_wps_process_m3:                        ## @wps_process_m3
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	(%rbx), %rdx
	movq	_RECV_M3@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_9
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.2:
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_wps_registrar_skip_overlap
	testl	%eax, %eax
	je	LBB0_13
LBB0_4:
	movl	12(%r14), %esi
	movq	%rbx, %rdi
	callq	_wps_process_registrar_nonce
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_wps_process_authenticator
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_wps_process_e_hash1
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_wps_process_e_hash2
	testq	%rax, %rax
	jne	LBB0_10
## %bb.14:
	movq	_SEND_M4@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_10:
	movq	_SEND_WSC_NACK@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_12:
	movq	_WPS_CONTINUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_SEND_WSC_NACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_WPS_CFG_MULTIPLE_PBC_DETECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS: Received M3"

	.comm	_RECV_M3,8,3                    ## @RECV_M3
L_.str.1:                               ## @.str.1
	.asciz	"WPS: Unexpected state (%d) for receiving M3"

	.comm	_SEND_WSC_NACK,8,3              ## @SEND_WSC_NACK
	.comm	_WPS_CONTINUE,4,2               ## @WPS_CONTINUE
L_.str.2:                               ## @.str.2
	.asciz	"WPS: Reject negotiation due to PBC session overlap"

	.comm	_WPS_CFG_MULTIPLE_PBC_DETECTED,4,2 ## @WPS_CFG_MULTIPLE_PBC_DETECTED
	.comm	_SEND_M4,8,3                    ## @SEND_M4
	.no_dead_strip	_wps_process_m3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wps_process_m3
_wps_process_m3:                        ; @wps_process_m3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _RECV_M3@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RECV_M3@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_wps_registrar_skip_overlap
	cbz	w0, LBB0_13
LBB0_4:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_wps_process_registrar_nonce
	cbnz	x0, LBB0_10
; %bb.5:
	ldr	w1, [x20, #8]
	mov	x0, x19
	mov	x2, x21
	bl	_wps_process_authenticator
	cbnz	x0, LBB0_10
; %bb.6:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_wps_process_e_hash1
	cbnz	x0, LBB0_10
; %bb.7:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_wps_process_e_hash2
	cbnz	x0, LBB0_10
; %bb.8:
Lloh7:
	adrp	x8, _SEND_M4@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SEND_M4@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	ldr	w0, [x22]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_10:
Lloh11:
	adrp	x8, _SEND_WSC_NACK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SEND_WSC_NACK@GOTPAGEOFF]
LBB0_11:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_12:
Lloh13:
	adrp	x8, _WPS_CONTINUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WPS_CONTINUE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_13:
	ldr	w0, [x22]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
Lloh18:
	adrp	x8, _SEND_WSC_NACK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SEND_WSC_NACK@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh21:
	adrp	x8, _WPS_CFG_MULTIPLE_PBC_DETECTED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WPS_CFG_MULTIPLE_PBC_DETECTED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS: Received M3"

	.comm	_RECV_M3,8,3                    ; @RECV_M3
l_.str.1:                               ; @.str.1
	.asciz	"WPS: Unexpected state (%d) for receiving M3"

	.comm	_SEND_WSC_NACK,8,3              ; @SEND_WSC_NACK
	.comm	_WPS_CONTINUE,4,2               ; @WPS_CONTINUE
l_.str.2:                               ; @.str.2
	.asciz	"WPS: Reject negotiation due to PBC session overlap"

	.comm	_WPS_CFG_MULTIPLE_PBC_DETECTED,4,2 ; @WPS_CFG_MULTIPLE_PBC_DETECTED
	.comm	_SEND_M4,8,3                    ; @SEND_M4
	.no_dead_strip	_wps_process_m3
.subsections_via_symbols
