	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwifiex_ret_tdls_oper
_mwifiex_ret_tdls_oper:                 ## @mwifiex_ret_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	8(%rsi), %edi
	callq	_le16_to_cpu
	movl	%eax, %r15d
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_mwifiex_get_sta_entry
	movq	%rax, %r12
	cmpl	$130, %ebx
	je	LBB0_16
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_10
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_19
## %bb.3:
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.4:
	movl	(%r14), %edi
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movq	_TDLS_ERR_LINK_NONEXISTENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_6
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_16:
	movl	(%r14), %edi
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.17:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	leaq	L_.str.4(%rip), %rdx
	xorl	%r14d, %r14d
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	testq	%r12, %r12
	jne	LBB0_13
	jmp	LBB0_20
LBB0_10:
	movl	(%r14), %edi
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	leaq	L_.str.2(%rip), %rdx
	xorl	%r14d, %r14d
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	testq	%r12, %r12
	je	LBB0_20
## %bb.12:
	movq	_TDLS_ERR_LINK_EXISTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_20
LBB0_13:
	movq	_TDLS_SETUP_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	jmp	LBB0_20
LBB0_19:
	movl	(%r14), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	movl	$-1, %r14d
	jmp	LBB0_20
LBB0_9:
	movl	(%r14), %edi
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_15
LBB0_18:
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_15
LBB0_14:
	movq	_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	leaq	L_.str.3(%rip), %rdx
LBB0_15:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_mwifiex_dbg
	jmp	LBB0_20
LBB0_6:
	movq	_MSG@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movl	(%r13), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%r14d, %r14d
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_mwifiex_dbg
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TDLS_ERR_LINK_NONEXISTENT,4,2  ## @TDLS_ERR_LINK_NONEXISTENT
	.comm	_MSG,4,2                        ## @MSG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TDLS link delete for %pM failed: reason %d\n"

	.comm	_ERROR,4,2                      ## @ERROR
L_.str.1:                               ## @.str.1
	.asciz	"TDLS link delete for %pM successful\n"

L_.str.2:                               ## @.str.2
	.asciz	"TDLS link creation for %pM failed: reason %d"

	.comm	_TDLS_ERR_LINK_EXISTS,4,2       ## @TDLS_ERR_LINK_EXISTS
	.comm	_TDLS_SETUP_FAILURE,8,3         ## @TDLS_SETUP_FAILURE
L_.str.3:                               ## @.str.3
	.asciz	"TDLS link creation for %pM successful"

L_.str.4:                               ## @.str.4
	.asciz	"TDLS link config for %pM failed, reason %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"TDLS link config for %pM successful\n"

L_.str.6:                               ## @.str.6
	.asciz	"Unknown TDLS command action response %d"

	.no_dead_strip	_mwifiex_ret_tdls_oper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwifiex_ret_tdls_oper
_mwifiex_ret_tdls_oper:                 ; @mwifiex_ret_tdls_oper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x1, #8]
	bl	_le16_to_cpu
	mov	x19, x0
	ldr	w0, [x20, #4]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	w1, [x20]
	mov	x0, x22
	bl	_mwifiex_get_sta_entry
	mov	x21, x0
	cmp	w23, #130
	b.eq	LBB0_7
; %bb.1:
	cmp	w23, #129
	b.eq	LBB0_9
; %bb.2:
	cmp	w23, #128
	b.ne	LBB0_13
; %bb.3:
	cbz	w19, LBB0_14
; %bb.4:
	ldr	w0, [x22]
	cbz	x21, LBB0_17
; %bb.5:
Lloh0:
	adrp	x8, _TDLS_ERR_LINK_NONEXISTENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TDLS_ERR_LINK_NONEXISTENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w19, w8
	b.eq	LBB0_17
; %bb.6:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w3, [x20]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	b	LBB0_18
LBB0_7:
	ldr	w0, [x22]
	cbz	w19, LBB0_15
; %bb.8:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w3, [x20]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	str	x19, [sp]
Lloh9:
	adrp	x2, l_.str.4@PAGE
Lloh10:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_mwifiex_dbg
	cbnz	x21, LBB0_12
	b	LBB0_20
LBB0_9:
	ldr	w0, [x22]
	cbz	w19, LBB0_16
; %bb.10:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w3, [x20]
	mov	x8, x19
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_mwifiex_dbg
	mov	w0, #0
	cbz	x21, LBB0_21
; %bb.11:
Lloh16:
	adrp	x8, _TDLS_ERR_LINK_EXISTS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TDLS_ERR_LINK_EXISTS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w19, w8
	b.eq	LBB0_21
LBB0_12:
	mov	w0, #0
Lloh19:
	adrp	x8, _TDLS_SETUP_FAILURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TDLS_SETUP_FAILURE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x21]
	b	LBB0_21
LBB0_13:
	ldr	w0, [x22]
Lloh22:
	adrp	x8, _ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x2, l_.str.6@PAGE
Lloh26:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x3, x23
	bl	_mwifiex_dbg
	mov	w0, #-1
	b	LBB0_21
LBB0_14:
	ldr	w0, [x22]
Lloh27:
	adrp	x8, _MSG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh30:
	adrp	x2, l_.str.1@PAGE
Lloh31:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_15:
Lloh32:
	adrp	x8, _MSG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh35:
	adrp	x2, l_.str.5@PAGE
Lloh36:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_19
LBB0_16:
Lloh37:
	adrp	x8, _MSG@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	w3, [x20]
Lloh40:
	adrp	x2, l_.str.3@PAGE
Lloh41:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_19
LBB0_17:
Lloh42:
	adrp	x8, _MSG@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MSG@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	ldr	w3, [x20]
LBB0_18:
	str	x19, [sp]
Lloh45:
	adrp	x2, l_.str@PAGE
Lloh46:
	add	x2, x2, l_.str@PAGEOFF
LBB0_19:
	bl	_mwifiex_dbg
LBB0_20:
	mov	w0, #0
LBB0_21:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_TDLS_ERR_LINK_NONEXISTENT,4,2  ; @TDLS_ERR_LINK_NONEXISTENT
	.comm	_MSG,4,2                        ; @MSG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TDLS link delete for %pM failed: reason %d\n"

	.comm	_ERROR,4,2                      ; @ERROR
l_.str.1:                               ; @.str.1
	.asciz	"TDLS link delete for %pM successful\n"

l_.str.2:                               ; @.str.2
	.asciz	"TDLS link creation for %pM failed: reason %d"

	.comm	_TDLS_ERR_LINK_EXISTS,4,2       ; @TDLS_ERR_LINK_EXISTS
	.comm	_TDLS_SETUP_FAILURE,8,3         ; @TDLS_SETUP_FAILURE
l_.str.3:                               ; @.str.3
	.asciz	"TDLS link creation for %pM successful"

l_.str.4:                               ; @.str.4
	.asciz	"TDLS link config for %pM failed, reason %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"TDLS link config for %pM successful\n"

l_.str.6:                               ; @.str.6
	.asciz	"Unknown TDLS command action response %d"

	.no_dead_strip	_mwifiex_ret_tdls_oper
.subsections_via_symbols
