	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_ans
_test_ans:                              ## @test_ans
	.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
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %r12
	cmpl	$0, (%rax)
	jns	LBB0_2
## %bb.1:
	movslq	%ebx, %rax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	movl	%eax, (%r12)
	movq	_DE4X5_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_outl
	movq	_DE4X5_STS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_inl
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_outl
LBB0_2:
	movq	_DE4X5_SISR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inl
	movl	%eax, %r15d
	movq	_SISR_ANS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_DE4X5_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_inl
	movl	%eax, %ecx
	movq	_TIMER_CB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	notl	%eax
	andl	%ecx, %eax
	testl	%r14d, %eax
	jne	LBB0_6
## %bb.3:
	andl	%r15d, %ebx
	movq	_ANS_NWOK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	je	LBB0_6
## %bb.4:
	decl	(%r12)
	je	LBB0_6
## %bb.5:
	movl	(%rdx), %eax
	orl	$100, %eax
	jmp	LBB0_7
LBB0_6:
	movl	$-1, (%r12)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DE4X5_IMR,4,2                  ## @DE4X5_IMR
	.comm	_DE4X5_STS,4,2                  ## @DE4X5_STS
	.comm	_DE4X5_SISR,4,2                 ## @DE4X5_SISR
	.comm	_SISR_ANS,4,2                   ## @SISR_ANS
	.comm	_TIMER_CB,4,2                   ## @TIMER_CB
	.comm	_ANS_NWOK,4,2                   ## @ANS_NWOK
	.no_dead_strip	_test_ans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_ans
_test_ans:                              ; @test_ans
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x23, _DE4X5_STS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DE4X5_STS@GOTPAGEOFF]
	tbz	w8, #31, LBB0_2
; %bb.1:
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w22, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	str	w8, [x19]
Lloh2:
	adrp	x8, _DE4X5_IMR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DE4X5_IMR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_outl
	ldr	w0, [x23]
	bl	_inl
	ldr	w1, [x23]
	bl	_outl
LBB0_2:
Lloh5:
	adrp	x8, _DE4X5_SISR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DE4X5_SISR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_inl
	mov	x21, x0
Lloh8:
	adrp	x8, _SISR_ANS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SISR_ANS@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	ldr	w0, [x23]
	bl	_inl
Lloh11:
	adrp	x8, _TIMER_CB@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TIMER_CB@GOTPAGEOFF]
	ldr	w9, [x8]
	bic	w0, w0, w9
	tst	w0, w20
	b.ne	LBB0_6
; %bb.3:
	and	w9, w22, w21
Lloh13:
	adrp	x10, _ANS_NWOK@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ANS_NWOK@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_6
; %bb.4:
	ldr	w9, [x19]
	subs	w9, w9, #1
	str	w9, [x19]
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x8]
	mov	w9, #100
	orr	w0, w8, w9
	b	LBB0_7
LBB0_6:
	mov	w8, #-1
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_DE4X5_IMR,4,2                  ; @DE4X5_IMR
	.comm	_DE4X5_STS,4,2                  ; @DE4X5_STS
	.comm	_DE4X5_SISR,4,2                 ; @DE4X5_SISR
	.comm	_SISR_ANS,4,2                   ; @SISR_ANS
	.comm	_TIMER_CB,4,2                   ; @TIMER_CB
	.comm	_ANS_NWOK,4,2                   ; @ANS_NWOK
	.no_dead_strip	_test_ans
.subsections_via_symbols
