	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_get_coalesce
_sky2_get_coalesce:                     ## @sky2_get_coalesce
	.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
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	(%rax), %rbx
	movq	_STAT_TX_TIMER_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read8
	movq	_TIM_STOP@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_STAT_TX_TIMER_INI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sky2_clk2us
LBB0_3:
	movq	%rax, 40(%r14)
	movq	_STAT_TX_IDX_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read16
	movl	%eax, 32(%r14)
	movq	_STAT_LEV_TIMER_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read8
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movq	_STAT_LEV_TIMER_INI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sky2_clk2us
LBB0_6:
	movq	%rax, 24(%r14)
	movq	_STAT_FIFO_WM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read8
	movq	%rax, 16(%r14)
	movq	_STAT_ISR_TIMER_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read8
	cmpq	(%r15), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_8:
	movq	_STAT_ISR_TIMER_INI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sky2_clk2us
LBB0_9:
	movq	%rax, 8(%r14)
	movq	_STAT_FIFO_ISR_WM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sky2_read8
	movq	%rax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STAT_TX_TIMER_CTRL,4,2         ## @STAT_TX_TIMER_CTRL
	.comm	_TIM_STOP,8,3                   ## @TIM_STOP
	.comm	_STAT_TX_TIMER_INI,4,2          ## @STAT_TX_TIMER_INI
	.comm	_STAT_TX_IDX_TH,4,2             ## @STAT_TX_IDX_TH
	.comm	_STAT_LEV_TIMER_CTRL,4,2        ## @STAT_LEV_TIMER_CTRL
	.comm	_STAT_LEV_TIMER_INI,4,2         ## @STAT_LEV_TIMER_INI
	.comm	_STAT_FIFO_WM,4,2               ## @STAT_FIFO_WM
	.comm	_STAT_ISR_TIMER_CTRL,4,2        ## @STAT_ISR_TIMER_CTRL
	.comm	_STAT_ISR_TIMER_INI,4,2         ## @STAT_ISR_TIMER_INI
	.comm	_STAT_FIFO_ISR_WM,4,2           ## @STAT_FIFO_ISR_WM
	.no_dead_strip	_sky2_get_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_get_coalesce
_sky2_get_coalesce:                     ; @sky2_get_coalesce
	.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
	bl	_netdev_priv
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _STAT_TX_TIMER_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STAT_TX_TIMER_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read8
Lloh3:
	adrp	x21, _TIM_STOP@GOTPAGE
Lloh4:
	ldr	x21, [x21, _TIM_STOP@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, #0
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _STAT_TX_TIMER_INI@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STAT_TX_TIMER_INI@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read32
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_clk2us
LBB0_3:
	str	x0, [x19, #40]
Lloh8:
	adrp	x8, _STAT_TX_IDX_TH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STAT_TX_IDX_TH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read16
	str	w0, [x19, #32]
Lloh11:
	adrp	x8, _STAT_LEV_TIMER_CTRL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STAT_LEV_TIMER_CTRL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read8
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, #0
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _STAT_LEV_TIMER_INI@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STAT_LEV_TIMER_INI@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read32
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_clk2us
LBB0_6:
	str	x0, [x19, #24]
Lloh17:
	adrp	x8, _STAT_FIFO_WM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _STAT_FIFO_WM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read8
	str	x0, [x19, #16]
Lloh20:
	adrp	x8, _STAT_ISR_TIMER_CTRL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _STAT_ISR_TIMER_CTRL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read8
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, #0
	b	LBB0_9
LBB0_8:
Lloh23:
	adrp	x8, _STAT_ISR_TIMER_INI@GOTPAGE
Lloh24:
	ldr	x8, [x8, _STAT_ISR_TIMER_INI@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read32
	mov	x1, x0
	mov	x0, x20
	bl	_sky2_clk2us
LBB0_9:
	str	x0, [x19, #8]
Lloh26:
	adrp	x8, _STAT_FIFO_ISR_WM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _STAT_FIFO_ISR_WM@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_sky2_read8
	str	x0, [x19]
	mov	w0, #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
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_STAT_TX_TIMER_CTRL,4,2         ; @STAT_TX_TIMER_CTRL
	.comm	_TIM_STOP,8,3                   ; @TIM_STOP
	.comm	_STAT_TX_TIMER_INI,4,2          ; @STAT_TX_TIMER_INI
	.comm	_STAT_TX_IDX_TH,4,2             ; @STAT_TX_IDX_TH
	.comm	_STAT_LEV_TIMER_CTRL,4,2        ; @STAT_LEV_TIMER_CTRL
	.comm	_STAT_LEV_TIMER_INI,4,2         ; @STAT_LEV_TIMER_INI
	.comm	_STAT_FIFO_WM,4,2               ; @STAT_FIFO_WM
	.comm	_STAT_ISR_TIMER_CTRL,4,2        ; @STAT_ISR_TIMER_CTRL
	.comm	_STAT_ISR_TIMER_INI,4,2         ; @STAT_ISR_TIMER_INI
	.comm	_STAT_FIFO_ISR_WM,4,2           ; @STAT_FIFO_ISR_WM
	.no_dead_strip	_sky2_get_coalesce
.subsections_via_symbols
