	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sme_authenticate               ## -- Begin function sme_authenticate
	.p2align	4, 0x90
_sme_authenticate:                      ## @sme_authenticate
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r15
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.2:
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_3
## %bb.8:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_dbg                        ## TAILCALL
LBB0_3:
	movq	%rsi, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_radio_work_pending
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	callq	_wpa_dbg
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_radio_remove_works
LBB0_5:
	movq	%rbx, %rdi
	callq	_wpas_abort_ongoing_scan
	movl	$24, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %r12
	movq	%r14, 16(%rax)
	movq	%r15, 8(%rax)
	movl	$1, (%rax)
	movl	(%r14), %esi
	movq	_sme_auth_start_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	movq	%r12, %r9
	callq	_radio_add_work
	testq	%rax, %rax
	js	LBB0_9
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpas_connect_work_free         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SME: Reject sme_authenticate() call since connect_work exist"

L_.str.1:                               ## @.str.1
	.asciz	"sme-connect"

L_.str.2:                               ## @.str.2
	.asciz	"SME: Remove previous pending sme-connect"

	.comm	_sme_auth_start_cb,4,2          ## @sme_auth_start_cb
	.comm	_SAE_NOTHING,4,2                ## @SAE_NOTHING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sme_authenticate               ; -- Begin function sme_authenticate
	.p2align	2
_sme_authenticate:                      ; @sme_authenticate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x1, LBB0_8
; %bb.1:
	mov	x21, x2
	cbz	x2, LBB0_8
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wpa_dbg
LBB0_4:
	mov	x20, x1
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_radio_work_pending
	cbz	x0, LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_wpa_dbg
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_radio_remove_works
LBB0_6:
	mov	x0, x19
	bl	_wpas_abort_ongoing_scan
	mov	w0, #24
	bl	_os_zalloc
	cbz	x0, LBB0_8
; %bb.7:
	mov	x22, x0
	stp	x21, x20, [x0, #8]
	mov	w8, #1
	str	w8, [x0]
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _sme_auth_start_cb@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sme_auth_start_cb@GOTPAGEOFF]
Lloh16:
	ldr	w4, [x8]
Lloh17:
	adrp	x2, l_.str.1@PAGE
Lloh18:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w3, #1
	mov	x5, x22
	bl	_radio_add_work
	tbnz	x0, #63, LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wpas_connect_work_free
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SME: Reject sme_authenticate() call since connect_work exist"

l_.str.1:                               ; @.str.1
	.asciz	"sme-connect"

l_.str.2:                               ; @.str.2
	.asciz	"SME: Remove previous pending sme-connect"

	.comm	_sme_auth_start_cb,4,2          ; @sme_auth_start_cb
	.comm	_SAE_NOTHING,4,2                ; @SAE_NOTHING
.subsections_via_symbols
