	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_send_config_bpdu            ## -- Begin function br_send_config_bpdu
	.p2align	4, 0x90
_br_send_config_bpdu:                   ## @br_send_config_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	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_BR_KERNEL_STP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movw	$0, -64(%rbp)
	movb	$0, -62(%rbp)
	movq	_BPDU_TYPE_CONFIG@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -61(%rbp)
	cmpq	$0, 64(%rsi)
	setne	%al
	cmpq	$0, 56(%rsi)
	setne	%cl
	shlb	$7, %cl
	orb	%al, %cl
	movb	%cl, -60(%rbp)
	movq	40(%rsi), %rax
	movb	(%rax), %cl
	movb	%cl, -59(%rbp)
	movb	1(%rax), %al
	movb	%al, -58(%rbp)
	movq	48(%rsi), %rax
	movb	(%rax), %cl
	movb	%cl, -57(%rbp)
	movb	1(%rax), %cl
	movb	%cl, -56(%rbp)
	movb	2(%rax), %cl
	movb	%cl, -55(%rbp)
	movb	3(%rax), %cl
	movb	%cl, -54(%rbp)
	movb	4(%rax), %cl
	movb	%cl, -53(%rbp)
	movb	5(%rax), %al
	movb	%al, -52(%rbp)
	movl	(%rsi), %eax
	bswapl	%eax
	movl	%eax, -51(%rbp)
	movq	24(%rsi), %rax
	movb	(%rax), %cl
	movb	%cl, -47(%rbp)
	movb	1(%rax), %al
	movb	%al, -46(%rbp)
	movq	32(%rsi), %rax
	movb	(%rax), %cl
	movb	%cl, -45(%rbp)
	movb	1(%rax), %cl
	movb	%cl, -44(%rbp)
	movb	2(%rax), %cl
	movb	%cl, -43(%rbp)
	movb	3(%rax), %cl
	movb	%cl, -42(%rbp)
	movb	4(%rax), %cl
	movb	%cl, -41(%rbp)
	movb	5(%rax), %al
	movb	%al, -40(%rbp)
	movzwl	4(%rsi), %eax
	rolw	$8, %ax
	movw	%ax, -39(%rbp)
	leaq	-37(%rbp), %rdi
	movl	20(%rsi), %esi
	callq	_br_set_ticks
	leaq	-35(%rbp), %rdi
	movl	16(%rbx), %esi
	callq	_br_set_ticks
	leaq	-33(%rbp), %rdi
	movl	12(%rbx), %esi
	callq	_br_set_ticks
	leaq	-31(%rbp), %rdi
	movl	8(%rbx), %esi
	callq	_br_set_ticks
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	$35, %edx
	callq	_br_send_bpdu
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_KERNEL_STP,8,3              ## @BR_KERNEL_STP
	.comm	_BPDU_TYPE_CONFIG,1,0           ## @BPDU_TYPE_CONFIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_send_config_bpdu            ; -- Begin function br_send_config_bpdu
	.p2align	2
_br_send_config_bpdu:                   ; @br_send_config_bpdu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _BR_KERNEL_STP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BR_KERNEL_STP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	sturh	wzr, [sp, #5]
	strb	wzr, [sp, #7]
Lloh6:
	adrp	x8, _BPDU_TYPE_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BPDU_TYPE_CONFIG@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [sp, #8]
	ldp	x9, x8, [x1, #56]
	cmp	x8, #0
	cset	w8, ne
	cmp	x9, #0
	cset	w9, ne
	bfi	w8, w9, #7, #1
	strb	w8, [sp, #9]
	ldp	x8, x9, [x1, #40]
	ldrb	w10, [x8]
	strb	w10, [sp, #10]
	ldrb	w8, [x8, #1]
	strb	w8, [sp, #11]
	ldrb	w8, [x9]
	strb	w8, [sp, #12]
	ldrb	w8, [x9, #1]
	strb	w8, [sp, #13]
	ldrb	w8, [x9, #2]
	strb	w8, [sp, #14]
	ldrb	w8, [x9, #3]
	strb	w8, [sp, #15]
	ldrb	w8, [x9, #4]
	strb	w8, [sp, #16]
	ldrb	w8, [x9, #5]
	strb	w8, [sp, #17]
	ldr	w8, [x1]
	rev	w8, w8
	stur	w8, [sp, #18]
	ldp	x8, x9, [x1, #24]
	ldrb	w10, [x8]
	strb	w10, [sp, #22]
	ldrb	w8, [x8, #1]
	strb	w8, [sp, #23]
	ldrb	w8, [x9]
	strb	w8, [sp, #24]
	ldrb	w8, [x9, #1]
	strb	w8, [sp, #25]
	ldrb	w8, [x9, #2]
	strb	w8, [sp, #26]
	ldrb	w8, [x9, #3]
	strb	w8, [sp, #27]
	ldrb	w8, [x9, #4]
	strb	w8, [sp, #28]
	ldrb	w8, [x9, #5]
	strb	w8, [sp, #29]
	ldrh	w8, [x1, #4]
	rev	w8, w8
	lsr	w8, w8, #16
	sturh	w8, [sp, #30]
	add	x21, sp, #5
	add	x0, x21, #27
	ldr	w1, [x1, #20]
	bl	_br_set_ticks
	add	x0, x21, #29
	ldr	w1, [x20, #16]
	bl	_br_set_ticks
	add	x0, x21, #31
	ldr	w1, [x20, #12]
	bl	_br_set_ticks
	add	x0, x21, #33
	ldr	w1, [x20, #8]
	bl	_br_set_ticks
	add	x1, sp, #5
	mov	x0, x19
	mov	w2, #35
	bl	_br_send_bpdu
LBB0_2:
	ldr	x8, [sp, #40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_KERNEL_STP,8,3              ; @BR_KERNEL_STP
	.comm	_BPDU_TYPE_CONFIG,1,0           ; @BPDU_TYPE_CONFIG
.subsections_via_symbols
