	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_network_disabled          ## -- Begin function wpas_network_disabled
	.p2align	4, 0x90
_wpas_network_disabled:                 ## @wpas_network_disabled
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %r14d
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.1:
	cmpq	$0, 16(%rdi)
	jne	LBB0_23
## %bb.2:
	movq	%rsi, %rbx
	cmpq	$0, 48(%rsi)
	jne	LBB0_23
## %bb.3:
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.5:
	movl	(%rdi), %r11d
	jmp	LBB0_6
LBB0_4:
	movl	$-1, %r11d
LBB0_6:
	movq	_NUM_WEP_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.7:
	movq	(%rbx), %rdx
	movq	_WPA_DRIVER_CAPA_ENC_WEP128@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WPA_DRIVER_CAPA_ENC_WEP104@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_WPA_DRIVER_CAPA_ENC_WEP40@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	xorl	%edi, %edi
	leaq	LJTI0_0(%rip), %rsi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	testl	%r11d, %r8d
	je	LBB0_23
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	je	LBB0_14
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rax
	cmpq	$16, %rax
	ja	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	jmpq	*%rax
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	testl	%r11d, %r10d
	jne	LBB0_13
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	testl	%r11d, %r9d
	jne	LBB0_13
	jmp	LBB0_23
LBB0_14:
	movl	32(%rbx), %edi
	callq	_wpa_key_mgmt_wpa_psk
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:
	cmpl	$0, 44(%rbx)
	jne	LBB0_22
## %bb.16:
	cmpl	$0, 40(%rbx)
	je	LBB0_18
## %bb.17:
	cmpq	$0, 8(%rbx)
	je	LBB0_22
LBB0_18:
	cmpl	$0, 36(%rbx)
	je	LBB0_19
LBB0_22:
	xorl	%r14d, %r14d
LBB0_23:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_19:
	movl	32(%rbx), %edi
	callq	_wpa_key_mgmt_sae
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	cmpq	$0, 24(%rbx)
	jne	LBB0_22
LBB0_21:
	cmpl	$0, 16(%rbx)
	jne	LBB0_22
	jmp	LBB0_23
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_10
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_11
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_NUM_WEP_KEYS,4,2               ## @NUM_WEP_KEYS
	.comm	_WPA_DRIVER_CAPA_ENC_WEP40,4,2  ## @WPA_DRIVER_CAPA_ENC_WEP40
	.comm	_WPA_DRIVER_CAPA_ENC_WEP104,4,2 ## @WPA_DRIVER_CAPA_ENC_WEP104
	.comm	_WPA_DRIVER_CAPA_ENC_WEP128,4,2 ## @WPA_DRIVER_CAPA_ENC_WEP128
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_network_disabled          ; -- Begin function wpas_network_disabled
	.p2align	2
_wpas_network_disabled:                 ; @wpas_network_disabled
	.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	x8, x0
	mov	w0, #1
	cbz	x1, LBB0_21
; %bb.1:
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_21
; %bb.2:
	mov	x19, x1
	ldr	x9, [x1, #48]
	cbz	x9, LBB0_4
LBB0_3:
	mov	w0, #1
	b	LBB0_21
LBB0_4:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.5:
	ldr	w12, [x8]
	b	LBB0_7
LBB0_6:
	mov	w12, #-1
LBB0_7:
Lloh0:
	adrp	x8, _NUM_WEP_KEYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_WEP_KEYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.8:
	ldr	x9, [x19]
Lloh3:
	adrp	x10, _WPA_DRIVER_CAPA_ENC_WEP128@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WPA_DRIVER_CAPA_ENC_WEP128@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w10, w10, w12
Lloh6:
	adrp	x11, _WPA_DRIVER_CAPA_ENC_WEP104@GOTPAGE
Lloh7:
	ldr	x11, [x11, _WPA_DRIVER_CAPA_ENC_WEP104@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	and	w11, w11, w12
Lloh9:
	adrp	x13, _WPA_DRIVER_CAPA_ENC_WEP40@GOTPAGE
Lloh10:
	ldr	x13, [x13, _WPA_DRIVER_CAPA_ENC_WEP40@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
	and	w12, w13, w12
Lloh12:
	adrp	x13, lJTI0_0@PAGE
Lloh13:
	add	x13, x13, lJTI0_0@PAGEOFF
	mov	w0, #1
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	cbz	w10, LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_15
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x9]
	cmp	x14, #16
	b.hi	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	adr	x15, LBB0_9
	ldrb	w16, [x13, x14]
	add	x15, x15, x16, lsl #2
	br	x15
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	cbnz	w12, LBB0_10
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	cbnz	w11, LBB0_10
	b	LBB0_3
LBB0_15:
	ldr	w0, [x19, #32]
	bl	_wpa_key_mgmt_wpa_psk
	cbz	x0, LBB0_20
; %bb.16:
	ldr	w8, [x19, #44]
	cbnz	w8, LBB0_20
; %bb.17:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_19
; %bb.18:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_20
LBB0_19:
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_22
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_22:
	ldr	w0, [x19, #32]
	bl	_wpa_key_mgmt_sae
	cbz	x0, LBB0_24
; %bb.23:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_20
LBB0_24:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_20
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
                                        ; -- End function
	.comm	_NUM_WEP_KEYS,4,2               ; @NUM_WEP_KEYS
	.comm	_WPA_DRIVER_CAPA_ENC_WEP40,4,2  ; @WPA_DRIVER_CAPA_ENC_WEP40
	.comm	_WPA_DRIVER_CAPA_ENC_WEP104,4,2 ; @WPA_DRIVER_CAPA_ENC_WEP104
	.comm	_WPA_DRIVER_CAPA_ENC_WEP128,4,2 ; @WPA_DRIVER_CAPA_ENC_WEP128
.subsections_via_symbols
