	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_update_sbq
_ql_update_sbq:                         ## @ql_update_sbq
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$17, 8(%rsi)
	jl	LBB0_12
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, (%r12)
	movslq	24(%r12), %rcx
	addq	$16, %rcx
	cmpq	%rcx, %rax
	movl	$0, %eax
	cmovel	%eax, %ecx
	movl	%ecx, 24(%r12)
	movl	8(%r12), %eax
	leal	-16(%rax), %ecx
	movl	%ecx, 8(%r12)
	cmpl	$32, %eax
	jle	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movl	%ebx, %r14d
	orl	$-16, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	_mapaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_pci_unmap_addr_set
	movq	_maplen@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r15), %edx
	movq	%r13, %rdi
	callq	_pci_unmap_len_set
	movl	%r12d, %edi
	callq	_cpu_to_le64
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %r12
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	incq	%rbx
	movq	16(%r12), %rax
	cmpq	%rax, %rbx
	movl	$0, %ecx
	cmoveq	%rcx, %rbx
	incl	%r14d
	je	LBB0_10
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	40(%r12), %r13
	leaq	(%rbx,%rbx,2), %r15
	movq	_rx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %ecx
	leaq	L_.str(%rip), %r8
	movq	%rbx, %r9
	callq	_netif_printk
	cmpq	$0, 16(%r13,%r15,8)
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r13,%r15,8), %r13
	movq	_rx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %ecx
	movq	(%r13), %r9
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %r8
	callq	_netif_printk
	movl	(%r15), %edi
	movq	_SMALL_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_netdev_alloc_skb
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	_QLGE_SB_PAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_skb_reserve
	movl	4(%r15), %edi
	movq	16(%r13), %rax
	movl	(%rax), %esi
	movl	32(%r12), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_map_single
	movq	%r15, %rcx
	movq	%r12, %r15
	movl	%eax, %r12d
	movl	4(%rcx), %edi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %edx
	leaq	L_.str.3(%rip), %rcx
	callq	_netif_err
	movq	%rbx, (%r15)
	movq	16(%r13), %rdi
	callq	_dev_kfree_skb_any
	movq	$0, 16(%r13)
	jmp	LBB0_12
LBB0_5:
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	callq	_netif_err
	movq	%rbx, (%r12)
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_12
## %bb.13:
	movq	_rx_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_KERN_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rdi), %ecx
	movslq	24(%r12), %r9
	leaq	L_.str.4(%rip), %r8
	callq	_netif_printk
	movslq	24(%r12), %rdi
	movl	28(%r12), %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ql_write_db_reg                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rx_status,4,2                  ## @rx_status
	.comm	_KERN_DEBUG,4,2                 ## @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sbq: try cleaning clean_idx = %d.\n"

L_.str.1:                               ## @.str.1
	.asciz	"sbq: getting new skb for index %d.\n"

	.comm	_SMALL_BUFFER_SIZE,4,2          ## @SMALL_BUFFER_SIZE
	.comm	_probe,4,2                      ## @probe
L_.str.2:                               ## @.str.2
	.asciz	"Couldn't get an skb.\n"

	.comm	_QLGE_SB_PAD,4,2                ## @QLGE_SB_PAD
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_ifup,4,2                       ## @ifup
L_.str.3:                               ## @.str.3
	.asciz	"PCI mapping failed.\n"

	.comm	_mapaddr,4,2                    ## @mapaddr
	.comm	_maplen,4,2                     ## @maplen
L_.str.4:                               ## @.str.4
	.asciz	"sbq: updating prod idx = %d.\n"

	.no_dead_strip	_ql_update_sbq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_update_sbq
_ql_update_sbq:                         ; @ql_update_sbq
	.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
	ldr	w8, [x1, #8]
	cmp	w8, #17
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x1]
Lloh0:
	adrp	x25, _rx_status@GOTPAGE
Lloh1:
	ldr	x25, [x25, _rx_status@GOTPAGEOFF]
Lloh2:
	adrp	x28, _KERN_DEBUG@GOTPAGE
Lloh3:
	ldr	x28, [x28, _KERN_DEBUG@GOTPAGEOFF]
Lloh4:
	adrp	x26, l_.str@PAGE
