	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bstp_edge_delay_expiry
_bstp_edge_delay_expiry:                ## @bstp_edge_delay_expiry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BSTP_PORT_AUTOEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_4
## %bb.1:
	movq	8(%rsi), %rax
	movq	_BSTP_PROTO_RSTP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	cmpq	$0, 40(%rsi)
	je	LBB0_4
## %bb.3:
	movq	16(%rsi), %rax
	movq	_BSTP_ROLE_DESIGNATED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movl	$1, 24(%rsi)
	movq	32(%rsi), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_DPRINTF                        ## TAILCALL
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSTP_PORT_AUTOEDGE,4,2         ## @BSTP_PORT_AUTOEDGE
	.comm	_BSTP_PROTO_RSTP,8,3            ## @BSTP_PROTO_RSTP
	.comm	_BSTP_ROLE_DESIGNATED,8,3       ## @BSTP_ROLE_DESIGNATED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s -> edge port\n"

	.no_dead_strip	_bstp_edge_delay_expiry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bstp_edge_delay_expiry
_bstp_edge_delay_expiry:                ; @bstp_edge_delay_expiry
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _BSTP_PORT_AUTOEDGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSTP_PORT_AUTOEDGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldr	x8, [x1, #8]
Lloh3:
	adrp	x9, _BSTP_PROTO_RSTP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BSTP_PROTO_RSTP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x1, #40]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x1, #16]
Lloh6:
	adrp	x9, _BSTP_ROLE_DESIGNATED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BSTP_ROLE_DESIGNATED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x1, #24]
	ldr	x8, [x1, #32]
	ldr	w1, [x8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	_DPRINTF
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BSTP_PORT_AUTOEDGE,4,2         ; @BSTP_PORT_AUTOEDGE
	.comm	_BSTP_PROTO_RSTP,8,3            ; @BSTP_PROTO_RSTP
	.comm	_BSTP_ROLE_DESIGNATED,8,3       ; @BSTP_ROLE_DESIGNATED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s -> edge port\n"

	.no_dead_strip	_bstp_edge_delay_expiry
.subsections_via_symbols
