	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_selector_to_bitfield
_wpa_selector_to_bitfield:              ## @wpa_selector_to_bitfield
	.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
	callq	_RSN_SELECTOR_GET
	movq	_WPA_CIPHER_SUITE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_WPA_CIPHER_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
	callq	_RSN_SELECTOR_GET
	movq	_WPA_CIPHER_SUITE_TKIP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_WPA_CIPHER_TKIP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_RSN_SELECTOR_GET
	movq	%rax, %rcx
	movq	_WPA_CIPHER_SUITE_CCMP@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	movq	_WPA_CIPHER_CCMP@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_CIPHER_SUITE_NONE,8,3      ## @WPA_CIPHER_SUITE_NONE
	.comm	_WPA_CIPHER_NONE,4,2            ## @WPA_CIPHER_NONE
	.comm	_WPA_CIPHER_SUITE_TKIP,8,3      ## @WPA_CIPHER_SUITE_TKIP
	.comm	_WPA_CIPHER_TKIP,4,2            ## @WPA_CIPHER_TKIP
	.comm	_WPA_CIPHER_SUITE_CCMP,8,3      ## @WPA_CIPHER_SUITE_CCMP
	.comm	_WPA_CIPHER_CCMP,4,2            ## @WPA_CIPHER_CCMP
	.no_dead_strip	_wpa_selector_to_bitfield
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_selector_to_bitfield
_wpa_selector_to_bitfield:              ; @wpa_selector_to_bitfield
	.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
	bl	_RSN_SELECTOR_GET
Lloh0:
	adrp	x8, _WPA_CIPHER_SUITE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WPA_CIPHER_SUITE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _WPA_CIPHER_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WPA_CIPHER_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_RSN_SELECTOR_GET
Lloh6:
	adrp	x8, _WPA_CIPHER_SUITE_TKIP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WPA_CIPHER_SUITE_TKIP@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _WPA_CIPHER_TKIP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WPA_CIPHER_TKIP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_RSN_SELECTOR_GET
Lloh12:
	adrp	x8, _WPA_CIPHER_SUITE_CCMP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WPA_CIPHER_SUITE_CCMP@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _WPA_CIPHER_CCMP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WPA_CIPHER_CCMP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	x0, x8
	csel	w0, w9, wzr, eq
LBB0_5:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_CIPHER_SUITE_NONE,8,3      ; @WPA_CIPHER_SUITE_NONE
	.comm	_WPA_CIPHER_NONE,4,2            ; @WPA_CIPHER_NONE
	.comm	_WPA_CIPHER_SUITE_TKIP,8,3      ; @WPA_CIPHER_SUITE_TKIP
	.comm	_WPA_CIPHER_TKIP,4,2            ; @WPA_CIPHER_TKIP
	.comm	_WPA_CIPHER_SUITE_CCMP,8,3      ; @WPA_CIPHER_SUITE_CCMP
	.comm	_WPA_CIPHER_CCMP,4,2            ; @WPA_CIPHER_CCMP
	.no_dead_strip	_wpa_selector_to_bitfield
.subsections_via_symbols
