	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function switchtec_ntb_check_link
_switchtec_ntb_check_link:              ## @switchtec_ntb_check_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MSG_LINK_FORCE_DOWN@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	$1, (%rdi)
LBB0_2:
	addq	$4, %rdi
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_LINK_FORCE_DOWN,4,2        ## @MSG_LINK_FORCE_DOWN
	.no_dead_strip	_switchtec_ntb_check_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function switchtec_ntb_check_link
_switchtec_ntb_check_link:              ; @switchtec_ntb_check_link
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MSG_LINK_FORCE_DOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_LINK_FORCE_DOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x0]
LBB0_2:
	add	x0, x0, #4
	b	_schedule_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_LINK_FORCE_DOWN,4,2        ; @MSG_LINK_FORCE_DOWN
	.no_dead_strip	_switchtec_ntb_check_link
.subsections_via_symbols
