	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bstp_transmit_bpdu
_bstp_transmit_bpdu:                    ## @bstp_transmit_bpdu
	.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
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_BSTP_LOCK_ASSERT
	callq	_htons
	movq	%rax, -24(%rbp)
	movl	24(%rbx), %edi
	callq	_PV2ADDR
	movl	32(%rbx), %edi
	callq	_htonl
	movl	%eax, -32(%rbp)
	callq	_htons
	movq	%rax, -40(%rbp)
	movl	28(%rbx), %edi
	callq	_PV2ADDR
	movl	(%rbx), %edi
	callq	_htons
	movq	%rax, -56(%rbp)
	movl	4(%rbx), %edi
	callq	_htons
	movq	%rax, -64(%rbp)
	movl	8(%rbx), %edi
	callq	_htons
	movq	%rax, -72(%rbp)
	movl	12(%rbx), %edi
	callq	_htons
	movq	%rax, -80(%rbp)
	movl	16(%rbx), %edi
	callq	_htons
	movq	%rax, -88(%rbp)
	movq	%rbx, %rdi
	callq	_bstp_pdu_flags
	movl	%eax, -92(%rbp)
	movl	20(%rbx), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movq	_BSTP_MSGTYPE_CFG@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_BSTP_MSGTYPE_RSTP@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
LBB0_5:
	leaq	-96(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_bstp_send_bpdu
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSTP_MSGTYPE_CFG,4,2           ## @BSTP_MSGTYPE_CFG
	.comm	_BSTP_MSGTYPE_RSTP,4,2          ## @BSTP_MSGTYPE_RSTP
	.no_dead_strip	_bstp_transmit_bpdu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bstp_transmit_bpdu
_bstp_transmit_bpdu:                    ; @bstp_transmit_bpdu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_BSTP_LOCK_ASSERT
	bl	_htons
	str	x0, [sp, #72]
	ldr	w0, [x19, #24]
	bl	_PV2ADDR
	ldr	w0, [x19, #32]
	bl	_htonl
	str	w0, [sp, #64]
	bl	_htons
	str	x0, [sp, #56]
	ldr	w0, [x19, #28]
	bl	_PV2ADDR
	ldr	w0, [x19]
	bl	_htons
	str	x0, [sp, #40]
	ldr	w0, [x19, #4]
	bl	_htons
	str	x0, [sp, #32]
	ldr	w0, [x19, #8]
	bl	_htons
	str	x0, [sp, #24]
	ldr	w0, [x19, #12]
	bl	_htons
	str	x0, [sp, #16]
	ldr	w0, [x19, #16]
	bl	_htons
	str	x0, [sp, #8]
	mov	x0, x19
	bl	_bstp_pdu_flags
	str	w0, [sp, #4]
	ldr	w8, [x19, #20]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _BSTP_MSGTYPE_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSTP_MSGTYPE_CFG@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _BSTP_MSGTYPE_RSTP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BSTP_MSGTYPE_RSTP@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [sp]
LBB0_5:
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	bl	_bstp_send_bpdu
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_BSTP_MSGTYPE_CFG,4,2           ; @BSTP_MSGTYPE_CFG
	.comm	_BSTP_MSGTYPE_RSTP,4,2          ; @BSTP_MSGTYPE_RSTP
	.no_dead_strip	_bstp_transmit_bpdu
.subsections_via_symbols
