	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __ipmr_fill_mroute
___ipmr_fill_mroute:                    ## @__ipmr_fill_mroute
	.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	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_skb_tail_pointer
	movl	(%rbx), %esi
	movq	_MAXVIFS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %esi
	jge	LBB0_1
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_VIF_EXISTS
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_RTA_IIF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rax
	movslq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_RTA_PUT
LBB0_4:
	xorl	%edi, %edi
	callq	_RTA_LENGTH
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skb_put
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	8(%rbx), %r14
	cmpl	12(%rbx), %r14d
	jl	LBB0_5
LBB0_10:
	movq	_RTA_MULTIPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 4(%rbx)
	movq	%r15, %rdi
	callq	_skb_tail_pointer
	subq	%rbx, %rax
	shrq	$2, %rax
	movl	%eax, (%rbx)
	movq	_RTN_MULTICAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	$1, %eax
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	movslq	12(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_VIF_EXISTS
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rax
	cmpl	$254, (%rax,%r14,4)
	jg	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_skb_tailroom
	movl	%eax, %r13d
	movl	$24, %edi
	callq	_RTA_ALIGN
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %edi
	callq	_RTA_ALIGN
	cmpl	%eax, %r13d
	jl	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$24, %edi
	callq	_RTA_ALIGN
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_skb_put
	movq	$0, 16(%rax)
	movq	16(%rbx), %rcx
	movl	(%rcx,%r14,4), %ecx
	movl	%ecx, (%rax)
	movq	(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	$24, 4(%rax)
	jmp	LBB0_9
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
LBB0_12:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_nlmsg_trim
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXVIFS,4,2                    ## @MAXVIFS
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_RTA_IIF,4,2                    ## @RTA_IIF
	.comm	_RTA_MULTIPATH,4,2              ## @RTA_MULTIPATH
	.comm	_RTN_MULTICAST,4,2              ## @RTN_MULTICAST
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	___ipmr_fill_mroute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __ipmr_fill_mroute
___ipmr_fill_mroute:                    ; @__ipmr_fill_mroute
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x1
	bl	_skb_tail_pointer
	ldr	w1, [x21]
Lloh0:
	adrp	x8, _MAXVIFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXVIFS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ge	LBB0_10
; %bb.1:
	mov	x23, x0
	mov	x0, x22
	bl	_VIF_EXISTS
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _RTA_IIF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTA_IIF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x8, [x22]
	ldrsw	x9, [x21]
	ldr	x3, [x8, x9, lsl #3]
	mov	x0, x20
	mov	w2, #4
	bl	_RTA_PUT
LBB0_3:
	mov	w0, #0
	bl	_RTA_LENGTH
	mov	x1, x0
	mov	x0, x20
	bl	_skb_put
	mov	x24, x0
	ldp	w25, w8, [x21, #8]
                                        ; kill: def $w25 killed $w25 def $x25
	sxtw	x25, w25
	cmp	w25, w8
	b.ge	LBB0_12
; %bb.4:
	mov	w27, #24
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x21, #12]
	cmp	x25, x8
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x25
	bl	_VIF_EXISTS
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #16]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #254
	b.gt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_skb_tailroom
	mov	x26, x0
	mov	w0, #24
	bl	_RTA_ALIGN
	add	w0, w0, #4
	bl	_RTA_ALIGN
	cmp	w26, w0
	b.lt	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #24
	bl	_RTA_ALIGN
	mov	x1, x0
	mov	x0, x20
	bl	_skb_put
	str	xzr, [x0, #16]
	ldr	x8, [x21, #16]
	ldr	w8, [x8, x25, lsl #2]
	ldr	x9, [x22]
	ldr	x9, [x9, x25, lsl #3]
	ldr	w9, [x9]
	stp	w27, w9, [x0, #4]
	str	w8, [x0]
	b	LBB0_5
LBB0_10:
Lloh6:
	adrp	x8, _ENOENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_12:
Lloh8:
	adrp	x8, _RTA_MULTIPATH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RTA_MULTIPATH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x24, #4]
	mov	x0, x20
	bl	_skb_tail_pointer
	sub	x8, x0, x24
	lsr	x8, x8, #2
	str	w8, [x24]
Lloh11:
	adrp	x8, _RTN_MULTICAST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RTN_MULTICAST@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
LBB0_13:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x0, x20
	mov	x1, x23
	bl	_nlmsg_trim
Lloh14:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXVIFS,4,2                    ; @MAXVIFS
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_RTA_IIF,4,2                    ; @RTA_IIF
	.comm	_RTA_MULTIPATH,4,2              ; @RTA_MULTIPATH
	.comm	_RTN_MULTICAST,4,2              ; @RTN_MULTICAST
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	___ipmr_fill_mroute
.subsections_via_symbols
