	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_current_auth_mode ## -- Begin function wpas_dbus_getter_current_auth_mode
	.p2align	4, 0x90
_wpas_dbus_getter_current_auth_mode:    ## @wpas_dbus_getter_current_auth_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	%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, %r13
	movq	%rsi, %r14
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_WPAS_DBUS_AUTH_MODE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	(%rbx), %rax
	movq	_WPA_COMPLETED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	8(%rbx), %rdi
	movq	_WPA_KEY_MGMT_IEEE8021X@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_4
## %bb.3:
	movq	_WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_4
## %bb.5:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%rax), %esi
	callq	_wpa_key_mgmt_txt
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rax
LBB0_8:
	movq	%rax, -56(%rbp)
	jmp	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	callq	_wpa_supplicant_get_eap_mode
	movq	_WPAS_DBUS_AUTH_MODE_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	%rax, %rcx
	callq	_os_snprintf
	movq	%r12, -56(%rbp)
LBB0_9:
	movq	%r13, %rcx
	movq	%r14, %rdi
	movq	_DBUS_TYPE_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_wpas_dbus_simple_property_getter
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_8
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_WPAS_DBUS_AUTH_MODE_MAX,4,2    ## @WPAS_DBUS_AUTH_MODE_MAX
	.comm	_WPA_COMPLETED,8,3              ## @WPA_COMPLETED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INACTIVE"

	.comm	_WPA_KEY_MGMT_IEEE8021X,8,3     ## @WPA_KEY_MGMT_IEEE8021X
	.comm	_WPA_KEY_MGMT_IEEE8021X_NO_WPA,8,3 ## @WPA_KEY_MGMT_IEEE8021X_NO_WPA
L_.str.1:                               ## @.str.1
	.asciz	"EAP-%s"

L_.str.2:                               ## @.str.2
	.asciz	"UNKNOWN"

	.comm	_DBUS_TYPE_STRING,4,2           ## @DBUS_TYPE_STRING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_dbus_getter_current_auth_mode ; -- Begin function wpas_dbus_getter_current_auth_mode
	.p2align	2
_wpas_dbus_getter_current_auth_mode:    ; @wpas_dbus_getter_current_auth_mode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _WPAS_DBUS_AUTH_MODE_MAX@GOTPAGE
Lloh4:
	ldr	x23, [x23, _WPAS_DBUS_AUTH_MODE_MAX@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x8, [x3]
Lloh7:
	adrp	x9, _WPA_COMPLETED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WPA_COMPLETED@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x3, #8]
Lloh10:
	adrp	x8, _WPA_KEY_MGMT_IEEE8021X@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WPA_KEY_MGMT_IEEE8021X@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPAGE
Lloh14:
	ldr	x9, [x9, _WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x3
	bl	_wpa_supplicant_get_eap_mode
	mov	x3, x0
	ldr	w1, [x23]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_os_snprintf
	stur	x21, [x29, #-64]
	b	LBB0_7
LBB0_3:
Lloh18:
	adrp	x8, l_.str@PAGE
Lloh19:
	add	x8, x8, l_.str@PAGEOFF
LBB0_4:
	stur	x8, [x29, #-64]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x3, #16]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	w1, [x8]
	bl	_wpa_key_mgmt_txt
	stur	x0, [x29, #-64]
LBB0_7:
Lloh20:
	adrp	x8, _DBUS_TYPE_STRING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DBUS_TYPE_STRING@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	sub	x2, x29, #64
	mov	x0, x20
	mov	x3, x19
	bl	_wpas_dbus_simple_property_getter
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.8:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh26:
	adrp	x8, l_.str.2@PAGE
Lloh27:
	add	x8, x8, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_WPAS_DBUS_AUTH_MODE_MAX,4,2    ; @WPAS_DBUS_AUTH_MODE_MAX
	.comm	_WPA_COMPLETED,8,3              ; @WPA_COMPLETED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INACTIVE"

	.comm	_WPA_KEY_MGMT_IEEE8021X,8,3     ; @WPA_KEY_MGMT_IEEE8021X
	.comm	_WPA_KEY_MGMT_IEEE8021X_NO_WPA,8,3 ; @WPA_KEY_MGMT_IEEE8021X_NO_WPA
l_.str.1:                               ; @.str.1
	.asciz	"EAP-%s"

l_.str.2:                               ; @.str.2
	.asciz	"UNKNOWN"

	.comm	_DBUS_TYPE_STRING,4,2           ; @DBUS_TYPE_STRING
.subsections_via_symbols
