	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lagg_rr_start
_lagg_rr_start:                         ## @lagg_rr_start
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	$0, (%rdi)
	movq	8(%rdi), %rax
	je	LBB0_1
## %bb.3:
	testq	%rax, %rax
	jg	LBB0_4
	jmp	LBB0_6
LBB0_1:
	testq	%rax, %rax
	jle	LBB0_6
## %bb.2:
	movq	%rax, (%r15)
LBB0_4:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_atomic_subtract_int
	movq	8(%r15), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_atomic_cmpset_int
	leaq	24(%r15), %rdi
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movl	(%rdi), %eax
	jmp	LBB0_8
LBB0_6:
	leaq	24(%r15), %rdi
LBB0_7:
	movl	$1, %esi
	callq	_atomic_fetchadd_32
LBB0_8:
	cltd
	idivl	20(%r15)
	movl	%edx, %ebx
	leaq	16(%r15), %rdi
	callq	_CK_SLIST_FIRST
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.9:
	movq	_lp_entries@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%rax, %rdi
	callq	_CK_SLIST_NEXT
	decl	%ebx
	jne	LBB0_10
LBB0_11:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_lagg_link_active
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movl	(%rax), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lagg_enqueue                   ## TAILCALL
LBB0_12:
	movq	%r14, %rdi
	callq	_m_freem
	movq	_ENETDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lp_entries,4,2                 ## @lp_entries
	.comm	_ENETDOWN,4,2                   ## @ENETDOWN
	.no_dead_strip	_lagg_rr_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lagg_rr_start
_lagg_rr_start:                         ; @lagg_rr_start
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	x9, x8, [x0]
	cbz	x9, LBB0_2
; %bb.1:
	cmp	x8, #1
	b.ge	LBB0_4
	b	LBB0_6
LBB0_2:
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.3:
	str	x8, [x20]
LBB0_4:
	mov	x0, x20
	mov	w1, #1
	bl	_atomic_subtract_int
	ldr	x2, [x20, #8]
	mov	x0, x20
	mov	w1, #0
	bl	_atomic_cmpset_int
	mov	x8, x0
	add	x0, x20, #24
	cbnz	x8, LBB0_7
; %bb.5:
	ldr	w0, [x0]
	b	LBB0_8
LBB0_6:
	add	x0, x20, #24
LBB0_7:
	mov	w1, #1
	bl	_atomic_fetchadd_32
LBB0_8:
	ldr	w8, [x20, #20]
	sdiv	w9, w0, w8
	msub	w21, w9, w8, w0
	add	x0, x20, #16
	bl	_CK_SLIST_FIRST
	mov	x2, x0
	cbz	w21, LBB0_11
; %bb.9:
Lloh0:
	adrp	x22, _lp_entries@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lp_entries@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	ldr	w1, [x22]
	mov	x0, x2
	bl	_CK_SLIST_NEXT
	mov	x2, x0
	cbnz	w21, LBB0_10
LBB0_11:
	mov	x0, x20
	mov	x1, x2
	bl	_lagg_link_active
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w0, [x0]
	mov	x1, 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	_lagg_enqueue
LBB0_13:
	mov	x0, x19
	bl	_m_freem
Lloh2:
	adrp	x8, _ENETDOWN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENETDOWN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_lp_entries,4,2                 ; @lp_entries
	.comm	_ENETDOWN,4,2                   ; @ENETDOWN
	.no_dead_strip	_lagg_rr_start
.subsections_via_symbols
