	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lagg_port2req
_lagg_port2req:                         ## @lagg_port2req
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movl	16(%rsi), %edi
	movl	16(%r15), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	12(%r14), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	4(%rbx), %eax
	movl	%eax, 8(%r14)
	movl	(%rbx), %eax
	movl	%eax, (%r14)
	leaq	4(%r14), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_lagg_proto_portreq
	movl	(%r15), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_15
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%rbx, %rdi
	callq	_LAGG_PORTACTIVE
	testl	%eax, %eax
	je	LBB0_15
LBB0_13:
	movq	_LAGG_PORT_ACTIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	%rbx, %rdi
	callq	_lacp_isactive
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_LAGG_PORT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_6:
	movq	%rbx, %rdi
	callq	_lacp_iscollecting
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_LAGG_PORT_COLLECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_8:
	movq	%rbx, %rdi
	callq	_lacp_isdistributing
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:
	movq	_LAGG_PORT_DISTRIBUTING@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	8(%r15), %rsi
	cmpq	%rbx, %rsi
	jne	LBB0_12
## %bb.11:
	movq	_LAGG_PORT_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_12:
	movq	%r15, %rdi
	callq	_lagg_link_active
	cmpq	%rbx, %rax
	jne	LBB0_15
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_LAGG_PORT_MASTER,4,2           ## @LAGG_PORT_MASTER
	.comm	_LAGG_PORT_ACTIVE,4,2           ## @LAGG_PORT_ACTIVE
	.comm	_LAGG_PORT_COLLECTING,4,2       ## @LAGG_PORT_COLLECTING
	.comm	_LAGG_PORT_DISTRIBUTING,4,2     ## @LAGG_PORT_DISTRIBUTING
	.no_dead_strip	_lagg_port2req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lagg_port2req
_lagg_port2req:                         ; @lagg_port2req
	.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
	ldr	x21, [x0, #16]
	ldr	w0, [x1, #16]
	ldr	w1, [x21, #16]
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #12]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldp	w9, w8, [x20]
	str	w8, [x19, #8]
	str	w9, [x19]
	add	x2, x19, #4
	mov	x0, x21
	mov	x1, x20
	bl	_lagg_proto_portreq
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_11
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	bl	_LAGG_PORTACTIVE
	cbz	w0, LBB0_11
LBB0_3:
Lloh2:
	adrp	x8, _LAGG_PORT_ACTIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LAGG_PORT_ACTIVE@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	mov	x0, x20
	bl	_lacp_isactive
	cbz	w0, LBB0_6
; %bb.5:
Lloh4:
	adrp	x8, _LAGG_PORT_ACTIVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LAGG_PORT_ACTIVE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	mov	x0, x20
	bl	_lacp_iscollecting
	cbz	w0, LBB0_8
; %bb.7:
Lloh7:
	adrp	x8, _LAGG_PORT_COLLECTING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LAGG_PORT_COLLECTING@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
	mov	x0, x20
	bl	_lacp_isdistributing
	cbz	w0, LBB0_11
; %bb.9:
Lloh10:
	adrp	x8, _LAGG_PORT_DISTRIBUTING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LAGG_PORT_DISTRIBUTING@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_11:
	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
LBB0_12:
	ldr	x1, [x21, #8]
	cmp	x1, x20
	b.ne	LBB0_14
; %bb.13:
Lloh12:
	adrp	x8, _LAGG_PORT_MASTER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LAGG_PORT_MASTER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_14:
	mov	x0, x21
	bl	_lagg_link_active
	cmp	x0, x20
	b.ne	LBB0_11
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_LAGG_PORT_MASTER,4,2           ; @LAGG_PORT_MASTER
	.comm	_LAGG_PORT_ACTIVE,4,2           ; @LAGG_PORT_ACTIVE
	.comm	_LAGG_PORT_COLLECTING,4,2       ; @LAGG_PORT_COLLECTING
	.comm	_LAGG_PORT_DISTRIBUTING,4,2     ; @LAGG_PORT_DISTRIBUTING
	.no_dead_strip	_lagg_port2req
.subsections_via_symbols
