	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctrl_iface_get_capability_group
_ctrl_iface_get_capability_group:       ## @ctrl_iface_get_capability_group
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	testl	%edi, %edi
	js	LBB0_6
## %bb.1:
	movq	_ciphers@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %r14
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	addq	%r13, -48(%rbp)                 ## 8-byte Folded Spill
	xorl	%r15d, %r15d
	movq	%r13, %r14
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %rax
	addq	%rax, %r14
	movq	(%rbx), %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	cmpq	%rax, %r15
	jae	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movl	(%rdi,%r15,8), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r12d
	subl	%r14d, %r12d
	cmpq	%r13, %r14
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rcx
	movl	4(%rdi,%r15,8), %r8d
	movq	%r14, %rdi
	movl	%r12d, %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_os_snprintf
	movl	%eax, %r13d
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	subl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	jmp	LBB0_11
LBB0_10:
	subl	%r13d, %r14d
	jmp	LBB0_11
LBB0_6:
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	jne	LBB0_11
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_os_strlcpy
	cmpq	%rbx, %rax
	movl	$-1, %r14d
	cmovbl	%eax, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CCMP TKIP WEP104 WEP40"

	.comm	_ciphers,8,3                    ## @ciphers
L_.str.1:                               ## @.str.1
	.asciz	"%s%s"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	" "

	.no_dead_strip	_ctrl_iface_get_capability_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctrl_iface_get_capability_group
_ctrl_iface_get_capability_group:       ; @ctrl_iface_get_capability_group
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x4
	mov	x19, x3
	tbnz	w0, #31, LBB0_8
; %bb.1:
	mov	x20, x2
Lloh0:
	adrp	x25, _ciphers@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ciphers@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_ARRAY_SIZE
	mov	x21, x19
	cbz	w0, LBB0_7
; %bb.2:
	mov	x26, #0
	mov	x27, #0
	add	x28, x19, x22
	mov	x21, x19
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, w23, sxtw
	ldr	x0, [x25]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	bl	_ARRAY_SIZE
	add	x26, x26, #8
	cmp	x27, w0, uxtw
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	ldr	x0, [x25]
	ldr	w9, [x0, x26]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w24, w28, w21
	cmp	x21, x19
Lloh4:
	adrp	x8, l_.str.3@PAGE
Lloh5:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh6:
	adrp	x9, l_.str.2@PAGE
Lloh7:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x3, x9, x8, eq
	add	x8, x0, x26
	ldr	w4, [x8, #4]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_os_snprintf
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_os_snprintf_error
	cbz	x0, LBB0_3
LBB0_7:
	sub	w0, w21, w19
	b	LBB0_11
LBB0_8:
	cbz	x1, LBB0_10
; %bb.9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_os_strlcpy
	cmp	x0, x22
	csinv	w0, w0, wzr, lo
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CCMP TKIP WEP104 WEP40"

	.comm	_ciphers,8,3                    ; @ciphers
l_.str.1:                               ; @.str.1
	.asciz	"%s%s"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	" "

	.no_dead_strip	_ctrl_iface_get_capability_group
.subsections_via_symbols
