	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_send_tdls_data_frame   ## -- Begin function mwifiex_send_tdls_data_frame
	.p2align	4, 0x90
_mwifiex_send_tdls_data_frame:          ## @mwifiex_send_tdls_data_frame
	.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
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_MWIFIEX_MIN_DATA_HEADER_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	16(%rbp), %rbx
	movl	$4, %edi
	movl	$4, %esi
	callq	_max
	movq	_MWIFIEX_MGMT_FRAME_HEADER_SIZE@GOTPCREL(%rip), %rcx
	movq	_MWIFIEX_SUPPORTED_RATES@GOTPCREL(%rip), %rdx
	movq	_MWIFIEX_SUPPORTED_CHANNELS@GOTPCREL(%rip), %rsi
	movq	_MWIFIEX_OPERATING_CLASSES@GOTPCREL(%rip), %rdi
	addq	%rbx, %rax
	addq	(%rcx), %rax
	addq	(%rdx), %rax
	addq	(%rsi), %rax
	movq	(%rdi), %rcx
	movq	24(%r15), %rdx
	cmpq	$0, (%rdx)
	leaq	35(%rcx,%rax), %rdx
	leaq	47(%rcx,%rax), %rdi
	cmoveq	%rdx, %rdi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	_MWIFIEX_MIN_DATA_HEADER_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_skb_reserve
	leal	-130(%r14), %eax
	cmpl	$3, %eax
	jb	LBB0_5
## %bb.3:
	cmpl	$129, %r14d
	je	LBB0_11
## %bb.4:
	cmpl	$128, %r14d
	jne	LBB0_15
