	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_transmit_config             ## -- Begin function br_transmit_config
	.p2align	4, 0x90
_br_transmit_config:                    ## @br_transmit_config
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_timer_pending
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, (%r15)
	jmp	LBB0_7
LBB0_2:
	movq	32(%r15), %rbx
	movl	32(%rbx), %eax
	movl	%eax, -32(%rbp)
	movq	8(%r15), %rax
	movq	%rax, -40(%rbp)
	movl	28(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -52(%rbp)
	movl	24(%r15), %eax
	movl	%eax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_br_is_root_bridge
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_5
LBB0_4:
	movl	16(%rbx), %esi
	movq	%rbx, %rdi
	callq	_br_get_port
	movq	(%rbx), %rcx
	movq	_jiffies@GOTPCREL(%rip), %rdx
	movq	_MESSAGE_AGE_INCR@GOTPCREL(%rip), %rsi
	subq	16(%rax), %rcx
	addq	(%rdx), %rcx
	addq	(%rsi), %rcx
LBB0_5:
	movq	%rcx, -80(%rbp)
	movq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	movl	12(%rbx), %edx
	movl	%edx, -60(%rbp)
	movl	8(%rbx), %edx
	movl	%edx, -64(%rbp)
	cmpq	%rax, %rcx
	jge	LBB0_7
## %bb.6:
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	callq	_br_send_config_bpdu
	movq	$0, 8(%r15)
	movl	$0, (%r15)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_BR_HOLD_TIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	addq	(%rax), %rdi
	callq	_round_jiffies
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_mod_timer
LBB0_7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MESSAGE_AGE_INCR,8,3           ## @MESSAGE_AGE_INCR
	.comm	_BR_HOLD_TIME,8,3               ## @BR_HOLD_TIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_transmit_config             ; -- Begin function br_transmit_config
	.p2align	2
_br_transmit_config:                    ; @br_transmit_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_timer_pending
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_7
LBB0_2:
	ldr	x21, [x20, #32]
	ldr	w8, [x21, #32]
	str	w8, [sp, #56]
	ldr	x8, [x20, #8]
	str	x8, [sp, #48]
	ldr	w8, [x21, #28]
	str	w8, [sp, #44]
	ldur	d0, [x21, #20]
	stur	d0, [sp, #36]
	ldr	w8, [x20, #24]
	str	w8, [sp, #32]
	mov	x0, x21
	bl	_br_is_root_bridge
	cbz	x0, LBB0_4
; %bb.3:
	mov	x8, #0
	b	LBB0_5
LBB0_4:
	ldr	w1, [x21, #16]
	mov	x0, x21
	bl	_br_get_port
	ldr	x8, [x21]
	ldr	x9, [x0, #16]
Lloh0:
	adrp	x10, _jiffies@GOTPAGE
Lloh1:
	ldr	x10, [x10, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _MESSAGE_AGE_INCR@GOTPAGE
Lloh4:
	ldr	x11, [x11, _MESSAGE_AGE_INCR@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	sub	x8, x8, x9
	add	x8, x8, x10
	add	x8, x8, x11
LBB0_5:
	str	x8, [sp, #8]
	ldr	x9, [x21]
	str	x9, [sp, #16]
	ldr	d0, [x21, #8]
	str	d0, [sp, #24]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.6:
	add	x1, sp, #8
	mov	x0, x20
	bl	_br_send_config_bpdu
	str	xzr, [x20, #8]
Lloh6:
	adrp	x8, _jiffies@GOTPAGE
Lloh7:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	str	wzr, [x20]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _BR_HOLD_TIME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BR_HOLD_TIME@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_round_jiffies
	mov	x1, x0
	mov	x0, x19
	bl	_mod_timer
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MESSAGE_AGE_INCR,8,3           ; @MESSAGE_AGE_INCR
	.comm	_BR_HOLD_TIME,8,3               ; @BR_HOLD_TIME
.subsections_via_symbols
