	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rx_schedule
_rx_schedule:                           ## @rx_schedule
	.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
	movl	%esi, %r14d
	movq	%rdi, %r13
	leaq	12(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_DBG_BUS@GOTPCREL(%rip), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_DATA_PORT_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13), %edx
	movq	%r13, %rdi
	movl	%r12d, %ecx
	callq	_rds_regb
	addl	%r12d, 8(%r13)
	xorl	%r14d, %r14d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %r12d
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_MAX_PIO_COUNT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movq	_DBG_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_PRINTD
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movq	_DBG_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MAX_TRANSFER_COUNT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jbe	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_PRINTD
	movq	_MAX_TRANSFER_COUNT@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movl	%r12d, (%r13)
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_8
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r13), %r12
	movl	16(%r13), %esi
	movq	%r13, %rdi
	callq	_FLUSH_RX_CHANNEL
	movl	16(%r13), %esi
	leaq	L_.str.3(%rip), %rdi
	movq	%r12, %rdx
	callq	_dump_skb
	movq	_DBG_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DBG_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_PRINTD
	movq	%r12, %rdi
	callq	_ATM_SKB
	movq	(%rax), %rbx
	movq	8(%rbx), %rdi
	callq	_atomic_inc
	movq	%r12, %rdi
	callq	___net_timestamp
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*(%rbx)
	movq	_DBG_BUS@GOTPCREL(%rip), %r15
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_MASTER_RX_COUNT_REG_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_wr_regl
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_YELLOW_LED_ON
	movq	_rx_busy@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	movq	_DBG_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%r14d, %r14d
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_PRINTD
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_PRINTD
	movl	$0, (%r13)
	testl	%r14d, %r14d
	je	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_MASTER_RX_COUNT_REG_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_wr_regl
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PIO_COUNT,4,2              ## @MAX_PIO_COUNT
	.comm	_DBG_RX,4,2                     ## @DBG_RX
	.comm	_DBG_BUS,4,2                    ## @DBG_BUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(pio)"

	.comm	_MAX_TRANSFER_COUNT,4,2         ## @MAX_TRANSFER_COUNT
L_.str.1:                               ## @.str.1
	.asciz	"(simple or last multi)"

L_.str.2:                               ## @.str.2
	.asciz	"(continuing multi)"

L_.str.3:                               ## @.str.3
	.asciz	"<<<"

	.comm	_DBG_SKB,4,2                    ## @DBG_SKB
L_.str.4:                               ## @.str.4
	.asciz	"push %p %u"

	.comm	_MASTER_RX_COUNT_REG_OFF,4,2    ## @MASTER_RX_COUNT_REG_OFF
	.comm	_DATA_PORT_OFF,4,2              ## @DATA_PORT_OFF
	.comm	_MASTER_RX_ADDR_REG_OFF,4,2     ## @MASTER_RX_ADDR_REG_OFF
	.comm	_rx_busy,4,2                    ## @rx_busy
L_.str.5:                               ## @.str.5
	.asciz	"cleared rx_busy for dev %p"

	.comm	_DBG_ERR,4,2                    ## @DBG_ERR
	.comm	_DBG_WARN,4,2                   ## @DBG_WARN
	.comm	_spin_count,4,2                 ## @spin_count
	.no_dead_strip	_rx_schedule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rx_schedule
_rx_schedule:                           ; @rx_schedule
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x27, x1
	mov	x19, x0
	add	x20, x0, #12
Lloh0:
	adrp	x25, _DBG_RX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _DBG_RX@GOTPAGEOFF]
Lloh2:
	adrp	x21, _MASTER_RX_COUNT_REG_OFF@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MASTER_RX_COUNT_REG_OFF@GOTPAGEOFF]
Lloh4:
	adrp	x22, _MAX_PIO_COUNT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _MAX_PIO_COUNT@GOTPAGEOFF]
Lloh6:
	adrp	x26, _MAX_TRANSFER_COUNT@GOTPAGE
Lloh7:
	ldr	x26, [x26, _MAX_TRANSFER_COUNT@GOTPAGEOFF]
