	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_get_eap_mode    ## -- Begin function wpa_supplicant_get_eap_mode
	.p2align	4, 0x90
_wpa_supplicant_get_eap_mode:           ## @wpa_supplicant_get_eap_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_wpa_key_mgmt_wpa_ieee8021x
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_3:
	movl	8(%rbx), %edi
	callq	_eapol_sm_get_method_name
	movq	%rax, %rcx
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rax
	cmovneq	%rcx, %rax
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_KEY_MGMT_IEEE8021X_NO_WPA,8,3 ## @WPA_KEY_MGMT_IEEE8021X_NO_WPA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NO-EAP"

L_.str.1:                               ## @.str.1
	.asciz	"UNKNOWN-EAP"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_get_eap_mode    ; -- Begin function wpa_supplicant_get_eap_mode
	.p2align	2
_wpa_supplicant_get_eap_mode:           ; @wpa_supplicant_get_eap_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_wpa_key_mgmt_wpa_ieee8021x
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_eapol_sm_get_method_name
Lloh3:
	adrp	x8, l_.str.1@PAGE
Lloh4:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x0, x8, x0, eq
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_KEY_MGMT_IEEE8021X_NO_WPA,8,3 ; @WPA_KEY_MGMT_IEEE8021X_NO_WPA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NO-EAP"

l_.str.1:                               ; @.str.1
	.asciz	"UNKNOWN-EAP"

.subsections_via_symbols
