	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_updatemtu                   ## -- Begin function rt_updatemtu
	.p2align	4, 0x90
_rt_updatemtu:                          ## @rt_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)
	movq	_AF_MAX@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.1:
	movl	$1, %r12d
	movq	_rt_numfibs@GOTPCREL(%rip), %r14
	leaq	-64(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r12), %eax
	movq	_AF_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r12d
	movl	%eax, %r12d
	jge	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_if_getmtu_family
	movl	%eax, -64(%rbp)
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	incl	%ebx
	cmpl	(%r14), %ebx
	jge	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_rt_tables_get_rnh
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_RIB_WLOCK
	movq	_if_updatemtu_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	*8(%r13)
	movq	%r13, %rdi
	callq	_RIB_WUNLOCK
	jmp	LBB0_6
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_MAX,4,2                     ## @AF_MAX
	.comm	_rt_numfibs,4,2                 ## @rt_numfibs
	.comm	_if_updatemtu_cb,4,2            ## @if_updatemtu_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_updatemtu                   ; -- Begin function rt_updatemtu
	.p2align	2
_rt_updatemtu:                          ; @rt_updatemtu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	str	x0, [sp, #8]
Lloh0:
	adrp	x23, _AF_MAX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AF_MAX@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x0
	mov	w20, #1
Lloh2:
	adrp	x24, _rt_numfibs@GOTPAGE
Lloh3:
	ldr	x24, [x24, _rt_numfibs@GOTPAGEOFF]
Lloh4:
	adrp	x25, _if_updatemtu_cb@GOTPAGE
Lloh5:
	ldr	x25, [x25, _if_updatemtu_cb@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w20, #1
	ldr	w9, [x23]
	cmp	w20, w9
	mov	x20, x8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x19
	mov	x1, x20
	bl	_if_getmtu_family
	str	w0, [sp]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	w21, w21, #1
	ldr	w8, [x24]
	cmp	w21, w8
	b.ge	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x20
	bl	_rt_tables_get_rnh
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x22, x0
	bl	_RIB_WLOCK
	ldr	x8, [x22, #8]
	ldr	w1, [x25]
	mov	x2, sp
	mov	x0, x22
	blr	x8
	mov	x0, x22
	bl	_RIB_WUNLOCK
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_MAX,4,2                     ; @AF_MAX
	.comm	_rt_numfibs,4,2                 ; @rt_numfibs
	.comm	_if_updatemtu_cb,4,2            ; @if_updatemtu_cb
.subsections_via_symbols
