	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_get_tdls_sta_capab
_ieee80211_get_tdls_sta_capab:          ## @ieee80211_get_tdls_sta_capab
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	callq	_ieee80211_get_sdata_band
	movq	%rax, %rcx
	movq	_IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.1:
	movl	(%rbx), %edx
	movq	_IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	movl	$0, %ecx
	testl	%edx, (%rsi)
	jne	LBB0_3
## %bb.2:
	movq	_WLAN_CAPABILITY_SHORT_SLOT_TIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_3:
	movq	_IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_5
## %bb.4:
	movq	_WLAN_CAPABILITY_SHORT_PREAMBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	orl	%ecx, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_BAND_2GHZ,8,3        ## @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE,4,2 ## @IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE
	.comm	_WLAN_CAPABILITY_SHORT_SLOT_TIME,4,2 ## @WLAN_CAPABILITY_SHORT_SLOT_TIME
	.comm	_IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE,4,2 ## @IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE
	.comm	_WLAN_CAPABILITY_SHORT_PREAMBLE,4,2 ## @WLAN_CAPABILITY_SHORT_PREAMBLE
	.no_dead_strip	_ieee80211_get_tdls_sta_capab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_get_tdls_sta_capab
_ieee80211_get_tdls_sta_capab:          ; @ieee80211_get_tdls_sta_capab
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	bl	_ieee80211_get_sdata_band
Lloh0:
	adrp	x8, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _WLAN_CAPABILITY_SHORT_SLOT_TIME@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WLAN_CAPABILITY_SHORT_SLOT_TIME@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, w10, wzr, eq
Lloh9:
	adrp	x10, _IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _WLAN_CAPABILITY_SHORT_PREAMBLE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _WLAN_CAPABILITY_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, w11, wzr, eq
	orr	w0, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_BAND_2GHZ,8,3        ; @IEEE80211_BAND_2GHZ
	.comm	_IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE,4,2 ; @IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE
	.comm	_WLAN_CAPABILITY_SHORT_SLOT_TIME,4,2 ; @WLAN_CAPABILITY_SHORT_SLOT_TIME
	.comm	_IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE,4,2 ; @IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE
	.comm	_WLAN_CAPABILITY_SHORT_PREAMBLE,4,2 ; @WLAN_CAPABILITY_SHORT_PREAMBLE
	.no_dead_strip	_ieee80211_get_tdls_sta_capab
.subsections_via_symbols
