	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_enrollee_get_msg           ## -- Begin function wps_enrollee_get_msg
	.p2align	4, 0x90
_wps_enrollee_get_msg:                  ## @wps_enrollee_get_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %edx
	leal	-128(%rdx), %eax
	cmpl	$6, %eax
	ja	LBB0_13
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	movq	%r14, %rdi
	callq	_wps_build_wsc_done
	movq	%rax, %rbx
	movq	_WSC_Done@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_13:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_wpa_printf
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_7:
	movq	%r14, %rdi
	callq	_wps_build_m7
	jmp	LBB0_3
LBB0_6:
	movq	%r14, %rdi
	callq	_wps_build_m5
	jmp	LBB0_3
LBB0_5:
	movq	%r14, %rdi
	callq	_wps_build_m3
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_wps_build_m1
LBB0_3:
	movq	%rax, %rbx
	movq	_WSC_MSG@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	callq	_wps_build_wsc_nack
	movq	%rax, %rbx
	movq	_WSC_NACK@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_15:
	movq	_WSC_MSG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_18
## %bb.16:
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.17:
	movl	4(%r14), %edi
	callq	_wpabuf_free
	movq	%rbx, %rdi
	callq	_wpabuf_dup
	movl	%eax, 4(%r14)
LBB0_18:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	callq	_wps_build_wsc_ack
	movq	%rax, %rbx
	movq	_WSC_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.14:
	movq	_RECV_M2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	(%r15), %eax
	jmp	LBB0_15
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_WSC_MSG,4,2                    ## @WSC_MSG
	.comm	_WSC_NACK,4,2                   ## @WSC_NACK
	.comm	_WSC_ACK,4,2                    ## @WSC_ACK
	.comm	_RECV_M2,4,2                    ## @RECV_M2
	.comm	_WSC_Done,4,2                   ## @WSC_Done
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WPS: Unsupported state %d for building a message"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wps_enrollee_get_msg           ; -- Begin function wps_enrollee_get_msg
	.p2align	2
_wps_enrollee_get_msg:                  ; @wps_enrollee_get_msg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w2, [x0]
	sub	w8, w2, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
Lloh2:
	adrp	x22, _WSC_MSG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _WSC_MSG@GOTPAGEOFF]
	br	x10
LBB0_2:
	mov	x0, x19
	bl	_wps_build_wsc_done
	mov	x20, x0
Lloh4:
	adrp	x8, _WSC_Done@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WSC_Done@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
Lloh6:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x20, #0
	b	LBB0_15
LBB0_4:
	mov	x0, x19
	bl	_wps_build_m7
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_wps_build_m5
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_wps_build_m3
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_wps_build_m1
LBB0_8:
	mov	x20, x0
	ldr	w8, [x22]
	b	LBB0_12
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_16
LBB0_10:
	mov	x0, x19
	bl	_wps_build_wsc_nack
	mov	x20, x0
Lloh11:
	adrp	x8, _WSC_NACK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WSC_NACK@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
LBB0_12:
	str	w8, [x21]
LBB0_13:
	ldr	w9, [x22]
	cmp	w8, w9
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_15
; %bb.14:
	ldr	w0, [x19, #4]
	bl	_wpabuf_free
	mov	x0, x20
	bl	_wpabuf_dup
	str	w0, [x19, #4]
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x0, x19
	bl	_wps_build_wsc_ack
	mov	x20, x0
Lloh13:
	adrp	x8, _WSC_ACK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WSC_ACK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x21]
	cbz	x0, LBB0_15
; %bb.17:
Lloh16:
	adrp	x8, _RECV_M2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RECV_M2@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w8, [x21]
	b	LBB0_13
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_WSC_MSG,4,2                    ; @WSC_MSG
	.comm	_WSC_NACK,4,2                   ; @WSC_NACK
	.comm	_WSC_ACK,4,2                    ; @WSC_ACK
	.comm	_RECV_M2,4,2                    ; @RECV_M2
	.comm	_WSC_Done,4,2                   ; @WSC_Done
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPS: Unsupported state %d for building a message"

.subsections_via_symbols
