	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skge_get_coalesce
_skge_get_coalesce:                     ## @skge_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	8(%rax), %rbx
	movslq	(%rax), %r12
	movq	$0, (%r14)
	movq	_B2_IRQM_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skge_read32
	movq	_TIM_START@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	_B2_IRQM_INI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skge_read32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skge_clk2usec
	movl	%eax, %r15d
	movq	_B2_IRQM_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_skge_read32
	movq	_rxirqmask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%eax, (%rcx,%r12,4)
	je	LBB0_3
## %bb.2:
	movl	%r15d, (%r14)
LBB0_3:
	movq	_txirqmask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testl	%eax, (%rcx,%r12,4)
	je	LBB0_5
## %bb.4:
	movl	%r15d, 4(%r14)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_B2_IRQM_CTRL,4,2               ## @B2_IRQM_CTRL
	.comm	_TIM_START,4,2                  ## @TIM_START
	.comm	_B2_IRQM_INI,4,2                ## @B2_IRQM_INI
	.comm	_B2_IRQM_MSK,4,2                ## @B2_IRQM_MSK
	.comm	_rxirqmask,8,3                  ## @rxirqmask
	.comm	_txirqmask,8,3                  ## @txirqmask
	.no_dead_strip	_skge_get_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skge_get_coalesce
_skge_get_coalesce:                     ; @skge_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, #8]
	ldrsw	x22, [x0]
	str	xzr, [x19]
Lloh0:
	adrp	x8, _B2_IRQM_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B2_IRQM_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_skge_read32
Lloh3:
	adrp	x8, _TIM_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIM_START@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.1:
Lloh6:
	adrp	x8, _B2_IRQM_INI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B2_IRQM_INI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_skge_read32
	mov	x1, x0
	mov	x0, x20
	bl	_skge_clk2usec
	mov	x21, x0
Lloh9:
	adrp	x8, _B2_IRQM_MSK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B2_IRQM_MSK@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_skge_read32
Lloh12:
	adrp	x8, _rxirqmask@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rxirqmask@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w8, [x8, x22, lsl #2]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	str	w21, [x19]
LBB0_3:
Lloh15:
	adrp	x8, _txirqmask@GOTPAGE
Lloh16:
	ldr	x8, [x8, _txirqmask@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w8, [x8, x22, lsl #2]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
	str	w21, [x19, #4]
LBB0_5:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_B2_IRQM_CTRL,4,2               ; @B2_IRQM_CTRL
	.comm	_TIM_START,4,2                  ; @TIM_START
	.comm	_B2_IRQM_INI,4,2                ; @B2_IRQM_INI
	.comm	_B2_IRQM_MSK,4,2                ; @B2_IRQM_MSK
	.comm	_rxirqmask,8,3                  ; @rxirqmask
	.comm	_txirqmask,8,3                  ; @txirqmask
	.no_dead_strip	_skge_get_coalesce
.subsections_via_symbols
