	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_gpsk_process
_eap_gpsk_process:                      ## @eap_gpsk_process
	.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
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_GPSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpq	$0, -56(%rbp)
	je	LBB0_7
## %bb.2:
	movq	%rax, %r14
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_eap_get_id
	movl	(%r14), %r13d
	decq	-56(%rbp)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	addq	$4, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_wpa_printf
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r12)
	movq	_METHOD_MAY_CONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%r12)
	movq	_DECISION_FAIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r12)
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	cmpl	$128, %r13d
	je	LBB0_5
## %bb.3:
	cmpl	$129, %r13d
	jne	LBB0_6
## %bb.4:
	movq	-56(%rbp), %r9
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r8
	callq	_eap_gpsk_process_gpsk_1
	jmp	LBB0_8
LBB0_5:
	movq	-56(%rbp), %r9
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r14, %r8
	callq	_eap_gpsk_process_gpsk_3
	jmp	LBB0_8
LBB0_6:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	callq	_wpa_printf
LBB0_7:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_GPSK,4,2              ## @EAP_TYPE_GPSK
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-GPSK: Received frame: opcode %d"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_METHOD_MAY_CONT,4,2            ## @METHOD_MAY_CONT
	.comm	_DECISION_FAIL,4,2              ## @DECISION_FAIL
L_.str.1:                               ## @.str.1
	.asciz	"EAP-GPSK: Ignoring message with unknown opcode %d"

	.no_dead_strip	_eap_gpsk_process
.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
_eap_gpsk_process:                      ; @eap_gpsk_process
	.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
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _EAP_VENDOR_IETF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_VENDOR_IETF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EAP_TYPE_GPSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_GPSK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	x2, x23
	bl	_eap_hdr_validate
	ldr	x8, [sp, #8]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_6
; %bb.1:
	mov	x22, x0
	mov	x0, x23
	bl	_eap_get_id
	mov	x23, x0
	ldr	w24, [x22], #4
	ldr	x8, [sp, #8]
	sub	x8, x8, #1
	str	x8, [sp, #8]
Lloh6:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	bl	_wpa_printf
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
Lloh12:
	adrp	x9, _METHOD_MAY_CONT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _METHOD_MAY_CONT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _DECISION_FAIL@GOTPAGE
Lloh16:
	ldr	x10, [x10, _DECISION_FAIL@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #16]
	ldr	x8, [x8]
	str	x8, [x19, #8]
	cmp	w24, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w24, #129
	b.ne	LBB0_5
; %bb.3:
	ldr	x5, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	mov	x4, x22
	bl	_eap_gpsk_process_gpsk_1
	b	LBB0_7
LBB0_4:
	ldr	x5, [sp, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	mov	x4, x22
	bl	_eap_gpsk_process_gpsk_3
	b	LBB0_7
LBB0_5:
	ldr	w0, [x25]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	bl	_wpa_printf
LBB0_6:
	mov	x0, #0
Lloh20:
	adrp	x8, _TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_7:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_GPSK,4,2              ; @EAP_TYPE_GPSK
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-GPSK: Received frame: opcode %d"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_METHOD_MAY_CONT,4,2            ; @METHOD_MAY_CONT
	.comm	_DECISION_FAIL,4,2              ; @DECISION_FAIL
l_.str.1:                               ; @.str.1
	.asciz	"EAP-GPSK: Ignoring message with unknown opcode %d"

	.no_dead_strip	_eap_gpsk_process
.subsections_via_symbols
