	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function genesis_get_stats
_genesis_get_stats:                     ## @genesis_get_stats
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	8(%rdi), %r15
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movq	_HZ@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	addq	(%rcx), %r12
	movl	(%rdi), %r13d
	movq	_XM_STAT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_XM_SC_SNP_TXC@GOTPCREL(%rip), %rax
	movq	_XM_SC_SNP_RXC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_xm_write16
	movq	_XM_STAT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_xm_read16
	movl	(%rbx), %ecx
	movq	_XM_SC_SNP_TXC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.1:
	movq	%rdx, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r12, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	_XM_STAT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_xm_read16
	movq	_XM_SC_SNP_RXC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rbx), %ecx
	testl	%eax, %ecx
	jne	LBB0_2
LBB0_4:
	movq	_XM_TXO_OK_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_xm_read32
	movq	_XM_TXO_OK_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_xm_read32
	movq	_XM_RXO_OK_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_xm_read32
	movq	_XM_RXO_OK_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_xm_read32
	movq	_skge_stats@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	$3, %eax
	jl	LBB0_7
## %bb.5:
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_xm_read32
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.comm	_XM_STAT_CMD,4,2                ## @XM_STAT_CMD
	.comm	_XM_SC_SNP_TXC,4,2              ## @XM_SC_SNP_TXC
	.comm	_XM_SC_SNP_RXC,4,2              ## @XM_SC_SNP_RXC
	.comm	_XM_TXO_OK_HI,4,2               ## @XM_TXO_OK_HI
	.comm	_XM_TXO_OK_LO,4,2               ## @XM_TXO_OK_LO
	.comm	_XM_RXO_OK_HI,4,2               ## @XM_RXO_OK_HI
	.comm	_XM_RXO_OK_LO,4,2               ## @XM_RXO_OK_LO
	.comm	_skge_stats,8,3                 ## @skge_stats
	.no_dead_strip	_genesis_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function genesis_get_stats
_genesis_get_stats:                     ; @genesis_get_stats
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldr	x20, [x0, #8]
	ldr	w21, [x0]
Lloh0:
	adrp	x23, _jiffies@GOTPAGE
Lloh1:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
Lloh2:
	adrp	x8, _HZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
	ldr	x22, [x23]
Lloh4:
	ldr	x27, [x8]
Lloh5:
	adrp	x24, _XM_STAT_CMD@GOTPAGE
Lloh6:
	ldr	x24, [x24, _XM_STAT_CMD@GOTPAGEOFF]
Lloh7:
	adrp	x25, _XM_SC_SNP_TXC@GOTPAGE
Lloh8:
	ldr	x25, [x25, _XM_SC_SNP_TXC@GOTPAGEOFF]
	ldr	w2, [x24]
	ldr	w8, [x25]
Lloh9:
	adrp	x26, _XM_SC_SNP_RXC@GOTPAGE
Lloh10:
	ldr	x26, [x26, _XM_SC_SNP_RXC@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w3, w9, w8
	mov	x0, x20
	mov	x1, x21
	bl	_xm_write16
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read16
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_4
; %bb.1:
	add	x22, x27, x22
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	mov	x1, x22
	bl	_time_after
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #10
	bl	_udelay
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read16
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w8, w9, w8
	tst	w8, w0
	b.ne	LBB0_2
LBB0_4:
Lloh11:
	adrp	x8, _XM_TXO_OK_HI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XM_TXO_OK_HI@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read32
Lloh14:
	adrp	x8, _XM_TXO_OK_LO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XM_TXO_OK_LO@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read32
Lloh17:
	adrp	x8, _XM_RXO_OK_HI@GOTPAGE
Lloh18:
	ldr	x8, [x8, _XM_RXO_OK_HI@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read32
Lloh20:
	adrp	x8, _XM_RXO_OK_LO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _XM_RXO_OK_LO@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read32
Lloh23:
	adrp	x22, _skge_stats@GOTPAGE
Lloh24:
	ldr	x22, [x22, _skge_stats@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #3
	b.lt	LBB0_7
; %bb.5:
	mov	w23, #2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	lsl	x24, x23, #2
	ldr	w2, [x8, x24]
	mov	x0, x20
	mov	x1, x21
	bl	_xm_read32
	str	w0, [x19, x24]
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.comm	_XM_STAT_CMD,4,2                ; @XM_STAT_CMD
	.comm	_XM_SC_SNP_TXC,4,2              ; @XM_SC_SNP_TXC
	.comm	_XM_SC_SNP_RXC,4,2              ; @XM_SC_SNP_RXC
	.comm	_XM_TXO_OK_HI,4,2               ; @XM_TXO_OK_HI
	.comm	_XM_TXO_OK_LO,4,2               ; @XM_TXO_OK_LO
	.comm	_XM_RXO_OK_HI,4,2               ; @XM_RXO_OK_HI
	.comm	_XM_RXO_OK_LO,4,2               ; @XM_RXO_OK_LO
	.comm	_skge_stats,8,3                 ; @skge_stats
	.no_dead_strip	_genesis_get_stats
.subsections_via_symbols
