	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_gtc_process
_eap_gtc_process:                       ## @eap_gtc_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_TYPE_GTC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	-40(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.2:
	movq	%rax, %rbx
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_wpa_hexdump_ascii_key
	movq	8(%r15), %rcx
	movq	_FAILURE@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %rsi
	movq	_MSG_INFO@GOTPCREL(%rip), %r15
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.3:
	movq	8(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	cmpq	$0, 16(%rcx)
	jne	LBB0_8
## %bb.5:
	movq	-40(%rbp), %rdx
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r15
	cmpq	(%rcx), %rdx
	jne	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_os_memcmp_const
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	_FAILURE@GOTPCREL(%rip), %r12
	cmoveq	_SUCCESS@GOTPCREL(%rip), %r12
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movl	(%r15), %edi
	callq	_wpa_printf
	movq	(%r12), %rax
	movq	%rax, (%r14)
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_GTC,4,2               ## @EAP_TYPE_GTC
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-GTC: Response"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.1:                               ## @.str.1
	.asciz	"EAP-GTC: Plaintext password not configured"

	.comm	_FAILURE,8,3                    ## @FAILURE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"EAP-GTC: Done - Failure"

L_.str.3:                               ## @.str.3
	.asciz	"EAP-GTC: Done - Success"

	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.no_dead_strip	_eap_gtc_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_gtc_process
_eap_gtc_process:                       ; @eap_gtc_process
	.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
	mov	x19, x1
	mov	x20, 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_GTC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_TYPE_GTC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #8
	bl	_eap_hdr_validate
	ldr	x3, [sp, #8]
	cmp	x0, #0
	ccmp	x3, #0, #4, ne
	b.eq	LBB0_6
; %bb.1:
	mov	x21, x0
Lloh6:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_wpa_hexdump_ascii_key
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_4
; %bb.3:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_7
LBB0_4:
Lloh11:
	adrp	x22, _FAILURE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _FAILURE@GOTPAGEOFF]
Lloh13:
	adrp	x20, l_.str.1@PAGE
Lloh14:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh15:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_wpa_printf
	ldr	x8, [x22]
	str	x8, [x19]
LBB0_6:
	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
LBB0_7:
	ldr	x2, [sp, #8]
	ldr	x8, [x8]
Lloh17:
	adrp	x22, _FAILURE@GOTPAGE
Lloh18:
	ldr	x22, [x22, _FAILURE@GOTPAGEOFF]
Lloh19:
	adrp	x20, l_.str.2@PAGE
Lloh20:
	add	x20, x20, l_.str.2@PAGEOFF
	cmp	x2, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_os_memcmp_const
Lloh21:
	adrp	x8, l_.str.3@PAGE
Lloh22:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x20, x8, x20, eq
Lloh23:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
	csel	x22, x8, x22, eq
LBB0_9:
Lloh25:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_EAP_TYPE_GTC,4,2               ; @EAP_TYPE_GTC
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-GTC: Response"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.1:                               ; @.str.1
	.asciz	"EAP-GTC: Plaintext password not configured"

	.comm	_FAILURE,8,3                    ; @FAILURE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"EAP-GTC: Done - Failure"

l_.str.3:                               ; @.str.3
	.asciz	"EAP-GTC: Done - Success"

	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.no_dead_strip	_eap_gtc_process
.subsections_via_symbols