Lloh5:
	add	x26, x26, l_.str@PAGEOFF
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [x19]
	ldrsw	x9, [x19, #24]
	add	x9, x9, #16
	cmp	x8, x9
	csel	w8, wzr, w9, eq
	str	w8, [x19, #24]
	ldr	w8, [x19, #8]
	sub	w9, w8, #16
	str	w9, [x19, #8]
	cmp	w8, #32
	b.le	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	orr	w23, w21, #0xfffffff0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
Lloh6:
	adrp	x8, _mapaddr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mapaddr@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x27
	mov	x2, x25
	bl	_pci_unmap_addr_set
Lloh9:
	adrp	x8, _maplen@GOTPAGE
Lloh10:
	ldr	x8, [x8, _maplen@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x19, #32]
	mov	x0, x27
	bl	_pci_unmap_len_set
	mov	x0, x25
	bl	_cpu_to_le64
	mov	w8, #24
	madd	x8, x21, x8, x22
	ldr	x8, [x8, #8]
	str	w0, [x8]
	mov	x25, x28
	mov	x28, x26
Lloh12:
	adrp	x26, l_.str@PAGE
Lloh13:
	add	x26, x26, l_.str@PAGEOFF
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x9, x21, #1
	ldr	x8, [x19, #16]
	cmp	x9, x8
	csinc	x21, xzr, x21, eq
	adds	w23, w23, #1
	b.hs	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x22, [x19, #40]
	mov	w8, #24
	madd	x27, x21, x8, x22
	ldr	w1, [x25]
	ldr	w2, [x28]
	ldr	w3, [x20]
	mov	x0, x20
	mov	x4, x26
	mov	x5, x21
	bl	_netif_printk
	mov	x24, x27
	ldr	x8, [x24, #16]!
	cbnz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w1, [x25]
	ldr	w2, [x28]
	ldr	w3, [x20]
	ldr	x5, [x27]
	mov	x0, x20
Lloh14:
	adrp	x4, l_.str.1@PAGE
Lloh15:
	add	x4, x4, l_.str.1@PAGEOFF
	bl	_netif_printk
	ldr	w0, [x20]
Lloh16:
	adrp	x8, _SMALL_BUFFER_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SMALL_BUFFER_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_netdev_alloc_skb
	str	x0, [x24]
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x26, x28
	mov	x28, x25
Lloh19:
	adrp	x8, _QLGE_SB_PAD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _QLGE_SB_PAD@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_skb_reserve
	ldr	w0, [x20, #4]
	ldr	x8, [x24]
	ldr	w1, [x8]
	ldr	w2, [x19, #32]
Lloh22:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	bl	_pci_map_single
	mov	x25, x0
	ldr	w0, [x20, #4]
	mov	x1, x25
	bl	_pci_dma_mapping_error
	cbz	x0, LBB0_4
; %bb.9:
Lloh25:
	adrp	x8, _ifup@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh28:
	adrp	x3, l_.str.3@PAGE
Lloh29:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_netif_err
	str	x21, [x19]
	ldr	x0, [x24]
	bl	_dev_kfree_skb_any
	str	xzr, [x24]
	b	LBB0_11
LBB0_10:
Lloh30:
	adrp	x8, _probe@GOTPAGE
Lloh31:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	ldr	w2, [x20]
Lloh33:
	adrp	x3, l_.str.2@PAGE
Lloh34:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_netif_err
	str	x21, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x8, x21
	b.eq	LBB0_11
; %bb.13:
	ldr	w1, [x25]
	ldr	w2, [x28]
	ldr	w3, [x20]
	ldrsw	x5, [x19, #24]
Lloh35:
	adrp	x4, l_.str.4@PAGE
Lloh36:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_netif_printk
	ldp	w0, w1, [x19, #24]
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ql_write_db_reg
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_rx_status,4,2                  ; @rx_status
	.comm	_KERN_DEBUG,4,2                 ; @KERN_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sbq: try cleaning clean_idx = %d.\n"

l_.str.1:                               ; @.str.1
	.asciz	"sbq: getting new skb for index %d.\n"

	.comm	_SMALL_BUFFER_SIZE,4,2          ; @SMALL_BUFFER_SIZE
	.comm	_probe,4,2                      ; @probe
l_.str.2:                               ; @.str.2
	.asciz	"Couldn't get an skb.\n"

	.comm	_QLGE_SB_PAD,4,2                ; @QLGE_SB_PAD
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_ifup,4,2                       ; @ifup
l_.str.3:                               ; @.str.3
	.asciz	"PCI mapping failed.\n"

	.comm	_mapaddr,4,2                    ; @mapaddr
	.comm	_maplen,4,2                     ; @maplen
l_.str.4:                               ; @.str.4
	.asciz	"sbq: updating prod idx = %d.\n"

	.no_dead_strip	_ql_update_sbq
.subsections_via_symbols
