	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sfp_sm_link_check_los
_sfp_sm_link_check_los:                 ## @sfp_sm_link_check_los
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_SFP_F_LOS@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	andl	(%rdi), %ebx
	movl	4(%rdi), %r12d
	movq	_SFP_OPTIONS_LOS_INVERTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	testl	%r12d, %eax
	je	LBB0_2
## %bb.1:
	xorl	(%r15), %ebx
	jmp	LBB0_3
LBB0_2:
	movl	4(%r14), %r15d
	movq	_SFP_OPTIONS_LOS_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	testl	%r15d, %eax
	je	LBB0_5
LBB0_3:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	movq	_SFP_S_WAIT_LOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sfp_sm_next                    ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sfp_sm_link_up                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SFP_F_LOS,4,2                  ## @SFP_F_LOS
	.comm	_SFP_OPTIONS_LOS_INVERTED,4,2   ## @SFP_OPTIONS_LOS_INVERTED
	.comm	_SFP_OPTIONS_LOS_NORMAL,4,2     ## @SFP_OPTIONS_LOS_NORMAL
	.comm	_SFP_S_WAIT_LOS,4,2             ## @SFP_S_WAIT_LOS
	.no_dead_strip	_sfp_sm_link_check_los
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sfp_sm_link_check_los
_sfp_sm_link_check_los:                 ; @sfp_sm_link_check_los
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x21, _SFP_F_LOS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SFP_F_LOS@GOTPAGEOFF]
	ldr	w8, [x21]
	ldp	w9, w22, [x0]
	and	w20, w8, w9
Lloh2:
	adrp	x8, _SFP_OPTIONS_LOS_INVERTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SFP_OPTIONS_LOS_INVERTED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	tst	w0, w22
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x21]
	eor	w20, w8, w20
	b	LBB0_3
LBB0_2:
	ldr	w21, [x19, #4]
Lloh5:
	adrp	x8, _SFP_OPTIONS_LOS_NORMAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SFP_OPTIONS_LOS_NORMAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	tst	w0, w21
	b.eq	LBB0_5
LBB0_3:
	cbz	w20, LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _SFP_S_WAIT_LOS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SFP_S_WAIT_LOS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sfp_sm_next
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sfp_sm_link_up
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SFP_F_LOS,4,2                  ; @SFP_F_LOS
	.comm	_SFP_OPTIONS_LOS_INVERTED,4,2   ; @SFP_OPTIONS_LOS_INVERTED
	.comm	_SFP_OPTIONS_LOS_NORMAL,4,2     ; @SFP_OPTIONS_LOS_NORMAL
	.comm	_SFP_S_WAIT_LOS,4,2             ; @SFP_S_WAIT_LOS
	.no_dead_strip	_sfp_sm_link_check_los
.subsections_via_symbols
