	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eap_tls_check
_eap_tls_check:                         ## @eap_tls_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rsi), %rsi
	movq	_EAP_UNAUTH_TLS_TYPE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_3
## %bb.1:
	movq	_EAP_VENDOR_UNAUTH_TLS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_VENDOR_TYPE_UNAUTH_TLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_6
LBB0_3:
	movq	_EAP_WFA_UNAUTH_TLS_TYPE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_5
## %bb.4:
	movq	_EAP_VENDOR_WFA_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EAP_VENDOR_WFA_UNAUTH_TLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_6
LBB0_5:
	movq	_EAP_VENDOR_IETF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_6:
	leaq	-8(%rbp), %rcx
	callq	_eap_hdr_validate
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	cmpq	$0, -8(%rbp)
	je	LBB0_9
## %bb.8:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EAP_UNAUTH_TLS_TYPE,8,3        ## @EAP_UNAUTH_TLS_TYPE
	.comm	_EAP_VENDOR_UNAUTH_TLS,4,2      ## @EAP_VENDOR_UNAUTH_TLS
	.comm	_EAP_VENDOR_TYPE_UNAUTH_TLS,8,3 ## @EAP_VENDOR_TYPE_UNAUTH_TLS
	.comm	_EAP_WFA_UNAUTH_TLS_TYPE,8,3    ## @EAP_WFA_UNAUTH_TLS_TYPE
	.comm	_EAP_VENDOR_WFA_NEW,4,2         ## @EAP_VENDOR_WFA_NEW
	.comm	_EAP_VENDOR_WFA_UNAUTH_TLS,8,3  ## @EAP_VENDOR_WFA_UNAUTH_TLS
	.comm	_EAP_VENDOR_IETF,4,2            ## @EAP_VENDOR_IETF
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EAP-TLS: Invalid frame"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_eap_tls_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eap_tls_check
_eap_tls_check:                         ; @eap_tls_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x1, [x1]
Lloh0:
	adrp	x8, _EAP_UNAUTH_TLS_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EAP_UNAUTH_TLS_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EAP_VENDOR_UNAUTH_TLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAP_VENDOR_UNAUTH_TLS@GOTPA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LBB0_7:
Lloh28:
	adrp	x8, _FALSE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_EAP_UNAUTH_TLS_TYPE,8,3        ; @EAP_UNAUTH_TLS_TYPE
	.comm	_EAP_VENDOR_UNAUTH_TLS,4,2      ; @EAP_VENDOR_UNAUTH_TLS
	.comm	_EAP_VENDOR_TYPE_UNAUTH_TLS,8,3 ; @EAP_VENDOR_TYPE_UNAUTH_TLS
	.comm	_EAP_WFA_UNAUTH_TLS_TYPE,8,3    ; @EAP_WFA_UNAUTH_TLS_TYPE
	.comm	_EAP_VENDOR_WFA_NEW,4,2         ; @EAP_VENDOR_WFA_NEW
	.comm	_EAP_VENDOR_WFA_UNAUTH_TLS,8,3  ; @EAP_VENDOR_WFA_UNAUTH_TLS
	.comm	_EAP_VENDOR_IETF,4,2            ; @EAP_VENDOR_IETF
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EAP-TLS: Invalid frame"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_eap_tls_check
.subsections_via_symbols
