	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lacp_sm_rx_record_pdu
_lacp_sm_rx_record_pdu:                 ## @lacp_sm_rx_record_pdu
	.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	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LACP_STATESTR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	incl	%r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_LACP_TRACE
	movl	4(%rbx), %r15d
	movl	4(%r13), %eax
	movq	_LACP_STATE_ACTIVITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_1
## %bb.4:
	movl	%eax, 4(%rbx)
	movl	(%rbx), %edi
LBB0_5:
	movl	(%r13), %esi
	movq	_LACP_STATE_AGGREGATION@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_LACP_STATE_EQ
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	16(%rbx), %rdi
	movq	%r13, %rsi
	callq	_lacp_compare_peerinfo
	testl	%eax, %eax
	je	LBB0_9
LBB0_7:
	movl	(%r12), %eax
	testl	%eax, (%r13)
	je	LBB0_9
## %bb.8:
	movl	4(%rbx), %eax
	jmp	LBB0_3
LBB0_9:
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.11:
	movq	_LACP_STATE_SYNC@GOTPCREL(%rip), %rax
	movl	4(%rbx), %ecx
	orl	(%rax), %ecx
	jmp	LBB0_12
LBB0_1:
	movl	(%rbx), %edi
	testl	%ecx, %edi
	je	LBB0_3
## %bb.2:
	andl	(%r13), %ecx
	movl	%eax, 4(%rbx)
	jne	LBB0_5
LBB0_3:
	movq	_LACP_STATE_SYNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
LBB0_12:
	movl	%ecx, 4(%rbx)
LBB0_13:
	movq	_LACP_STATE_DEFAULTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	cmpl	%ecx, %r15d
	je	LBB0_15
## %bb.14:
	movl	%r15d, %edi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_lacp_format_state
	movslq	%eax, %rdi
	callq	_LACP_DPRINTF
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_lacp_format_state
	movslq	%eax, %rdi
	callq	_LACP_DPRINTF
LBB0_15:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_lacp_sm_ptx_update_timeout
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	4(%rbx), %ecx
	jmp	LBB0_13
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LACP_STATESTR_MAX,4,2          ## @LACP_STATESTR_MAX
	.comm	_LACP_STATE_ACTIVITY,4,2        ## @LACP_STATE_ACTIVITY
	.comm	_LACP_STATE_AGGREGATION,4,2     ## @LACP_STATE_AGGREGATION
	.comm	_LACP_STATE_SYNC,4,2            ## @LACP_STATE_SYNC
	.comm	_LACP_STATE_DEFAULTED,4,2       ## @LACP_STATE_DEFAULTED
	.no_dead_strip	_lacp_sm_rx_record_pdu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lacp_sm_rx_record_pdu
_lacp_sm_rx_record_pdu:                 ; @lacp_sm_rx_record_pdu
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _LACP_STATESTR_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LACP_STATESTR_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w20, w8, #1
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	bl	_LACP_TRACE
	ldr	w21, [x19, #4]
	ldr	w8, [x23, #4]
Lloh8:
	adrp	x9, _LACP_STATE_ACTIVITY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LACP_STATE_ACTIVITY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.1:
	str	w8, [x19, #4]
	ldr	w0, [x19]
LBB0_2:
	ldr	w1, [x23]
Lloh11:
	adrp	x24, _LACP_STATE_AGGREGATION@GOTPAGE
Lloh12:
	ldr	x24, [x24, _LACP_STATE_AGGREGATION@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_LACP_STATE_EQ
	cbz	x0, LBB0_4
; %bb.3:
	add	x0, x19, #16
	mov	x1, x23
	bl	_lacp_compare_peerinfo
	cbz	w0, LBB0_6
LBB0_4:
	ldr	w8, [x23]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x19, #4]
	b	LBB0_10
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.7:
Lloh13:
	adrp	x8, _LACP_STATE_SYNC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LACP_STATE_SYNC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	b	LBB0_11
LBB0_8:
	ldr	w0, [x19]
	tst	w0, w9
	b.eq	LBB0_10
; %bb.9:
	ldr	w10, [x23]
	str	w8, [x19, #4]
	tst	w10, w9
	b.ne	LBB0_2
LBB0_10:
Lloh16:
	adrp	x9, _LACP_STATE_SYNC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LACP_STATE_SYNC@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	bic	w8, w8, w9
LBB0_11:
	str	w8, [x19, #4]
LBB0_12:
Lloh19:
	adrp	x9, _LACP_STATE_DEFAULTED@GOTPAGE
Lloh20:
	ldr	x9, [x9, _LACP_STATE_DEFAULTED@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	ldr	w10, [x19]
	bic	w9, w10, w9
	str	w9, [x19]
	cmp	w21, w8
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_lacp_format_state
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_LACP_DPRINTF
	ldr	w0, [x19, #4]
	mov	x1, x22
	mov	x2, x20
	bl	_lacp_format_state
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_LACP_DPRINTF
LBB0_14:
	mov	x0, x19
	mov	x1, x21
	bl	_lacp_sm_ptx_update_timeout
	ldur	x8, [x29, #-56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.15:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
	ldr	w8, [x19, #4]
	b	LBB0_12
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_LACP_STATESTR_MAX,4,2          ; @LACP_STATESTR_MAX
	.comm	_LACP_STATE_ACTIVITY,4,2        ; @LACP_STATE_ACTIVITY
	.comm	_LACP_STATE_AGGREGATION,4,2     ; @LACP_STATE_AGGREGATION
	.comm	_LACP_STATE_SYNC,4,2            ; @LACP_STATE_SYNC
	.comm	_LACP_STATE_DEFAULTED,4,2       ; @LACP_STATE_DEFAULTED
	.no_dead_strip	_lacp_sm_rx_record_pdu
.subsections_via_symbols
