	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cfg80211_leave_mesh
___cfg80211_leave_mesh:                 ## @__cfg80211_leave_mesh
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_ASSERT_WDEV_LOCK
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_MESH_POINT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	(%r15), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.4:
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_rdev_leave_mesh
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ENOTCONN@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ## @NL80211_IFTYPE_MESH_POINT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.no_dead_strip	___cfg80211_leave_mesh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cfg80211_leave_mesh
___cfg80211_leave_mesh:                 ; @__cfg80211_leave_mesh
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x1]
	mov	x0, x19
	bl	_ASSERT_WDEV_LOCK
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_MESH_POINT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_MESH_POINT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x21]
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	bl	_rdev_leave_mesh
	cbnz	w0, LBB0_7
; %bb.4:
	stp	xzr, xzr, [x19, #8]
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh5:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_MESH_POINT,8,3  ; @NL80211_IFTYPE_MESH_POINT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.no_dead_strip	___cfg80211_leave_mesh
.subsections_via_symbols
