	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_tdls_mgmt
_nl80211_tdls_mgmt:                     ## @nl80211_tdls_mgmt
	.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	8(%rsi), %rax
	movq	(%rax), %r14
	movq	_WIPHY_FLAG_SUPPORTS_TDLS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r14)
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_2
## %bb.4:
	movq	%rsi, %rbx
	movq	(%rsi), %rcx
	movq	_NL80211_ATTR_TDLS_ACTION@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_9
## %bb.5:
	movq	_NL80211_ATTR_STATUS_CODE@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_9
## %bb.6:
	movq	_NL80211_ATTR_TDLS_DIALOG_TOKEN@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_9
## %bb.7:
	movq	_NL80211_ATTR_IE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_9
## %bb.8:
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %edi
	testl	%edi, %edi
	je	LBB0_9
## %bb.10:
	movq	8(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_nla_data
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_get_u8
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_get_u16
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_get_u8
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movq	_NL80211_ATTR_IE@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_data
	movq	%rax, %r13
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_len
                                        ## kill: def $eax killed $eax def $rax
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r13
	callq	_rdev_tdls_mgmt
	addq	$40, %rsp
	jmp	LBB0_11
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$24, %rsp
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WIPHY_FLAG_SUPPORTS_TDLS,4,2   ## @WIPHY_FLAG_SUPPORTS_TDLS
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_ATTR_TDLS_ACTION,8,3   ## @NL80211_ATTR_TDLS_ACTION
	.comm	_NL80211_ATTR_STATUS_CODE,8,3   ## @NL80211_ATTR_STATUS_CODE
	.comm	_NL80211_ATTR_TDLS_DIALOG_TOKEN,8,3 ## @NL80211_ATTR_TDLS_DIALOG_TOKEN
	.comm	_NL80211_ATTR_IE,8,3            ## @NL80211_ATTR_IE
	.comm	_NL80211_ATTR_MAC,8,3           ## @NL80211_ATTR_MAC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nl80211_tdls_mgmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_tdls_mgmt
_nl80211_tdls_mgmt:                     ; @nl80211_tdls_mgmt
	.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
	ldr	x8, [x1, #8]
	ldr	x19, [x8]
	ldr	w9, [x19, #8]
Lloh0:
	adrp	x10, _WIPHY_FLAG_SUPPORTS_TDLS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WIPHY_FLAG_SUPPORTS_TDLS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.1:
	ldr	x9, [x19]
	ldr	w9, [x9]
	cbz	w9, LBB0_8
; %bb.2:
	mov	x20, x1
	ldr	x9, [x1]
Lloh3:
	adrp	x23, _NL80211_ATTR_TDLS_ACTION@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NL80211_ATTR_TDLS_ACTION@GOTPAGEOFF]
	ldr	x10, [x23]
	ldr	w10, [x9, x10, lsl #2]
	cbz	w10, LBB0_9
; %bb.3:
Lloh5:
	adrp	x24, _NL80211_ATTR_STATUS_CODE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _NL80211_ATTR_STATUS_CODE@GOTPAGEOFF]
	ldr	x10, [x24]
	ldr	w10, [x9, x10, lsl #2]
	cbz	w10, LBB0_9
; %bb.4:
Lloh7:
	adrp	x25, _NL80211_ATTR_TDLS_DIALOG_TOKEN@GOTPAGE
Lloh8:
	ldr	x25, [x25, _NL80211_ATTR_TDLS_DIALOG_TOKEN@GOTPAGEOFF]
	ldr	x10, [x25]
	ldr	w10, [x9, x10, lsl #2]
	cbz	w10, LBB0_9
; %bb.5:
Lloh9:
	adrp	x27, _NL80211_ATTR_IE@GOTPAGE
Lloh10:
	ldr	x27, [x27, _NL80211_ATTR_IE@GOTPAGEOFF]
	ldr	x10, [x27]
	ldr	w10, [x9, x10, lsl #2]
	cbz	w10, LBB0_9
; %bb.6:
Lloh11:
	adrp	x10, _NL80211_ATTR_MAC@GOTPAGE
Lloh12:
	ldr	x10, [x10, _NL80211_ATTR_MAC@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	ldr	w0, [x9, x10, lsl #2]
	cbz	w0, LBB0_9
; %bb.7:
	ldr	x21, [x8, #8]
	bl	_nla_data
	mov	x22, x0
	ldr	x8, [x20]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_u8
	mov	x23, x0
	ldr	x8, [x20]
	ldr	x9, [x24]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_u16
	mov	x24, x0
	ldr	x8, [x20]
	ldr	x9, [x25]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_u8
	mov	x25, x0
	ldr	x8, [x20]
	ldr	x9, [x27]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_data
	mov	x26, x0
	ldr	x8, [x20]
	ldr	x9, [x27]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_len
	mov	x7, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x25
	mov	x5, x24
	mov	x6, x26
	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
	b	_rdev_tdls_mgmt
LBB0_8:
Lloh14:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_WIPHY_FLAG_SUPPORTS_TDLS,4,2   ; @WIPHY_FLAG_SUPPORTS_TDLS
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_ATTR_TDLS_ACTION,8,3   ; @NL80211_ATTR_TDLS_ACTION
	.comm	_NL80211_ATTR_STATUS_CODE,8,3   ; @NL80211_ATTR_STATUS_CODE
	.comm	_NL80211_ATTR_TDLS_DIALOG_TOKEN,8,3 ; @NL80211_ATTR_TDLS_DIALOG_TOKEN
	.comm	_NL80211_ATTR_IE,8,3            ; @NL80211_ATTR_IE
	.comm	_NL80211_ATTR_MAC,8,3           ; @NL80211_ATTR_MAC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nl80211_tdls_mgmt
.subsections_via_symbols
