	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_gpsk_process_csuite_list
_eap_gpsk_process_csuite_list:          ## @eap_gpsk_process_csuite_list
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%r8, %r8
	je	LBB0_3
## %bb.1:
	movq	%r9, %r15
	movq	%r8, %rbx
	movq	%r9, %rax
	subq	%r8, %rax
	cmpq	$7, %rax
	jg	LBB0_4
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_4:
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_WPA_GET_BE16
	addq	$8, %rbx
	subq	%rbx, %r15
	sarq	$2, %r15
	cmpq	%r15, %rax
	jbe	LBB0_8
## %bb.5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
LBB0_8:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movl	%r12d, %eax
	andl	$3, %eax
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_eap_gpsk_select_csuite
	testq	%rax, %rax
	js	LBB0_3
## %bb.11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	leaq	(%rbx,%r12,4), %rbx
	jmp	LBB0_7
LBB0_3:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-GPSK: Too short GPSK-1 packet"

L_.str.1:                               ## @.str.1
	.asciz	"EAP-GPSK: CSuite_List overflow"

L_.str.2:                               ## @.str.2
	.asciz	"EAP-GPSK: Invalid CSuite_List len %lu"

	.no_dead_strip	_eap_gpsk_process_csuite_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_gpsk_process_csuite_list
_eap_gpsk_process_csuite_list:          ; @eap_gpsk_process_csuite_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x4, LBB0_11
; %bb.1:
	mov	x25, x5
	mov	x24, x4
	sub	x8, x5, x4
	cmp	x8, #7
	b.gt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_3:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x24
	bl	_WPA_GET_BE16
	add	x24, x24, #8
	sub	x8, x25, x24
	cmp	x0, x8, asr #2
	b.ls	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_5:
	mov	x21, x0
	cbz	x0, LBB0_9
; %bb.6:
	and	x8, x21, #0x3
	cbnz	x8, LBB0_9
; %bb.7:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x21
	bl	_eap_gpsk_select_csuite
	tbnz	x0, #63, LBB0_11
; %bb.8:
	str	x24, [x20]
	str	x21, [x19]
	add	x0, x24, x21, lsl #2
	b	LBB0_12
LBB0_9:
Lloh10:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	bl	_wpa_printf
LBB0_11:
	mov	x0, #0
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-GPSK: Too short GPSK-1 packet"

l_.str.1:                               ; @.str.1
	.asciz	"EAP-GPSK: CSuite_List overflow"

l_.str.2:                               ; @.str.2
	.asciz	"EAP-GPSK: Invalid CSuite_List len %lu"

	.no_dead_strip	_eap_gpsk_process_csuite_list
.subsections_via_symbols
