	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_tp
_test_tp:                               ## @test_tp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	cmpl	$0, (%rax)
	jns	LBB0_2
## %bb.1:
	movslq	%r14d, %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	_DE4X5_SISR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inl
	movq	_TIMER_CB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_SISR_LKF@GOTPCREL(%rip), %rsi
	movq	_SISR_NCR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rsi), %eax
	andl	%edx, %eax
	je	LBB0_5
## %bb.3:
	decl	(%rbx)
	je	LBB0_5
## %bb.4:
	movl	(%rcx), %eax
	orl	$100, %eax
	jmp	LBB0_6
LBB0_5:
	movl	$-1, (%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DE4X5_SISR,4,2                 ## @DE4X5_SISR
	.comm	_TIMER_CB,4,2                   ## @TIMER_CB
	.comm	_SISR_LKF,4,2                   ## @SISR_LKF
	.comm	_SISR_NCR,4,2                   ## @SISR_NCR
	.no_dead_strip	_test_tp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_tp
_test_tp:                               ; @test_tp
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x0]
	tbz	w8, #31, LBB0_2
; %bb.1:
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	str	w8, [x19]
LBB0_2:
Lloh0:
	adrp	x8, _DE4X5_SISR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DE4X5_SISR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_inl
Lloh3:
	adrp	x8, _TIMER_CB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIMER_CB@GOTPAGEOFF]
	ldr	w9, [x8]
	bic	w9, w0, w9
Lloh5:
	adrp	x10, _SISR_LKF@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SISR_LKF@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	adrp	x11, _SISR_NCR@GOTPAGE
Lloh9:
	ldr	x11, [x11, _SISR_NCR@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	orr	w10, w11, w10
	ands	w0, w9, w10
	b.eq	LBB0_5
; %bb.3:
	ldr	w9, [x19]
	subs	w9, w9, #1
	str	w9, [x19]
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x8]
	mov	w9, #100
	orr	w0, w8, w9
	b	LBB0_6
LBB0_5:
	mov	w8, #-1
	str	w8, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DE4X5_SISR,4,2                 ; @DE4X5_SISR
	.comm	_TIMER_CB,4,2                   ; @TIMER_CB
	.comm	_SISR_LKF,4,2                   ; @SISR_LKF
	.comm	_SISR_NCR,4,2                   ; @SISR_NCR
	.no_dead_strip	_test_tp
.subsections_via_symbols
