	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_user_sdma_push_pkts
_qib_user_sdma_push_pkts:               ## @qib_user_sdma_push_pkts
	.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	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_QIBL_LINKACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r14), %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_ECOMM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rax
	cmpl	$2, (%rax)
	jl	LBB0_7
## %bb.3:
	leaq	4(%r14), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	callq	___qib_sdma_running
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_1
LBB0_7:
	addl	%r12d, (%rbx)
	leaq	4(%r14), %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	callq	___qib_sdma_running
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qib_user_sdma_send_desc
	movq	%r15, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_qib_sdma_make_progress
	jmp	LBB0_12
LBB0_9:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_1
LBB0_6:
	addl	%r12d, (%rbx)
	leaq	8(%r14), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_list_splice_tail_init
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qib_user_sdma_send_desc
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_QIBL_LINKACTIVE,4,2            ## @QIBL_LINKACTIVE
	.comm	_ECOMM,4,2                      ## @ECOMM
	.no_dead_strip	_qib_user_sdma_push_pkts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_user_sdma_push_pkts
_qib_user_sdma_push_pkts:               ; @qib_user_sdma_push_pkts
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _QIBL_LINKACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QIBL_LINKACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_1:
Lloh3:
	adrp	x8, _ECOMM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECOMM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.4:
	add	x23, x19, #4
	mov	x0, x23
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	___qib_sdma_running
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.5:
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	b	LBB0_1
LBB0_6:
	ldr	w8, [x21]
	add	w8, w8, w22
	str	w8, [x21]
	add	x21, x19, #4
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_list_empty
	cbnz	w0, LBB0_13
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	___qib_sdma_running
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_qib_user_sdma_send_desc
	mov	x0, x20
	bl	_list_empty
	cbnz	w0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_qib_sdma_make_progress
	b	LBB0_7
LBB0_11:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	b	LBB0_1
LBB0_12:
	ldr	w8, [x21]
	add	w8, w8, w22
	str	w8, [x21]
	add	x21, x19, #8
	mov	x0, x20
	mov	x1, x21
	bl	_list_splice_tail_init
	mov	x0, x19
	mov	x1, x21
	bl	_qib_user_sdma_send_desc
	mov	x0, x23
	bl	_spin_unlock_irqrestore
LBB0_13:
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QIBL_LINKACTIVE,4,2            ; @QIBL_LINKACTIVE
	.comm	_ECOMM,4,2                      ; @ECOMM
	.no_dead_strip	_qib_user_sdma_push_pkts
.subsections_via_symbols
