	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function link_timeout
_link_timeout:                          ## @link_timeout
	.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
	movl	8(%rdi), %edi
	callq	_tipc_node_lock
	movq	(%rbx), %rax
	addl	%eax, 56(%rbx)
	incl	52(%rbx)
	cmpq	24(%rbx), %rax
	jle	LBB0_2
## %bb.1:
	movq	%rax, 24(%rbx)
LBB0_2:
	movq	64(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.3:
	callq	_buf_msg
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_msg_size
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_msg_user
	movq	_MSG_FRAGMENTER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	callq	_msg_type
	movq	_FIRST_FRAGMENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_msg_get_wrapped
	movq	%rax, %rdi
	callq	_msg_size
	movl	%eax, %r14d
LBB0_6:
	testl	%r14d, %r14d
	je	LBB0_21
## %bb.7:
	addl	%r14d, 32(%rbx)
	incl	48(%rbx)
	cmpl	$64, %r14d
	jg	LBB0_9
## %bb.8:
	movq	40(%rbx), %rax
	jmp	LBB0_20
LBB0_9:
	cmpl	$256, %r14d                     ## imm = 0x100
	ja	LBB0_11
## %bb.10:
	movq	40(%rbx), %rax
	addq	$4, %rax
	jmp	LBB0_20
LBB0_11:
	cmpl	$1024, %r14d                    ## imm = 0x400
	ja	LBB0_13
## %bb.12:
	movq	40(%rbx), %rax
	addq	$8, %rax
	jmp	LBB0_20
LBB0_13:
	cmpl	$4096, %r14d                    ## imm = 0x1000
	ja	LBB0_15
## %bb.14:
	movq	40(%rbx), %rax
	addq	$12, %rax
	jmp	LBB0_20
LBB0_15:
	cmpl	$16384, %r14d                   ## imm = 0x4000
	ja	LBB0_17
## %bb.16:
	movq	40(%rbx), %rax
	addq	$16, %rax
	jmp	LBB0_20
LBB0_17:
	movq	40(%rbx), %rax
	cmpl	$32768, %r14d                   ## imm = 0x8000
	ja	LBB0_19
## %bb.18:
	addq	$20, %rax
	jmp	LBB0_20
LBB0_19:
	addq	$24, %rax
LBB0_20:
	incl	(%rax)
LBB0_21:
	movq	%rbx, %rdi
	callq	_link_check_defragm_bufs
	movq	_TIMEOUT_EVT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_link_state_event
	cmpq	$0, 16(%rbx)
	je	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	callq	_tipc_link_push_queue
LBB0_23:
	movl	8(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tipc_node_unlock               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_FRAGMENTER,8,3             ## @MSG_FRAGMENTER
	.comm	_FIRST_FRAGMENT,8,3             ## @FIRST_FRAGMENT
	.comm	_TIMEOUT_EVT,4,2                ## @TIMEOUT_EVT
	.no_dead_strip	_link_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function link_timeout
_link_timeout:                          ; @link_timeout
	.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	x19, x0
	ldr	w0, [x0, #8]
	bl	_tipc_node_lock
	ldr	x8, [x19]
	ldp	w10, w9, [x19, #52]
	add	w9, w9, w8
	add	w10, w10, #1
	stp	w10, w9, [x19, #52]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.le	LBB0_2
; %bb.1:
	str	x8, [x19, #24]
LBB0_2:
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_19
; %bb.3:
	bl	_buf_msg
	mov	x21, x0
	bl	_msg_size
	mov	x20, x0
	mov	x0, x21
	bl	_msg_user
Lloh0:
	adrp	x8, _MSG_FRAGMENTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_FRAGMENTER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_msg_type
Lloh3:
	adrp	x8, _FIRST_FRAGMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FIRST_FRAGMENT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_msg_get_wrapped
	bl	_msg_size
	mov	x20, x0
LBB0_6:
	cbz	w20, LBB0_19
; %bb.7:
	ldr	w8, [x19, #32]
	add	w8, w8, w20
	str	w8, [x19, #32]
	ldr	w8, [x19, #48]
	add	w8, w8, #1
	str	w8, [x19, #48]
	cmp	w20, #64
	b.gt	LBB0_9
; %bb.8:
	ldr	x8, [x19, #40]
	b	LBB0_18
LBB0_9:
	cmp	w20, #256
	b.hi	LBB0_11
; %bb.10:
	ldr	x8, [x19, #40]
	add	x8, x8, #4
	b	LBB0_18
LBB0_11:
	cmp	w20, #1024
	b.hi	LBB0_13
; %bb.12:
	ldr	x8, [x19, #40]
	add	x8, x8, #8
	b	LBB0_18
LBB0_13:
	cmp	w20, #1, lsl #12                ; =4096
	b.hi	LBB0_15
; %bb.14:
	ldr	x8, [x19, #40]
	add	x8, x8, #12
	b	LBB0_18
LBB0_15:
	cmp	w20, #4, lsl #12                ; =16384
	b.hi	LBB0_17
; %bb.16:
	ldr	x8, [x19, #40]
	add	x8, x8, #16
	b	LBB0_18
LBB0_17:
	ldr	x8, [x19, #40]
	cmp	w20, #8, lsl #12                ; =32768
	add	x9, x8, #24
	add	x8, x8, #20
	csel	x8, x9, x8, hi
LBB0_18:
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_19:
	mov	x0, x19
	bl	_link_check_defragm_bufs
Lloh6:
	adrp	x8, _TIMEOUT_EVT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TIMEOUT_EVT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_link_state_event
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_21
; %bb.20:
	mov	x0, x19
	bl	_tipc_link_push_queue
LBB0_21:
	ldr	w0, [x19, #8]
	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
	b	_tipc_node_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_FRAGMENTER,8,3             ; @MSG_FRAGMENTER
	.comm	_FIRST_FRAGMENT,8,3             ; @FIRST_FRAGMENT
	.comm	_TIMEOUT_EVT,4,2                ; @TIMEOUT_EVT
	.no_dead_strip	_link_timeout
.subsections_via_symbols
