	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bstp_transmit
_bstp_transmit:                         ## @bstp_transmit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdi)
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	cmpq	$0, 32(%rsi)
	je	LBB0_10
## %bb.2:
	movq	(%rbx), %rax
	cmpq	8(%rdi), %rax
	jg	LBB0_9
## %bb.3:
	leaq	32(%rbx), %r14
	movq	8(%rbx), %rax
	movq	_BSTP_PROTO_RSTP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.5:
	movl	16(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_8
LBB0_4:
	movq	%rbx, %rsi
	callq	_bstp_transmit_bpdu
	movq	$0, 40(%rbx)
	jmp	LBB0_8
LBB0_10:
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bstp_hello_timer_expiry        ## TAILCALL
LBB0_7:
	movq	%rbx, %rsi
	callq	_bstp_transmit_tcn
LBB0_8:
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_bstp_timer_start
	movq	_BSTP_PORT_NEWINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 20(%rbx)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSTP_PROTO_RSTP,8,3            ## @BSTP_PROTO_RSTP
	.comm	_BSTP_PORT_NEWINFO,4,2          ## @BSTP_PORT_NEWINFO
	.no_dead_strip	_bstp_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bstp_transmit
_bstp_transmit:                         ; @bstp_transmit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	cbz	x8, LBB0_10
; %bb.1:
	mov	x19, x1
	mov	x20, x1
	ldr	x8, [x20, #32]!
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x8, [x19]
	ldr	x9, [x0, #8]
	cmp	x8, x9
	b.gt	LBB0_10
; %bb.3:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _BSTP_PROTO_RSTP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSTP_PROTO_RSTP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.4:
	ldr	w8, [x19, #16]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #129
	b.ne	LBB0_9
LBB0_6:
	mov	x1, x19
	bl	_bstp_transmit_bpdu
	str	xzr, [x19, #40]
	b	LBB0_9
LBB0_7:
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bstp_hello_timer_expiry
LBB0_8:
	mov	x1, x19
	bl	_bstp_transmit_tcn
LBB0_9:
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_bstp_timer_start
Lloh3:
	adrp	x8, _BSTP_PORT_NEWINFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BSTP_PORT_NEWINFO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	bic	w8, w9, w8
	str	w8, [x19, #20]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BSTP_PROTO_RSTP,8,3            ; @BSTP_PROTO_RSTP
	.comm	_BSTP_PORT_NEWINFO,4,2          ; @BSTP_PORT_NEWINFO
	.no_dead_strip	_bstp_transmit
.subsections_via_symbols
