	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_infra_update_tcp_works         ## -- Begin function infra_update_tcp_works
	.p2align	4, 0x90
_infra_update_tcp_works:                ## @infra_update_tcp_works
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, %r9d
	callq	_infra_lookup_nottl
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	8(%rax), %rcx
	movq	_RTT_MAX_TIMEOUT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, (%rcx)
	jl	LBB0_3
## %bb.2:
	addq	$-1000, %rdx                    ## imm = 0xFC18
	movq	%rdx, (%rcx)
LBB0_3:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_lock_rw_unlock                 ## TAILCALL
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTT_MAX_TIMEOUT,8,3            ## @RTT_MAX_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_infra_update_tcp_works         ; -- Begin function infra_update_tcp_works
	.p2align	2
_infra_update_tcp_works:                ; @infra_update_tcp_works
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w5, #1
	bl	_infra_lookup_nottl
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	ldr	x10, [x8]
Lloh0:
	adrp	x9, _RTT_MAX_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTT_MAX_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x10, x9
	b.lt	LBB0_3
; %bb.2:
	sub	x9, x9, #1000
	str	x9, [x8]
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_lock_rw_unlock
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTT_MAX_TIMEOUT,8,3            ; @RTT_MAX_TIMEOUT
.subsections_via_symbols
