	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cfg80211_mlme_auth           ## -- Begin function __cfg80211_mlme_auth
	.p2align	4, 0x90
___cfg80211_mlme_auth:                  ## @__cfg80211_mlme_auth
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movl	%ecx, %r12d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_ASSERT_WDEV_LOCK
	movq	_NL80211_AUTHTYPE_SHARED_KEY@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_4
## %bb.1:
	cmpl	$4, 56(%rbp)
	ja	LBB0_11
## %bb.2:
	cmpq	$0, 40(%rbp)
	je	LBB0_11
## %bb.3:
	cmpl	$0, 48(%rbp)
	je	LBB0_11
LBB0_4:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_EALREADY@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_7:
	leaq	-120(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	24(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	32(%rbp), %eax
	movl	%eax, -120(%rbp)
	movq	64(%rbp), %rax
	movq	%rax, -80(%rbp)
	movl	72(%rbp), %eax
	movl	%eax, -116(%rbp)
	movl	%r12d, -112(%rbp)
	movq	_WLAN_CAPABILITY_ESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r9d, (%rsp)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	16(%rbp), %r8d
	callq	_cfg80211_get_bss
	movq	%rax, -96(%rbp)
	movq	40(%rbp), %rcx
	movq	%rcx, -88(%rbp)
	movl	48(%rbp), %ecx
	movl	%ecx, -108(%rbp)
	movl	56(%rbp), %ecx
	movl	%ecx, -104(%rbp)
	testq	%rax, %rax
	je	LBB0_13
## %bb.8:
	movl	(%rax), %edx
	movq	_CHAN_MODE_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_cfg80211_can_use_chan
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	leaq	-120(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_rdev_auth
	movl	%eax, %r14d
LBB0_10:
	movq	-96(%rbp), %rsi
	movq	%r12, %rdi
	callq	_cfg80211_put_bss
	jmp	LBB0_15
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_12:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_13:
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_14:
	subl	(%rax), %r14d
LBB0_15:
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_AUTHTYPE_SHARED_KEY,4,2 ## @NL80211_AUTHTYPE_SHARED_KEY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EALREADY,4,2                   ## @EALREADY
	.comm	_WLAN_CAPABILITY_ESS,4,2        ## @WLAN_CAPABILITY_ESS
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_CHAN_MODE_SHARED,4,2           ## @CHAN_MODE_SHARED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___cfg80211_mlme_auth           ; -- Begin function __cfg80211_mlme_auth
	.p2align	2
___cfg80211_mlme_auth:                  ; @__cfg80211_mlme_auth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	stp	x7, x2, [sp, #24]               ; 16-byte Folded Spill
	mov	x25, x6
	mov	x27, x5
	mov	x24, x4
	mov	x26, x3
	mov	x20, x1
	mov	x19, x0
	ldp	w22, w28, [x29, #32]
	ldr	x23, [x29, #24]
	ldr	x21, [x1]
	mov	x0, x21
	bl	_ASSERT_WDEV_LOCK
Lloh0:
	adrp	x8, _NL80211_AUTHTYPE_SHARED_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_AUTHTYPE_SHARED_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w26
	b.ne	LBB0_3
; %bb.1:
	cmp	w28, #4
	ccmp	x23, #0, #4, ls
	ccmp	w22, #0, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_ether_addr_equal
	cbz	x0, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _EALREADY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EALREADY@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	stp	x20, x27, [sp]                  ; 16-byte Folded Spill
	mov	x27, x19
	ldr	w19, [x29, #48]
	str	w25, [sp, #20]                  ; 4-byte Folded Spill
	ldr	x25, [x29, #40]
	ldr	w20, [x29, #16]
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldp	x8, x1, [sp, #24]               ; 16-byte Folded Reload
	stp	x25, x8, [sp, #80]
	stp	w20, w19, [sp, #40]
	str	w26, [sp, #48]
Lloh7:
	adrp	x8, _WLAN_CAPABILITY_ESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WLAN_CAPABILITY_ESS@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
	mov	x0, x27
	mov	x2, x24
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w4, [sp, #20]                   ; 4-byte Folded Reload
	mov	x6, x5
	bl	_cfg80211_get_bss
	stp	x0, x23, [sp, #64]
	stp	w22, w28, [sp, #52]
	cbz	x0, LBB0_10
; %bb.7:
	ldr	w2, [x0]
Lloh10:
	adrp	x8, _CHAN_MODE_SHARED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CHAN_MODE_SHARED@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x27
	mov	x1, x21
	bl	_cfg80211_can_use_chan
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.8:
	add	x2, sp, #40
	mov	x0, x27
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_rdev_auth
	mov	x21, x0
LBB0_9:
	ldr	x1, [sp, #64]
	mov	x0, x27
	bl	_cfg80211_put_bss
	b	LBB0_12
LBB0_10:
Lloh13:
	adrp	x8, _ENOENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_AUTHTYPE_SHARED_KEY,4,2 ; @NL80211_AUTHTYPE_SHARED_KEY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EALREADY,4,2                   ; @EALREADY
	.comm	_WLAN_CAPABILITY_ESS,4,2        ; @WLAN_CAPABILITY_ESS
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_CHAN_MODE_SHARED,4,2           ; @CHAN_MODE_SHARED
.subsections_via_symbols
