	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_rx_oom_poll_fn           ## -- Begin function setup_rx_oom_poll_fn
	.p2align	4, 0x90
_setup_rx_oom_poll_fn:                  ## @setup_rx_oom_poll_fn
	.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
	callq	_GET_LIO
	movq	%rax, %r12
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %r13
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %r14d
	movslq	%r14d, %r15
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	callq	_alloc_workqueue
	shlq	$5, %r15
	movl	%eax, 24(%r13,%r15)
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%r13), %rdi
	addq	$16, %rdi
	movq	_octnet_poll_check_rxq_oom_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	%r12, 8(%r13,%r15)
	movl	%r14d, (%r13,%r15)
	incq	%rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rxq-oom-status"

	.comm	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
L_.str.1:                               ## @.str.1
	.asciz	"unable to create cavium rxq oom status wq\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_octnet_poll_check_rxq_oom_status,4,2 ## @octnet_poll_check_rxq_oom_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_rx_oom_poll_fn           ; -- Begin function setup_rx_oom_poll_fn
	.p2align	2
_setup_rx_oom_poll_fn:                  ; @setup_rx_oom_poll_fn
	.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
	bl	_GET_LIO
	ldr	x21, [x0, #16]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x22, #0
Lloh0:
	adrp	x23, _WQ_MEM_RECLAIM@GOTPAGE
Lloh1:
	ldr	x23, [x23, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh2:
	adrp	x24, _octnet_poll_check_rxq_oom_status@GOTPAGE
Lloh3:
	ldr	x24, [x24, _octnet_poll_check_rxq_oom_status@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x26, x8, [x19]
	ldr	w25, [x8, x22, lsl #2]
	sxtw	x27, w25
	ldr	w1, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_alloc_workqueue
	add	x26, x26, x27, lsl #5
	str	w0, [x26, #24]
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x26, #16
	ldr	w1, [x24]
	bl	_INIT_DELAYED_WORK
	str	x19, [x26, #8]
	str	w25, [x26]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	ldr	x0, [x21, #8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rxq-oom-status"

	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
l_.str.1:                               ; @.str.1
	.asciz	"unable to create cavium rxq oom status wq\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_octnet_poll_check_rxq_oom_status,4,2 ; @octnet_poll_check_rxq_oom_status
.subsections_via_symbols
