	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_wsc_process_fragment
_eap_wsc_process_fragment:              ## @eap_wsc_process_fragment
	.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
	xorl	%ebx, %ebx
	cmpq	$0, 8(%rdi)
	jne	LBB0_7
## %bb.1:
	movq	_WSC_FLAGS_LF@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.4:
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%edx, %r12d
	movq	%rdi, %r13
	movl	%ecx, %edi
	callq	_wpabuf_alloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	%r12d, (%r13)
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_wpabuf_put_data
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	8(%r13), %rdi
	callq	_wpabuf_tailroom
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r15d, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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: No Message Length field in a fragmented packet"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-WSC: No memory for message"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-WSC: Received %lu bytes in first fragment, waiting for %lu bytes more"

	.no_dead_strip	_eap_wsc_process_fragment
.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_fragment
_eap_wsc_process_fragment:              ; @eap_wsc_process_fragment
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
Lloh0:
	adrp	x8, _WSC_FLAGS_LF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WSC_FLAGS_LF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_5
; %bb.3:
	mov	x19, x5
	mov	x21, x4
	mov	x22, x2
	mov	x20, x0
	mov	x0, x3
	bl	_wpabuf_alloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_6
; %bb.4:
	str	w22, [x20]
	mov	x1, x21
	mov	x2, x19
	bl	_wpabuf_put_data
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	x0, [x20, #8]
	bl	_wpabuf_tailroom
	stp	x19, x0, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_wpa_printf
	b	LBB0_1
LBB0_5:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	bl	_wpa_printf
	mov	w0, #-1
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.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: No Message Length field in a fragmented packet"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-WSC: No memory for message"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-WSC: Received %lu bytes in first fragment, waiting for %lu bytes more"

	.no_dead_strip	_eap_wsc_process_fragment
.subsections_via_symbols
