	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_enabled_networks ## -- Begin function wpa_supplicant_enabled_networks
	.p2align	4, 0x90
_wpa_supplicant_enabled_networks:       ## @wpa_supplicant_enabled_networks
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	cmpq	$0, 8(%rdi)
	jne	LBB0_12
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	24(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_wpas_network_disabled
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	testl	%eax, %eax
	setne	%cl
	sete	%dl
	addl	%edx, %r12d
	addl	%ecx, %r15d
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
## %bb.5:
	movq	(%r14), %rax
	cmpq	$0, 16(%rax)
	jne	LBB0_7
	jmp	LBB0_9
LBB0_2:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	cmpq	$0, 16(%rax)
	je	LBB0_9
LBB0_7:
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.8:
	cmpq	$1, (%rax)
	sbbl	$-1, %r12d
LBB0_9:
	testl	%r12d, %r12d
	jne	LBB0_12
## %bb.10:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	callq	_wpa_dbg
	xorl	%r12d, %r12d
LBB0_12:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No enabled networks (%d disabled networks)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_enabled_networks ; -- Begin function wpa_supplicant_enabled_networks
	.p2align	2
_wpa_supplicant_enabled_networks:       ; @wpa_supplicant_enabled_networks
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x22, [x8, #24]
	cbz	x22, LBB0_5
; %bb.2:
	mov	w20, #0
	mov	w21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_wpas_network_disabled
	cmp	w0, #0
	cinc	w21, w21, eq
	cinc	w20, w20, ne
	ldr	x22, [x22]
	cbnz	x22, LBB0_3
; %bb.4:
	ldr	x8, [x19]
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_6
	b	LBB0_8
LBB0_5:
	mov	w21, #0
	mov	w20, #0
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_8
LBB0_6:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_8
; %bb.7:
	ldr	x8, [x8]
	cmp	x8, #0
	cinc	w21, w21, ne
LBB0_8:
	cbnz	w21, LBB0_12
; %bb.9:
	cbz	w20, LBB0_12
; %bb.10:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_wpa_dbg
LBB0_11:
	mov	w21, #0
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No enabled networks (%d disabled networks)"

.subsections_via_symbols
