	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_prep_tdls_direct
_ieee80211_prep_tdls_direct:            ## @ieee80211_prep_tdls_direct
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rdi
	movq	16(%rbp), %r14
	callq	_IEEE80211_DEV_TO_SUB_IF
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ieee80211_get_sdata_band
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_skb_put
	movq	%rax, %r13
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	40(%r13), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r12, %rsi
	callq	_memcpy
	movl	36(%r13), %edi
	movq	8(%r15), %rsi
	movl	(%r14), %edx
	callq	_memcpy
	movl	32(%r13), %edi
	movq	(%r15), %rsi
	movl	(%r14), %edx
	callq	_memcpy
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	movq	_IEEE80211_STYPE_ACTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r13)
	cmpl	$128, -52(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_2
## %bb.1:
	movq	16(%rbp), %r14
	movq	%r14, %rdi
	movl	$17, %esi
	callq	_skb_put
	movq	_WLAN_CATEGORY_PUBLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movl	$128, (%r13)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r13)
	movq	%r15, %rdi
	callq	_ieee80211_get_tdls_sta_capab
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r13)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_ieee80211_add_srates_ie
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	xorl	%ebx, %ebx
	callq	_ieee80211_add_ext_srates_ie
	movq	%r14, %rdi
	callq	_ieee80211_tdls_add_ext_capab
	jmp	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ## @IEEE80211_FTYPE_MGMT
	.comm	_IEEE80211_STYPE_ACTION,4,2     ## @IEEE80211_STYPE_ACTION
	.comm	_WLAN_CATEGORY_PUBLIC,4,2       ## @WLAN_CATEGORY_PUBLIC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ieee80211_prep_tdls_direct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_prep_tdls_direct
_ieee80211_prep_tdls_direct:            ; @ieee80211_prep_tdls_direct
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x22, x4
	mov	x24, x3
	mov	x25, x2
	mov	x0, x1
	bl	_IEEE80211_DEV_TO_SUB_IF
	mov	x20, x0
	bl	_ieee80211_get_sdata_band
	mov	x21, x0
	mov	x0, x19
	mov	w1, #24
	bl	_skb_put
	mov	x23, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w0, [x23, #40]
Lloh0:
	adrp	x26, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x1, x25
	bl	_memcpy
	ldr	w0, [x23, #36]
	ldr	x1, [x20, #8]
	ldr	w2, [x26]
	bl	_memcpy
	ldr	w0, [x23, #32]
	ldr	x1, [x20]
	ldr	w2, [x26]
	bl	_memcpy
Lloh2:
	adrp	x8, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IEEE80211_STYPE_ACTION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_STYPE_ACTION@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_le16
	str	x0, [x23, #24]
	cmp	w24, #128
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #17
	bl	_skb_put
Lloh8:
	adrp	x8, _WLAN_CATEGORY_PUBLIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WLAN_CATEGORY_PUBLIC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x23, #16]
	mov	w8, #128
	stp	w8, w22, [x23]
	mov	x0, x20
	bl	_ieee80211_get_tdls_sta_capab
	bl	_cpu_to_le16
	str	x0, [x23, #8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x3, x21
	bl	_ieee80211_add_srates_ie
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x3, x21
	bl	_ieee80211_add_ext_srates_ie
	mov	x0, x19
	bl	_ieee80211_tdls_add_ext_capab
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ; @IEEE80211_FTYPE_MGMT
	.comm	_IEEE80211_STYPE_ACTION,4,2     ; @IEEE80211_STYPE_ACTION
	.comm	_WLAN_CATEGORY_PUBLIC,4,2       ; @WLAN_CATEGORY_PUBLIC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ieee80211_prep_tdls_direct
.subsections_via_symbols
