	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_sync_offset_adjust_tbtt
_mesh_sync_offset_adjust_tbtt:          ## @mesh_sync_offset_adjust_tbtt
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_rcu_read_lock_held
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	leaq	20(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	8(%rbx), %rdx
	movq	_TOFFSET_MINIMUM_ADJUSTMENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_msync_dbg
	movq	_MESH_WORK_DRIFT_ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_set_bit
	movl	$1, %r15d
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_msync_dbg
	movq	$0, 8(%rbx)
LBB0_3:
	movl	%r15d, 16(%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET,8,3 ## @IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET
	.comm	_TOFFSET_MINIMUM_ADJUSTMENT,8,3 ## @TOFFSET_MINIMUM_ADJUSTMENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TBTT : kicking off TBTT adjustment with clockdrift_max=%lld\n"

	.comm	_MESH_WORK_DRIFT_ADJUST,4,2     ## @MESH_WORK_DRIFT_ADJUST
L_.str.1:                               ## @.str.1
	.asciz	"TBTT : max clockdrift=%lld; too small to adjust\n"

	.no_dead_strip	_mesh_sync_offset_adjust_tbtt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_sync_offset_adjust_tbtt
_mesh_sync_offset_adjust_tbtt:          ; @mesh_sync_offset_adjust_tbtt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	bl	_rcu_read_lock_held
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	add	x20, x19, #20
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	x2, [x19, #8]
Lloh3:
	adrp	x8, _TOFFSET_MINIMUM_ADJUSTMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOFFSET_MINIMUM_ADJUSTMENT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x2, x8
	b.le	LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_msync_dbg
Lloh8:
	adrp	x8, _MESH_WORK_DRIFT_ADJUST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MESH_WORK_DRIFT_ADJUST@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_set_bit
	mov	w8, #1
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_msync_dbg
	mov	w8, #0
	str	xzr, [x19, #8]
LBB0_3:
	str	w8, [x19, #16]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_bh
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET,8,3 ; @IEEE80211_SYNC_METHOD_NEIGHBOR_OFFSET
	.comm	_TOFFSET_MINIMUM_ADJUSTMENT,8,3 ; @TOFFSET_MINIMUM_ADJUSTMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TBTT : kicking off TBTT adjustment with clockdrift_max=%lld\n"

	.comm	_MESH_WORK_DRIFT_ADJUST,4,2     ; @MESH_WORK_DRIFT_ADJUST
l_.str.1:                               ; @.str.1
	.asciz	"TBTT : max clockdrift=%lld; too small to adjust\n"

	.no_dead_strip	_mesh_sync_offset_adjust_tbtt
.subsections_via_symbols
