	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_up_ioqs
_get_up_ioqs:                           ## @get_up_ioqs
	.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
	movq	%rcx, %rbx
	leaq	-72(%rbp), %rdi
	movl	$32, %esi
	callq	_bzero
	movq	_IOQS_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, -72(%rbp)
	callq	_malloc
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	_CHELSIO_GET_UP_IOQS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_doit
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movl	-68(%rbp), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-64(%rbp), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-60(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-56(%rbp), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-72(%rbp), %r12d
	cmpl	$4, %r12d
	jl	LBB0_7
## %bb.5:
	shlq	$2, %r12
	andq	$-16, %r12
	leaq	L_.str.10(%rip), %rbx
	leaq	L_.str.11(%rip), %r14
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movl	(%rax,%r13), %edx
	leaq	L_.str.6(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	-48(%rbp), %rax
	movl	4(%rax,%r13), %edx
	leaq	L_.str.7(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	-48(%rbp), %rax
	movl	8(%rax,%r13), %edx
	leaq	L_.str.8(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	-48(%rbp), %rax
	movl	12(%rax,%r13), %edx
	leaq	L_.str.9(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	-48(%rbp), %rax
	movswl	14(%rax,%r13), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-48(%rbp), %rax
	movzwl	12(%rax,%r13), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	incl	%r15d
	addq	$16, %r13
	cmpq	%r13, %r12
	jne	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IOQS_BUFSIZE,4,2               ## @IOQS_BUFSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uP_IOQs malloc"

	.comm	_CHELSIO_GET_UP_IOQS,4,2        ## @CHELSIO_GET_UP_IOQS
L_.str.1:                               ## @.str.1
	.asciz	"uP_IOQs"

L_.str.2:                               ## @.str.2
	.asciz	"ioq_rx_enable   : 0x%08x\n"

L_.str.3:                               ## @.str.3
	.asciz	"ioq_tx_enable   : 0x%08x\n"

L_.str.4:                               ## @.str.4
	.asciz	"ioq_rx_status   : 0x%08x\n"

L_.str.5:                               ## @.str.5
	.asciz	"ioq_tx_status   : 0x%08x\n"

L_.str.6:                               ## @.str.6
	.asciz	"\nioq[%d].cp       : 0x%08x\n"

L_.str.7:                               ## @.str.7
	.asciz	"ioq[%d].pp       : 0x%08x\n"

L_.str.8:                               ## @.str.8
	.asciz	"ioq[%d].alen     : 0x%08x\n"

L_.str.9:                               ## @.str.9
	.asciz	"ioq[%d].stats    : 0x%08x\n"

L_.str.10:                              ## @.str.10
	.asciz	"  sop %u\n"

L_.str.11:                              ## @.str.11
	.asciz	"  eop %u\n"

	.no_dead_strip	_get_up_ioqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_up_ioqs
_get_up_ioqs:                           ; @get_up_ioqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x3
	add	x0, sp, #16
	mov	w1, #32
	bl	_bzero
Lloh0:
	adrp	x8, _IOQS_BUFSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IOQS_BUFSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	w0, [sp, #16]
	bl	_malloc
	str	x0, [sp, #40]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
Lloh5:
	adrp	x8, _CHELSIO_GET_UP_IOQS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CHELSIO_GET_UP_IOQS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #16
	mov	x0, x19
	bl	_doit
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldr	w1, [sp, #20]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #24]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #28]
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w1, [sp, #32]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	w8, [sp, #16]
	cmp	w8, #4
	b.lt	LBB0_7
; %bb.5:
	mov	x26, #0
	mov	w19, #0
	lsl	x8, x8, #2
	and	x27, x8, #0x3fffffff0
Lloh18:
	adrp	x20, l_.str.6@PAGE
Lloh19:
	add	x20, x20, l_.str.6@PAGEOFF
Lloh20:
	adrp	x21, l_.str.7@PAGE
Lloh21:
	add	x21, x21, l_.str.7@PAGEOFF
Lloh22:
	adrp	x22, l_.str.8@PAGE
Lloh23:
	add	x22, x22, l_.str.8@PAGEOFF
Lloh24:
	adrp	x23, l_.str.9@PAGE
Lloh25:
	add	x23, x23, l_.str.9@PAGEOFF
Lloh26:
	adrp	x24, l_.str.10@PAGE
Lloh27:
	add	x24, x24, l_.str.10@PAGEOFF
Lloh28:
	adrp	x25, l_.str.11@PAGE
Lloh29:
	add	x25, x25, l_.str.11@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #40]
	ldr	w8, [x8, x26]
	str	x8, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_printf
	ldr	x8, [sp, #40]
	add	x8, x8, x26
	ldr	w8, [x8, #4]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x19
	bl	_printf
	ldr	x8, [sp, #40]
	add	x8, x8, x26
	ldr	w8, [x8, #8]
	str	x8, [sp]
	mov	x0, x22
	mov	x1, x19
	bl	_printf
	ldr	x8, [sp, #40]
	add	x8, x8, x26
	ldr	w8, [x8, #12]
	str	x8, [sp]
	mov	x0, x23
	mov	x1, x19
	bl	_printf
	ldr	x8, [sp, #40]
	add	x8, x8, x26
	ldrsh	w1, [x8, #14]
	mov	x0, x24
	bl	_printf
	ldr	x8, [sp, #40]
	add	x8, x8, x26
	ldrh	w1, [x8, #12]
	mov	x0, x25
	bl	_printf
	add	w19, w19, #1
	add	x26, x26, #16
	cmp	x27, x26
	b.ne	LBB0_6
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IOQS_BUFSIZE,4,2               ; @IOQS_BUFSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uP_IOQs malloc"

	.comm	_CHELSIO_GET_UP_IOQS,4,2        ; @CHELSIO_GET_UP_IOQS
l_.str.1:                               ; @.str.1
	.asciz	"uP_IOQs"

l_.str.2:                               ; @.str.2
	.asciz	"ioq_rx_enable   : 0x%08x\n"

l_.str.3:                               ; @.str.3
	.asciz	"ioq_tx_enable   : 0x%08x\n"

l_.str.4:                               ; @.str.4
	.asciz	"ioq_rx_status   : 0x%08x\n"

l_.str.5:                               ; @.str.5
	.asciz	"ioq_tx_status   : 0x%08x\n"

l_.str.6:                               ; @.str.6
	.asciz	"\nioq[%d].cp       : 0x%08x\n"

l_.str.7:                               ; @.str.7
	.asciz	"ioq[%d].pp       : 0x%08x\n"

l_.str.8:                               ; @.str.8
	.asciz	"ioq[%d].alen     : 0x%08x\n"

l_.str.9:                               ; @.str.9
	.asciz	"ioq[%d].stats    : 0x%08x\n"

l_.str.10:                              ; @.str.10
	.asciz	"  sop %u\n"

l_.str.11:                              ; @.str.11
	.asciz	"  eop %u\n"

	.no_dead_strip	_get_up_ioqs
.subsections_via_symbols
