	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_hc_updatemtu               ## -- Begin function tcp_hc_updatemtu
	.p2align	4, 0x90
_tcp_hc_updatemtu:                      ## @tcp_hc_updatemtu
	.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	_V_tcp_use_hostcache@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_tcp_hc_lookup
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	callq	_tcp_hc_insert
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	incl	16(%rbx)
	movq	_V_tcp_hostcache@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	%r14d, 8(%rbx)
	movq	(%rbx), %rdi
	addq	$4, %rdi
	movq	_rmx_q@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	(%rbx), %rdi
	addq	$4, %rdi
	movl	(%r14), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_HEAD
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_THC_UNLOCK                     ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_tcp_use_hostcache,4,2        ## @V_tcp_use_hostcache
	.comm	_V_tcp_hostcache,4,2            ## @V_tcp_hostcache
	.comm	_rmx_q,4,2                      ## @rmx_q
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_hc_updatemtu               ; -- Begin function tcp_hc_updatemtu
	.p2align	2
_tcp_hc_updatemtu:                      ; @tcp_hc_updatemtu
	.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
Lloh0:
	adrp	x8, _V_tcp_use_hostcache@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V_tcp_use_hostcache@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	bl	_tcp_hc_lookup
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_tcp_hc_insert
	mov	x19, x0
	cbz	x0, LBB0_4
LBB0_3:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
Lloh3:
	adrp	x8, _V_tcp_hostcache@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V_tcp_hostcache@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w20, w8, [x19, #8]
	ldr	x8, [x19]
	add	x0, x8, #4
Lloh6:
	adrp	x20, _rmx_q@GOTPAGE
Lloh7:
	ldr	x20, [x20, _rmx_q@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x1, x19
	bl	_TAILQ_REMOVE
	ldr	x8, [x19]
	add	x0, x8, #4
	ldr	w2, [x20]
	mov	x1, x19
	bl	_TAILQ_INSERT_HEAD
	ldr	x0, [x19]
	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	_THC_UNLOCK
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V_tcp_use_hostcache,4,2        ; @V_tcp_use_hostcache
	.comm	_V_tcp_hostcache,4,2            ; @V_tcp_hostcache
	.comm	_rmx_q,4,2                      ; @rmx_q
.subsections_via_symbols
