	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt_setmetrics
_rt_setmetrics:                         ## @rt_setmetrics
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_RTV_MTU@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	_RTF_FIXEDMTU@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	orl	%edx, 20(%rsi)
	jmp	LBB0_4
LBB0_3:
	notl	%edx
	andl	%edx, 20(%rsi)
LBB0_4:
	movq	%rcx, (%rsi)
LBB0_5:
	movq	_RTV_WEIGHT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	8(%rdi), %rcx
	movl	16(%rcx), %ecx
	movl	%ecx, 16(%rsi)
LBB0_7:
	movq	_RTV_EXPIRE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	8(%rdi), %rax
	movq	8(%rax), %rax
	movq	_time_second@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	subq	(%rcx), %rdx
	movq	_time_uptime@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rdx
	testq	%rax, %rax
	cmoveq	%rax, %rdx
	movq	%rdx, 8(%rsi)
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTV_MTU,4,2                    ## @RTV_MTU
	.comm	_RTF_FIXEDMTU,4,2               ## @RTF_FIXEDMTU
	.comm	_RTV_WEIGHT,4,2                 ## @RTV_WEIGHT
	.comm	_RTV_EXPIRE,4,2                 ## @RTV_EXPIRE
	.comm	_time_second,8,3                ## @time_second
	.comm	_time_uptime,8,3                ## @time_uptime
	.no_dead_strip	_rt_setmetrics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt_setmetrics
_rt_setmetrics:                         ; @rt_setmetrics
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RTV_MTU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTV_MTU@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _RTF_FIXEDMTU@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RTF_FIXEDMTU@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	w11, [x1, #20]
	orr	w10, w11, w10
	b	LBB0_4
LBB0_3:
	ldr	w11, [x1, #20]
	bic	w10, w11, w10
LBB0_4:
	str	w10, [x1, #20]
	str	x9, [x1]
LBB0_5:
Lloh6:
	adrp	x9, _RTV_WEIGHT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RTV_WEIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	x9, [x0, #8]
	ldr	w9, [x9, #16]
	str	w9, [x1, #16]
LBB0_7:
Lloh9:
	adrp	x9, _RTV_EXPIRE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RTV_EXPIRE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
Lloh12:
	adrp	x9, _time_second@GOTPAGE
Lloh13:
	ldr	x9, [x9, _time_second@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _time_uptime@GOTPAGE
Lloh16:
	ldr	x10, [x10, _time_uptime@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	sub	x9, x8, x9
	add	x9, x9, x10
	cmp	x8, #0
	csel	x8, xzr, x9, eq
	str	x8, [x1, #8]
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RTV_MTU,4,2                    ; @RTV_MTU
	.comm	_RTF_FIXEDMTU,4,2               ; @RTF_FIXEDMTU
	.comm	_RTV_WEIGHT,4,2                 ; @RTV_WEIGHT
	.comm	_RTV_EXPIRE,4,2                 ; @RTV_EXPIRE
	.comm	_time_second,8,3                ; @time_second
	.comm	_time_uptime,8,3                ; @time_uptime
	.no_dead_strip	_rt_setmetrics
.subsections_via_symbols
