	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_enrollee_process_msg       ## -- Begin function wps_enrollee_process_msg
	.p2align	4, 0x90
_wps_enrollee_process_msg:              ## @wps_enrollee_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, %ebx
	movq	%rdi, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movq	%rdx, %rdi
	callq	_wpabuf_len
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%eax, %edx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_wpa_printf
	cmpl	$128, %ebx
	jne	LBB0_5
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_wps_parse_msg
	movl	$128, %ebx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rax
	movq	_WPS_WSC_ACK@GOTPCREL(%rip), %rcx
	movl	$131, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_WPS_WSC_NACK@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	sete	%bl
	orl	$128, %ebx
LBB0_5:
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	ja	LBB0_12
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wps_process_wsc_msg
	jmp	LBB0_14
LBB0_12:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_13
LBB0_10:
	movq	%r15, %rdi
	callq	_wps_validate_wsc_nack
	testl	%eax, %eax
	js	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wps_process_wsc_nack
	jmp	LBB0_14
LBB0_8:
	movq	%r15, %rdi
	callq	_wps_validate_wsc_ack
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wps_process_wsc_ack
	jmp	LBB0_14
LBB0_13:
	movq	_WPS_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_14:
	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_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_8
	.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_WSC_ACK,8,3                ## @WPS_WSC_ACK
	.comm	_WPS_WSC_NACK,8,3               ## @WPS_WSC_NACK
	.comm	_WPS_FAILURE,4,2                ## @WPS_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"WPS: Unsupported op_code %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_enrollee_process_msg       ; -- Begin function wps_enrollee_process_msg
	.p2align	2
_wps_enrollee_process_msg:              ; @wps_enrollee_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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w22, [x23]
	mov	x0, x2
	bl	_wpabuf_len
	mov	x2, x0
	str	x21, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wpa_printf
	cmp	w21, #128
	b.ne	LBB0_6
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	bl	_wps_parse_msg
	mov	w21, #128
	cbnz	x0, LBB0_6
; %bb.2:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x8]
Lloh4:
	adrp	x9, _WPS_WSC_ACK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _WPS_WSC_ACK@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	w21, #131
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x9, _WPS_WSC_NACK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WPS_WSC_NACK@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #128
	cinc	w21, w8, eq
LBB0_6:
	sub	w8, w21, #128
	cmp	w8, #3
	b.hi	LBB0_9
; %bb.7:
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_wps_process_wsc_msg
	b	LBB0_15
LBB0_9:
	ldr	w0, [x23]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_wpa_printf
	b	LBB0_14
LBB0_10:
	mov	x0, x19
	bl	_wps_validate_wsc_nack
	tbnz	w0, #31, LBB0_14
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_wps_process_wsc_nack
	b	LBB0_15
LBB0_12:
	mov	x0, x19
	bl	_wps_validate_wsc_ack
	tbnz	w0, #31, LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x19
	bl	_wps_process_wsc_ack
	b	LBB0_15
LBB0_14:
Lloh14:
	adrp	x8, _WPS_FAILURE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WPS_FAILURE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
LBB0_15:
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>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_WSC_ACK,8,3                ; @WPS_WSC_ACK
	.comm	_WPS_WSC_NACK,8,3               ; @WPS_WSC_NACK
	.comm	_WPS_FAILURE,4,2                ; @WPS_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"WPS: Unsupported op_code %d"

.subsections_via_symbols
