	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctrl_iface_get_capability_key_mgmt
_ctrl_iface_get_capability_key_mgmt:    ## @ctrl_iface_get_capability_key_mgmt
	.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, %r13
	movq	%rcx, %r14
	testl	%edi, %edi
	js	LBB0_1
## %bb.3:
	movq	%rdx, %r12
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_os_snprintf
	movl	%eax, %ebx
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_14
## %bb.4:
	addq	%r14, %r13
	movslq	%ebx, %r15
	addq	%r14, %r15
	movl	(%r12), %eax
	movq	_WPA_DRIVER_CAPA_KEY_MGMT_WPA@GOTPCREL(%rip), %rcx
	movq	_WPA_DRIVER_CAPA_KEY_MGMT_WPA2@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.5:
	movl	%r13d, %r12d
	subl	%r15d, %r12d
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_os_snprintf
	movl	%r12d, %edi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_os_snprintf_error
	movq	%rax, %rcx
	movl	%ebx, %eax
	testq	%rcx, %rcx
	jne	LBB0_14
## %bb.6:
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	addq	%rax, %r15
	movl	(%r12), %eax
LBB0_7:
	movq	_WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK@GOTPCREL(%rip), %rcx
	movq	_WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_10
## %bb.8:
	movl	%r13d, %ebx
	subl	%r15d, %ebx
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_os_snprintf
	movl	%eax, %r12d
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_13
## %bb.9:
	movslq	%r12d, %rax
	addq	%rax, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_10:
	movq	_WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.11:
	subl	%r15d, %r13d
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_os_snprintf
	movl	%eax, %ebx
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movslq	%ebx, %rax
	addq	%rax, %r15
LBB0_13:
	subl	%r14d, %r15d
	movl	%r15d, %eax
	jmp	LBB0_14
LBB0_1:
	xorl	%eax, %eax
	testq	%rsi, %rsi
	jne	LBB0_14
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_os_strlcpy
	movq	%rax, %rcx
	cmpq	%r13, %rax
	movl	$-1, %eax
	cmovbl	%ecx, %eax
LBB0_14:
	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	"WPA-PSK WPA-EAP IEEE8021X WPA-NONE NONE"

L_.str.1:                               ## @.str.1
	.asciz	"NONE IEEE8021X"

	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_WPA
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA2,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_WPA2
L_.str.2:                               ## @.str.2
	.asciz	" WPA-EAP"

	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK
L_.str.3:                               ## @.str.3
	.asciz	" WPA-PSK"

	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE
L_.str.4:                               ## @.str.4
	.asciz	" WPA-NONE"

	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_DPP,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_DPP
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_OWE,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_OWE
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_SAE,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_SAE
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192,4,2 ## @WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192
	.no_dead_strip	_ctrl_iface_get_capability_key_mgmt
.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_key_mgmt
_ctrl_iface_get_capability_key_mgmt:    ; @ctrl_iface_get_capability_key_mgmt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x4
	mov	x19, x3
	tbnz	w0, #31, LBB0_12
; %bb.1:
	mov	x21, x2
Lloh0:
	adrp	x2, l_.str.1@PAGE
Lloh1:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_os_snprintf
	mov	x22, x0
	mov	x0, x20
	mov	x1, x22
	bl	_os_snprintf_error
	cbnz	x0, LBB0_13
; %bb.2:
	add	x25, x19, x20
	add	x20, x19, w22, sxtw
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _WPA_DRIVER_CAPA_KEY_MGMT_WPA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WPA_DRIVER_CAPA_KEY_MGMT_WPA@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _WPA_DRIVER_CAPA_KEY_MGMT_WPA2@GOTPAGE
Lloh6:
	ldr	x10, [x10, _WPA_DRIVER_CAPA_KEY_MGMT_WPA2@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	sub	w24, w25, w20
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x24
	bl	_os_snprintf
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_os_snprintf_error
	cbnz	x0, LBB0_14
; %bb.4:
	add	x20, x20, w23, sxtw
	ldr	w8, [x21]
LBB0_5:
Lloh10:
	adrp	x9, _WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK@GOTPAGE
Lloh14:
	ldr	x10, [x10, _WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:
	sub	w23, w25, w20
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_os_snprintf
	mov	x22, x0
	mov	x0, x23
	mov	x1, x22
	bl	_os_snprintf_error
	cbnz	x0, LBB0_11
; %bb.7:
	add	x20, x20, w22, sxtw
	ldr	w8, [x21]
LBB0_8:
Lloh18:
	adrp	x9, _WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
	sub	w22, w25, w20
Lloh21:
	adrp	x2, l_.str.4@PAGE
Lloh22:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_os_snprintf
	mov	x21, x0
	mov	x0, x22
	mov	x1, x21
	bl	_os_snprintf_error
	cbnz	x0, LBB0_11
; %bb.10:
	add	x20, x20, w21, sxtw
LBB0_11:
	sub	w22, w20, w19
	b	LBB0_14
LBB0_12:
	cbz	x1, LBB0_15
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_os_strlcpy
	cmp	x0, x20
	csinv	w22, w0, wzr, lo
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WPA-PSK WPA-EAP IEEE8021X WPA-NONE NONE"

l_.str.1:                               ; @.str.1
	.asciz	"NONE IEEE8021X"

	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_WPA
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA2,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_WPA2
l_.str.2:                               ; @.str.2
	.asciz	" WPA-EAP"

	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK
l_.str.3:                               ; @.str.3
	.asciz	" WPA-PSK"

	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE
l_.str.4:                               ; @.str.4
	.asciz	" WPA-NONE"

	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_DPP,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_DPP
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA256
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_FILS_SHA384
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA256
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_FT_FILS_SHA384
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_OWE,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_OWE
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_SAE,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_SAE
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B
	.comm	_WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192,4,2 ; @WPA_DRIVER_CAPA_KEY_MGMT_SUITE_B_192
	.no_dead_strip	_ctrl_iface_get_capability_key_mgmt
.subsections_via_symbols