Lloh8:
	adrp	x23, _DBG_BUS@GOTPAGE
Lloh9:
	ldr	x23, [x23, _DBG_BUS@GOTPAGEOFF]
	ldr	w28, [x19]
	cbnz	w28, LBB0_2
	b	LBB0_9
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh10:
	adrp	x8, _DATA_PORT_OFF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DATA_PORT_OFF@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	mov	x3, x28
	bl	_rds_regb
	mov	w27, #0
	ldr	w8, [x19, #8]
	add	w8, w8, w28
	str	w8, [x19, #8]
	ldr	w28, [x19]
	cbz	w28, LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w28, w8
	b.hi	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x23]
	orr	w0, w9, w8
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PRINTD
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x25]
	ldr	w10, [x23]
	orr	w0, w10, w9
	cmp	w28, w8
	b.ls	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_PRINTD
	ldr	w8, [x26]
	sub	w8, w28, w8
	str	w8, [x19]
	ldr	w28, [x26]
	cbz	w28, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w27, LBB0_8
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_PRINTD
	str	wzr, [x19]
	cbz	w27, LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_wr_regl
	b	LBB0_1
LBB0_9:
	ldr	x28, [x19, #24]
	ldr	w1, [x19, #16]
	mov	x0, x19
	bl	_FLUSH_RX_CHANNEL
	ldr	w1, [x19, #16]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x2, x28
	bl	_dump_skb
	ldr	w8, [x25]
Lloh21:
	adrp	x9, _DBG_SKB@GOTPAGE
Lloh22:
	ldr	x9, [x9, _DBG_SKB@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldp	w9, w8, [x28]
	stp	x8, x9, [sp]
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_PRINTD
	mov	x0, x28
	bl	_ATM_SKB
	ldr	x24, [x0]
	ldr	x0, [x24, #8]
	bl	_atomic_inc
	mov	x0, x28
	bl	___net_timestamp
	ldr	x8, [x24]
	mov	x0, x24
	mov	x1, x28
	blr	x8
LBB0_10:
	cbz	w27, LBB0_12
; %bb.11:
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_wr_regl
LBB0_12:
	mov	x0, x19
	bl	_YELLOW_LED_ON
Lloh26:
	adrp	x8, _rx_busy@GOTPAGE
Lloh27:
	ldr	x8, [x8, _rx_busy@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
	ldr	w0, [x25]
	str	x19, [sp]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_PRINTD
	mov	w27, #0
	ldr	w28, [x19]
	cbnz	w28, LBB0_2
	b	LBB0_9
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PIO_COUNT,4,2              ; @MAX_PIO_COUNT
	.comm	_DBG_RX,4,2                     ; @DBG_RX
	.comm	_DBG_BUS,4,2                    ; @DBG_BUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(pio)"

	.comm	_MAX_TRANSFER_COUNT,4,2         ; @MAX_TRANSFER_COUNT
l_.str.1:                               ; @.str.1
	.asciz	"(simple or last multi)"

l_.str.2:                               ; @.str.2
	.asciz	"(continuing multi)"

l_.str.3:                               ; @.str.3
	.asciz	"<<<"

	.comm	_DBG_SKB,4,2                    ; @DBG_SKB
l_.str.4:                               ; @.str.4
	.asciz	"push %p %u"

	.comm	_MASTER_RX_COUNT_REG_OFF,4,2    ; @MASTER_RX_COUNT_REG_OFF
	.comm	_DATA_PORT_OFF,4,2              ; @DATA_PORT_OFF
	.comm	_MASTER_RX_ADDR_REG_OFF,4,2     ; @MASTER_RX_ADDR_REG_OFF
	.comm	_rx_busy,4,2                    ; @rx_busy
l_.str.5:                               ; @.str.5
	.asciz	"cleared rx_busy for dev %p"

	.comm	_DBG_ERR,4,2                    ; @DBG_ERR
	.comm	_DBG_WARN,4,2                   ; @DBG_WARN
	.comm	_spin_count,4,2                 ; @spin_count
	.no_dead_strip	_rx_schedule
.subsections_via_symbols
