	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_set_non_wpa_policy ## -- Begin function wpa_supplicant_set_non_wpa_policy
	.p2align	4, 0x90
_wpa_supplicant_set_non_wpa_policy:     ## @wpa_supplicant_set_non_wpa_policy
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %ecx
	movq	_WPA_KEY_MGMT_WPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	jne	LBB0_3
## %bb.1:
	movq	_WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	jne	LBB0_3
## %bb.2:
	movq	_WPA_KEY_MGMT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, (%rbx)
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wpa_sm_set_ap_wpa_ie
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wpa_sm_set_ap_rsn_ie
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wpa_sm_set_assoc_wpa_ie
	movq	_WPA_CIPHER_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	%eax, 8(%rbx)
	movl	$0, 12(%rbx)
	movq	_NUM_WEP_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.4:
	movq	8(%r14), %rdx
	xorl	%esi, %esi
	movq	_WPA_CIPHER_WEP104@GOTPCREL(%rip), %rcx
	movq	_WPA_CIPHER_WEP40@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %edi
	cmpl	$5, %edi
	jg	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%edi, %edi
	jg	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_6
	jmp	LBB0_10
LBB0_8:
	movq	%r8, %rcx
LBB0_9:
	movl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movl	%eax, 8(%rbx)
LBB0_10:
	movl	16(%rbx), %edi
	movq	_WPA_PARAM_RSN_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_wpa_sm_set_param
	movl	(%rbx), %edx
	movl	16(%rbx), %edi
	movq	_WPA_PARAM_KEY_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpa_sm_set_param
	movl	4(%rbx), %edx
	movl	16(%rbx), %edi
	movq	_WPA_PARAM_PAIRWISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpa_sm_set_param
	movl	8(%rbx), %edx
	movl	16(%rbx), %edi
	movq	_WPA_PARAM_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpa_sm_set_param
	movl	16(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pmksa_cache_clear_current      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_KEY_MGMT_WPS,4,2           ## @WPA_KEY_MGMT_WPS
	.comm	_WPA_KEY_MGMT_IEEE8021X_NO_WPA,4,2 ## @WPA_KEY_MGMT_IEEE8021X_NO_WPA
	.comm	_WPA_KEY_MGMT_NONE,4,2          ## @WPA_KEY_MGMT_NONE
	.comm	_WPA_CIPHER_NONE,8,3            ## @WPA_CIPHER_NONE
	.comm	_NUM_WEP_KEYS,4,2               ## @NUM_WEP_KEYS
	.comm	_WPA_CIPHER_WEP104,8,3          ## @WPA_CIPHER_WEP104
	.comm	_WPA_CIPHER_WEP40,8,3           ## @WPA_CIPHER_WEP40
	.comm	_WPA_PARAM_RSN_ENABLED,4,2      ## @WPA_PARAM_RSN_ENABLED
	.comm	_WPA_PARAM_KEY_MGMT,4,2         ## @WPA_PARAM_KEY_MGMT
	.comm	_WPA_PARAM_PAIRWISE,4,2         ## @WPA_PARAM_PAIRWISE
	.comm	_WPA_PARAM_GROUP,4,2            ## @WPA_PARAM_GROUP
	.comm	_WPA_PARAM_MGMT_GROUP,4,2       ## @WPA_PARAM_MGMT_GROUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_set_non_wpa_policy ; -- Begin function wpa_supplicant_set_non_wpa_policy
	.p2align	2
_wpa_supplicant_set_non_wpa_policy:     ; @wpa_supplicant_set_non_wpa_policy
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _WPA_KEY_MGMT_WPS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPA_KEY_MGMT_WPS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WPA_KEY_MGMT_IEEE8021X_NO_WPA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _WPA_KEY_MGMT_NONE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WPA_KEY_MGMT_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, w10, w9, eq
LBB0_2:
	str	w9, [x19]
	ldr	w0, [x19, #16]
	mov	x1, #0
	mov	w2, #0
	bl	_wpa_sm_set_ap_wpa_ie
	ldr	w0, [x19, #16]
	mov	x1, #0
	mov	w2, #0
	bl	_wpa_sm_set_ap_rsn_ie
	ldr	w0, [x19, #16]
	mov	x1, #0
	mov	w2, #0
	bl	_wpa_sm_set_assoc_wpa_ie
Lloh9:
	adrp	x8, _WPA_CIPHER_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WPA_CIPHER_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w8, [x19, #4]
	str	wzr, [x19, #12]
Lloh12:
	adrp	x8, _NUM_WEP_KEYS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NUM_WEP_KEYS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	ldr	x10, [x20, #8]
Lloh15:
	adrp	x9, _WPA_CIPHER_WEP104@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WPA_CIPHER_WEP104@GOTPAGEOFF]
Lloh17:
	adrp	x11, _WPA_CIPHER_WEP40@GOTPAGE
Lloh18:
	ldr	x11, [x11, _WPA_CIPHER_WEP40@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10]
	cmp	w12, #5
	b.gt	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w12, #1
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #4
	subs	x8, x8, #1
	b.ne	LBB0_4
	b	LBB0_9
LBB0_7:
	mov	x9, x11
LBB0_8:
	ldr	w8, [x9]
	stp	w8, w8, [x19, #4]
LBB0_9:
	ldr	w0, [x19, #16]
Lloh19:
	adrp	x8, _WPA_PARAM_RSN_ENABLED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WPA_PARAM_RSN_ENABLED@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_wpa_sm_set_param
	ldr	w0, [x19, #16]
Lloh22:
	adrp	x8, _WPA_PARAM_KEY_MGMT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WPA_PARAM_KEY_MGMT@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x19]
	bl	_wpa_sm_set_param
	ldr	w0, [x19, #16]
Lloh25:
	adrp	x8, _WPA_PARAM_PAIRWISE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WPA_PARAM_PAIRWISE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	bl	_wpa_sm_set_param
	ldr	w0, [x19, #16]
Lloh28:
	adrp	x8, _WPA_PARAM_GROUP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _WPA_PARAM_GROUP@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	bl	_wpa_sm_set_param
	ldr	w0, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pmksa_cache_clear_current
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_KEY_MGMT_WPS,4,2           ; @WPA_KEY_MGMT_WPS
	.comm	_WPA_KEY_MGMT_IEEE8021X_NO_WPA,4,2 ; @WPA_KEY_MGMT_IEEE8021X_NO_WPA
	.comm	_WPA_KEY_MGMT_NONE,4,2          ; @WPA_KEY_MGMT_NONE
	.comm	_WPA_CIPHER_NONE,8,3            ; @WPA_CIPHER_NONE
	.comm	_NUM_WEP_KEYS,4,2               ; @NUM_WEP_KEYS
	.comm	_WPA_CIPHER_WEP104,8,3          ; @WPA_CIPHER_WEP104
	.comm	_WPA_CIPHER_WEP40,8,3           ; @WPA_CIPHER_WEP40
	.comm	_WPA_PARAM_RSN_ENABLED,4,2      ; @WPA_PARAM_RSN_ENABLED
	.comm	_WPA_PARAM_KEY_MGMT,4,2         ; @WPA_PARAM_KEY_MGMT
	.comm	_WPA_PARAM_PAIRWISE,4,2         ; @WPA_PARAM_PAIRWISE
	.comm	_WPA_PARAM_GROUP,4,2            ; @WPA_PARAM_GROUP
	.comm	_WPA_PARAM_MGMT_GROUP,4,2       ; @WPA_PARAM_MGMT_GROUP
.subsections_via_symbols
