	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_sm_get_status              ## -- Begin function wpa_sm_get_status
	.p2align	4, 0x90
_wpa_sm_get_status:                     ## @wpa_sm_get_status
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	36(%rdi), %edi
	callq	_wpa_cipher_txt
	movl	%eax, %r13d
	movl	32(%rbx), %edi
	callq	_wpa_cipher_txt
	movl	%eax, %r12d
	movl	24(%rbx), %esi
	movl	28(%rbx), %edi
	callq	_wpa_key_mgmt_txt
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	xorl	%r12d, %r12d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %r13d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_8
## %bb.1:
	movslq	%r13d, %r12
	addq	%r15, %r12
	movq	(%rbx), %rax
	movq	_NO_MGMT_FRAME_PROTECTION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.2:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	movl	12(%rbx), %esi
	leaq	-48(%rbp), %rdx
	callq	_wpa_parse_wpa_ie_rsn
	testq	%rax, %rax
	js	LBB0_7
## %bb.4:
	movl	-48(%rbp), %eax
	movq	_WPA_CAPABILITY_MFPR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_WPA_CAPABILITY_MFPC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_7
## %bb.5:
	addq	%r15, %r14
	subl	%r12d, %r14d
	andl	%eax, %ecx
	cmpl	$1, %ecx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r15
	movl	$2, %r14d
	sbbl	$0, %r14d
	movl	8(%rbx), %edi
	callq	_wpa_cipher_txt
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r14d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %ebx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movl	%r13d, %r12d
	jmp	LBB0_8
LBB0_6:
	movslq	%ebx, %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	addq	%rax, %r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_7:
	subl	%r15d, %r12d
LBB0_8:
	movl	%r12d, %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	"pairwise_cipher=%s\ngroup_cipher=%s\nkey_mgmt=%s\n"

	.comm	_NO_MGMT_FRAME_PROTECTION,8,3   ## @NO_MGMT_FRAME_PROTECTION
	.comm	_WPA_CAPABILITY_MFPR,4,2        ## @WPA_CAPABILITY_MFPR
	.comm	_WPA_CAPABILITY_MFPC,4,2        ## @WPA_CAPABILITY_MFPC
L_.str.1:                               ## @.str.1
	.asciz	"pmf=%d\nmgmt_group_cipher=%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_sm_get_status              ; -- Begin function wpa_sm_get_status
	.p2align	2
_wpa_sm_get_status:                     ; @wpa_sm_get_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	ldr	w0, [x0, #36]
	bl	_wpa_cipher_txt
	mov	x20, x0
	ldr	w0, [x22, #32]
	bl	_wpa_cipher_txt
	mov	x21, x0
	ldp	w1, w0, [x22, #24]
	bl	_wpa_key_mgmt_txt
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x23
	mov	x3, x20
	mov	x4, x21
	bl	_os_snprintf
	mov	x21, x0
	mov	x0, x23
	mov	x1, x21
	bl	_os_snprintf_error
	cbz	x0, LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_9
LBB0_2:
	add	x20, x19, w21, sxtw
	ldr	x8, [x22]
Lloh2:
	adrp	x9, _NO_MGMT_FRAME_PROTECTION@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NO_MGMT_FRAME_PROTECTION@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.3:
	ldr	x0, [x22, #16]
	cbz	x0, LBB0_8
; %bb.4:
	ldr	w1, [x22, #12]
	add	x2, sp, #8
	bl	_wpa_parse_wpa_ie_rsn
	tbnz	x0, #63, LBB0_8
; %bb.5:
	ldr	w8, [sp, #8]
Lloh5:
	adrp	x9, _WPA_CAPABILITY_MFPR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WPA_CAPABILITY_MFPR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _WPA_CAPABILITY_MFPC@GOTPAGE
Lloh9:
	ldr	x10, [x10, _WPA_CAPABILITY_MFPC@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w10, w10, w9
	tst	w10, w8
	b.eq	LBB0_8
; %bb.6:
	add	x10, x19, x23
	sub	w23, w10, w20
	tst	w9, w8
	mov	w8, #1
	cinc	w24, w8, ne
	ldr	w0, [x22, #8]
	bl	_wpa_cipher_txt
	mov	x4, x0
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x3, x24
	bl	_os_snprintf
	mov	x22, x0
	mov	x0, x23
	mov	x1, x22
	bl	_os_snprintf_error
	cbnz	x0, LBB0_9
; %bb.7:
	add	x20, x20, w22, sxtw
LBB0_8:
	sub	w21, w20, w19
LBB0_9:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pairwise_cipher=%s\ngroup_cipher=%s\nkey_mgmt=%s\n"

	.comm	_NO_MGMT_FRAME_PROTECTION,8,3   ; @NO_MGMT_FRAME_PROTECTION
	.comm	_WPA_CAPABILITY_MFPR,4,2        ; @WPA_CAPABILITY_MFPR
	.comm	_WPA_CAPABILITY_MFPC,4,2        ; @WPA_CAPABILITY_MFPC
l_.str.1:                               ; @.str.1
	.asciz	"pmf=%d\nmgmt_group_cipher=%s\n"

.subsections_via_symbols
