	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bstp_received_rstp
_bstp_received_rstp:                    ## @bstp_received_rstp
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rcx), %rax
	movq	_BSTP_MSGTYPE_RSTP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdx), %rdi
	movq	_BSTP_BPDU_RSTP_LEN@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	cmpq	%rsi, (%rdi)
	jge	LBB0_3
## %bb.2:
	callq	_m_pullup
	movq	%rax, %rdi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_caddr_t@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mtod
	movq	(%r12), %rdx
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_memcpy
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_bstp_decode_bpdu
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	callq	_bstp_received_bpdu
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSTP_MSGTYPE_RSTP,8,3          ## @BSTP_MSGTYPE_RSTP
	.comm	_BSTP_BPDU_RSTP_LEN,8,3         ## @BSTP_BPDU_RSTP_LEN
	.comm	_caddr_t,4,2                    ## @caddr_t
	.no_dead_strip	_bstp_received_rstp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bstp_received_rstp
_bstp_received_rstp:                    ; @bstp_received_rstp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x3]
Lloh0:
	adrp	x9, _BSTP_MSGTYPE_RSTP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSTP_MSGTYPE_RSTP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x2]
	ldr	x8, [x0]
Lloh3:
	adrp	x22, _BSTP_BPDU_RSTP_LEN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _BSTP_BPDU_RSTP_LEN@GOTPAGEOFF]
	ldr	x1, [x22]
	cmp	x8, x1
	b.ge	LBB0_3
; %bb.2:
	bl	_m_pullup
	str	x0, [x21]
	cbz	x0, LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _caddr_t@GOTPAGE
Lloh6:
	ldr	x8, [x8, _caddr_t@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_mtod
	mov	x1, x0
	ldr	x2, [x22]
	add	x0, sp, #8
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x19
	bl	_bstp_decode_bpdu
	mov	x0, x20
	mov	x1, x19
	mov	x2, x19
	bl	_bstp_received_bpdu
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BSTP_MSGTYPE_RSTP,8,3          ; @BSTP_MSGTYPE_RSTP
	.comm	_BSTP_BPDU_RSTP_LEN,8,3         ; @BSTP_BPDU_RSTP_LEN
	.comm	_caddr_t,4,2                    ; @caddr_t
	.no_dead_strip	_bstp_received_rstp
.subsections_via_symbols
