	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_tdls_oper
_ieee80211_tdls_oper:                   ## @ieee80211_tdls_oper
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_IEEE80211_DEV_TO_SUB_IF
	movq	%rax, %r15
	movq	_WIPHY_FLAG_SUPPORTS_TDLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.1:
	movq	(%r15), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_tdls_dbg
	addl	$-128, %r12d
	cmpl	$4, %r12d
	ja	LBB0_9
## %bb.4:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r12,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_9:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_sta_info_get
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_WLAN_STA_TDLS_PEER_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_set_sta_flag
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_12
LBB0_8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sta_info_destroy_addr          ## TAILCALL
LBB0_6:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_ENOLINK@GOTPCREL(%rip), %rax
	jmp	LBB0_11
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_WIPHY_FLAG_SUPPORTS_TDLS,4,2   ## @WIPHY_FLAG_SUPPORTS_TDLS
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS oper %d peer %pM\n"

	.comm	_ENOLINK,4,2                    ## @ENOLINK
	.comm	_WLAN_STA_TDLS_PEER_AUTH,4,2    ## @WLAN_STA_TDLS_PEER_AUTH
	.no_dead_strip	_ieee80211_tdls_oper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_tdls_oper
_ieee80211_tdls_oper:                   ; @ieee80211_tdls_oper
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x22, x0
	mov	x0, x1
	bl	_IEEE80211_DEV_TO_SUB_IF
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _WIPHY_FLAG_SUPPORTS_TDLS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WIPHY_FLAG_SUPPORTS_TDLS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x19
	bl	_tdls_dbg
	sub	w8, w21, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.3:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh10:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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_8:
	bl	_rcu_read_lock
	mov	x0, x20
	mov	x1, x19
	bl	_sta_info_get
	cbz	x0, LBB0_11
; %bb.9:
Lloh14:
	adrp	x8, _WLAN_STA_TDLS_PEER_AUTH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WLAN_STA_TDLS_PEER_AUTH@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_set_sta_flag
	bl	_rcu_read_unlock
	mov	w0, #0
	b	LBB0_7
LBB0_10:
	mov	x0, x20
	mov	x1, 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	_sta_info_destroy_addr
LBB0_11:
	bl	_rcu_read_unlock
Lloh17:
	adrp	x8, _ENOLINK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOLINK@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
                                        ; -- End function
	.comm	_WIPHY_FLAG_SUPPORTS_TDLS,4,2   ; @WIPHY_FLAG_SUPPORTS_TDLS
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS oper %d peer %pM\n"

	.comm	_ENOLINK,4,2                    ; @ENOLINK
	.comm	_WLAN_STA_TDLS_PEER_AUTH,4,2    ; @WLAN_STA_TDLS_PEER_AUTH
	.no_dead_strip	_ieee80211_tdls_oper
.subsections_via_symbols
