	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sfp_los_event_inactive
_sfp_los_event_inactive:                ## @sfp_los_event_inactive
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	movq	_SFP_OPTIONS_LOS_INVERTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	testl	%ebx, %eax
	je	LBB0_2
## %bb.1:
	movq	_SFP_E_LOS_HIGH@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	cmpl	%r14d, (%rcx)
	je	LBB0_3
LBB0_2:
	movl	(%r15), %ebx
	movq	_SFP_OPTIONS_LOS_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	testl	%ebx, %eax
	setne	%al
	movq	_SFP_E_LOS_LOW@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SFP_OPTIONS_LOS_INVERTED,4,2   ## @SFP_OPTIONS_LOS_INVERTED
	.comm	_SFP_E_LOS_HIGH,4,2             ## @SFP_E_LOS_HIGH
	.comm	_SFP_OPTIONS_LOS_NORMAL,4,2     ## @SFP_OPTIONS_LOS_NORMAL
	.comm	_SFP_E_LOS_LOW,4,2              ## @SFP_E_LOS_LOW
	.no_dead_strip	_sfp_los_event_inactive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sfp_los_event_inactive
_sfp_los_event_inactive:                ; @sfp_los_event_inactive
	.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, x1
	mov	x20, x0
	ldr	w21, [x0]
Lloh0:
	adrp	x8, _SFP_OPTIONS_LOS_INVERTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SFP_OPTIONS_LOS_INVERTED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	and	w8, w0, w21
Lloh3:
	adrp	x9, _SFP_E_LOS_HIGH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SFP_E_LOS_HIGH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, w19, #0, ne
	b.eq	LBB0_2
; %bb.1:
	ldr	w20, [x20]
Lloh6:
	adrp	x8, _SFP_OPTIONS_LOS_NORMAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SFP_OPTIONS_LOS_NORMAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	tst	w0, w20
Lloh9:
	adrp	x8, _SFP_E_LOS_LOW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SFP_E_LOS_LOW@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ccmp	w8, w19, #0, ne
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	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
	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	_SFP_OPTIONS_LOS_INVERTED,4,2   ; @SFP_OPTIONS_LOS_INVERTED
	.comm	_SFP_E_LOS_HIGH,4,2             ; @SFP_E_LOS_HIGH
	.comm	_SFP_OPTIONS_LOS_NORMAL,4,2     ; @SFP_OPTIONS_LOS_NORMAL
	.comm	_SFP_E_LOS_LOW,4,2              ; @SFP_E_LOS_LOW
	.no_dead_strip	_sfp_los_event_inactive
.subsections_via_symbols