LBB0_5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	callq	_mwifiex_prep_tdls_encap_data
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_19
LBB0_1:
	movq	24(%r15), %rdi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_mwifiex_dbg
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_7:
	movq	16(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_skb_put_data
LBB0_9:
	movq	(%r15), %rsi
	movl	16(%r15), %ecx
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_mwifiex_tdls_add_link_ie
	leal	-129(%r14), %eax
	cmpl	$2, %eax
	jae	LBB0_15
## %bb.10:
	movq	_MWIFIEX_PRIO_BK@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_MWIFIEX_PRIO_VI@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_MWIFIEX_SKB_TXCB
	movq	%rax, %r12
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	12(%r15), %eax
	movl	%eax, 4(%r12)
	movl	8(%r15), %eax
	movl	%eax, (%r12)
	movq	%r13, %rdi
	callq	___net_timestamp
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_mwifiex_queue_tx_pkt
	cmpl	$131, %r14d
	je	LBB0_18
## %bb.17:
	cmpl	$128, %r14d
	jne	LBB0_19
LBB0_18:
	movl	$10, %edi
	callq	_msleep_interruptible
LBB0_19:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$129, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%r13, %r9
	callq	_mwifiex_prep_tdls_encap_data
	testl	%eax, %eax
	jne	LBB0_6
## %bb.12:
	movq	16(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_skb_put_data
LBB0_14:
	movq	(%r15), %rdx
	movl	16(%r15), %ecx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_mwifiex_tdls_add_link_ie
	movq	_MWIFIEX_PRIO_BK@GOTPCREL(%rip), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_MWIFIEX_MIN_DATA_HEADER_LEN,8,3 ## @MWIFIEX_MIN_DATA_HEADER_LEN
	.comm	_MWIFIEX_MGMT_FRAME_HEADER_SIZE,8,3 ## @MWIFIEX_MGMT_FRAME_HEADER_SIZE
	.comm	_MWIFIEX_SUPPORTED_RATES,8,3    ## @MWIFIEX_SUPPORTED_RATES
	.comm	_MWIFIEX_SUPPORTED_CHANNELS,8,3 ## @MWIFIEX_SUPPORTED_CHANNELS
	.comm	_MWIFIEX_OPERATING_CLASSES,8,3  ## @MWIFIEX_OPERATING_CLASSES
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"allocate skb failed for management frame\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MWIFIEX_PRIO_BK,4,2            ## @MWIFIEX_PRIO_BK
	.comm	_MWIFIEX_PRIO_VI,4,2            ## @MWIFIEX_PRIO_VI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_send_tdls_data_frame   ; -- Begin function mwifiex_send_tdls_data_frame
	.p2align	2
_mwifiex_send_tdls_data_frame:          ; @mwifiex_send_tdls_data_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x23, x6
	mov	x24, x5
	mov	x25, x4
	mov	x26, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x27, _MWIFIEX_MIN_DATA_HEADER_LEN@GOTPAGE
Lloh1:
	ldr	x27, [x27, _MWIFIEX_MIN_DATA_HEADER_LEN@GOTPAGEOFF]
	ldr	x21, [x27]
	mov	w0, #4
	mov	w1, #4
	bl	_max
Lloh2:
	adrp	x8, _MWIFIEX_MGMT_FRAME_HEADER_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MWIFIEX_MGMT_FRAME_HEADER_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _MWIFIEX_SUPPORTED_RATES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MWIFIEX_SUPPORTED_RATES@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _MWIFIEX_SUPPORTED_CHANNELS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MWIFIEX_SUPPORTED_CHANNELS@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _MWIFIEX_OPERATING_CLASSES@GOTPAGE
Lloh12:
	ldr	x11, [x11, _MWIFIEX_OPERATING_CLASSES@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	add	x12, x23, x21
	add	x12, x12, x0
	add	x8, x12, x8
	add	x8, x8, x9
	add	x8, x8, x10
	add	x8, x8, x11
	add	x9, x8, #35
	ldr	x10, [x20, #24]
	ldr	x10, [x10]
	add	x8, x8, #47
	cmp	x10, #0
	csel	x0, x9, x8, eq
	bl	_dev_alloc_skb
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	ldr	x1, [x27]
	bl	_skb_reserve
	sub	w8, w19, #130
	cmp	w8, #3
	b.lo	LBB0_4
; %bb.2:
	cmp	w19, #129
	b.eq	LBB0_11
; %bb.3:
	cmp	w19, #128
	b.ne	LBB0_10
LBB0_4:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x3, x26
	mov	x4, x25
	mov	x5, x21
	bl	_mwifiex_prep_tdls_encap_data
	cbz	w0, LBB0_7
LBB0_5:
	mov	x25, x0
	mov	x0, x21
	bl	_dev_kfree_skb_any
	b	LBB0_19
LBB0_6:
	ldr	x0, [x20, #24]
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	bl	_mwifiex_dbg
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_19
LBB0_7:
	cbz	x23, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_skb_put_data
LBB0_9:
	ldr	x1, [x20]
	ldr	w3, [x20, #16]
	mov	x0, x21
	mov	x2, x22
	bl	_mwifiex_tdls_add_link_ie
	sub	w8, w19, #129
	cmp	w8, #2
	b.lo	LBB0_15
LBB0_10:
Lloh22:
	adrp	x8, _MWIFIEX_PRIO_VI@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MWIFIEX_PRIO_VI@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
	mov	x0, x20
	mov	x1, x22
	mov	w2, #129
	mov	x3, x26
	mov	x4, x25
	mov	x5, x21
	bl	_mwifiex_prep_tdls_encap_data
	cbnz	w0, LBB0_5
; %bb.12:
	cbz	x23, LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_skb_put_data
LBB0_14:
	ldr	x2, [x20]
	ldr	w3, [x20, #16]
	mov	x0, x21
	mov	x1, x22
	bl	_mwifiex_tdls_add_link_ie
LBB0_15:
Lloh24:
	adrp	x8, _MWIFIEX_PRIO_BK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MWIFIEX_PRIO_BK@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	x0, x21
	bl	_MWIFIEX_SKB_TXCB
	mov	x22, x0
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	d0, [x20, #8]
	str	d0, [x22]
	mov	x0, x21
	bl	___net_timestamp
	mov	x0, x20
	mov	x1, x21
	bl	_mwifiex_queue_tx_pkt
	cmp	w19, #131
	b.eq	LBB0_18
; %bb.17:
	mov	w25, #0
	cmp	w19, #128
	b.ne	LBB0_19
LBB0_18:
	mov	w0, #10
	bl	_msleep_interruptible
	mov	w25, #0
LBB0_19:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MWIFIEX_MIN_DATA_HEADER_LEN,8,3 ; @MWIFIEX_MIN_DATA_HEADER_LEN
	.comm	_MWIFIEX_MGMT_FRAME_HEADER_SIZE,8,3 ; @MWIFIEX_MGMT_FRAME_HEADER_SIZE
	.comm	_MWIFIEX_SUPPORTED_RATES,8,3    ; @MWIFIEX_SUPPORTED_RATES
	.comm	_MWIFIEX_SUPPORTED_CHANNELS,8,3 ; @MWIFIEX_SUPPORTED_CHANNELS
	.comm	_MWIFIEX_OPERATING_CLASSES,8,3  ; @MWIFIEX_OPERATING_CLASSES
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"allocate skb failed for management frame\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MWIFIEX_PRIO_BK,4,2            ; @MWIFIEX_PRIO_BK
	.comm	_MWIFIEX_PRIO_VI,4,2            ; @MWIFIEX_PRIO_VI
.subsections_via_symbols
