	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_get_lump
_i40e_get_lump:                         ## @i40e_get_lump
	.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, %r8d
	movl	%edx, %r14d
	xorl	%r15d, %r15d
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.2:
	movq	_I40E_PILE_VALID_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%r8d, %ecx
	jle	LBB0_17
## %bb.3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	(%rsi), %eax
	movslq	4(%rsi), %rdi
	cmpl	%edi, %eax
	jge	LBB0_18
## %bb.4:
	movq	8(%rsi), %r11
	movslq	%r14d, %r10
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%eax
	cmpl	%edi, %eax
	jge	LBB0_18
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movslq	%eax, %r12
	testl	%ecx, (%r11,%r12,4)
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%edi, %eax
	movl	%edi, %r13d
	cmovgl	%eax, %r13d
	subl	%eax, %r13d
	leaq	(%r11,%r12,4), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%r12,%rbx), %r9
	cmpq	%rdi, %r9
	jge	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	testl	%ecx, (%rdx,%rbx,4)
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	incq	%rbx
	cmpq	%rbx, %r10
	jne	LBB0_9
	jmp	LBB0_19
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r13d, %r13d
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%r14d, %r13d
	jne	LBB0_15
	jmp	LBB0_19
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %r13d
	cmpl	%r14d, %r13d
	je	LBB0_19
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	%r13d, %eax
	cmpl	%edi, %eax
	jl	LBB0_6
	jmp	LBB0_18
LBB0_17:
	testq	%rsi, %rsi
	movq	(%rdi), %rdi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_dev_info
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_18:
	movl	%r15d, %eax
LBB0_41:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	testl	%r14d, %r14d
	jle	LBB0_23
## %bb.20:
	orl	%r8d, %ecx
	movl	%ecx, (%r11,%r12,4)
	cmpl	$1, %r14d
	je	LBB0_40
## %bb.21:
	movl	%r14d, %r10d
	leaq	-1(%r10), %r13
	movl	$1, %edi
	cmpq	$8, %r13
	jae	LBB0_24
## %bb.22:
	movq	_I40E_PILE_VALID_BIT@GOTPCREL(%rip), %rbx
	jmp	LBB0_34
LBB0_23:
	xorl	%r14d, %r14d
	jmp	LBB0_40
LBB0_24:
	leaq	(%r11,%r12,4), %rcx
	addq	$4, %rcx
	movq	_I40E_PILE_VALID_BIT@GOTPCREL(%rip), %rbx
	leaq	4(%rbx), %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_26
## %bb.25:
	leaq	(%r12,%r10), %rcx
	leaq	(%r11,%rcx,4), %rcx
	cmpq	_I40E_PILE_VALID_BIT@GOTPCREL(%rip), %rcx
	ja	LBB0_34
LBB0_26:
	movq	%r13, %rdi
	andq	$-8, %rdi
	leaq	-8(%rdi), %rcx
	movq	%rcx, %r15
	shrq	$3, %r15
	incq	%r15
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.27:
	movq	%r15, %rbx
	andq	$-2, %rbx
	movq	_I40E_PILE_VALID_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%r8d, %ecx
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	(%r11,%r12,4), %rcx
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rcx,%rdx,4)
	movdqu	%xmm0, 16(%rcx,%rdx,4)
	movdqu	%xmm0, 32(%rcx,%rdx,4)
	movdqu	%xmm0, 48(%rcx,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rbx
	jne	LBB0_28
	jmp	LBB0_30
LBB0_29:
	movl	$1, %edx
LBB0_30:
	testb	$1, %r15b
	movq	_I40E_PILE_VALID_BIT@GOTPCREL(%rip), %rbx
	je	LBB0_32
## %bb.31:
	movl	(%rbx), %ecx
	orl	%r8d, %ecx
	movd	%ecx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	addq	%r12, %rdx
	movdqu	%xmm0, (%r11,%rdx,4)
	movdqu	%xmm0, 16(%r11,%rdx,4)
LBB0_32:
	cmpq	%rdi, %r13
	je	LBB0_40
## %bb.33:
	orq	$1, %rdi
LBB0_34:
	movl	%r10d, %edx
	subl	%edi, %edx
	movq	%rdi, %r9
	notq	%r9
	addq	%r10, %r9
	andq	$3, %rdx
	je	LBB0_37
## %bb.35:
	leaq	(%r11,%r12,4), %r15
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	orl	%r8d, %ecx
	movl	%ecx, (%r15,%rdi,4)
	incq	%rdi
	decq	%rdx
	jne	LBB0_36
LBB0_37:
	cmpq	$3, %r9
	jb	LBB0_40
## %bb.38:
	leaq	(%r11,%r12,4), %rcx
	addq	$12, %rcx
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	orl	%r8d, %edx
	movl	%edx, -12(%rcx,%rdi,4)
	movl	(%rbx), %edx
	orl	%r8d, %edx
	movl	%edx, -8(%rcx,%rdi,4)
	movl	(%rbx), %edx
	orl	%r8d, %edx
	movl	%edx, -4(%rcx,%rdi,4)
	movl	(%rbx), %edx
	orl	%r8d, %edx
	movl	%edx, (%rcx,%rdi,4)
	addq	$4, %rdi
	cmpq	%rdi, %r10
	jne	LBB0_39
LBB0_40:
	addl	%eax, %r14d
	movl	%r14d, (%rsi)
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_I40E_PILE_VALID_BIT,4,2        ## @I40E_PILE_VALID_BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"param err: pile=%s needed=%d id=0x%04x\n"

L_.str.1:                               ## @.str.1
	.asciz	"<valid>"

L_.str.2:                               ## @.str.2
	.asciz	"<null>"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_i40e_get_lump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_get_lump
_i40e_get_lump:                         ; @i40e_get_lump
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x4, x3
	mov	x3, x2
	cbz	x1, LBB0_17
; %bb.1:
	cbz	w3, LBB0_17
; %bb.2:
Lloh0:
	adrp	x8, _I40E_PILE_VALID_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_PILE_VALID_BIT@GOTPAGEOFF]
	ldr	w10, [x8]
	cmp	w10, w4
	b.le	LBB0_17
; %bb.3:
Lloh2:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	neg	w11, w9
	ldp	w0, w12, [x1]
	cmp	w0, w12
	b.ge	LBB0_16
; %bb.4:
	ldr	x9, [x1, #8]
	sxtw	x13, w3
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w0, w0, #1
	cmp	w0, w12
	b.ge	LBB0_16
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w14, [x9, w0, sxtw #2]
	tst	w14, w10
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtw	x14, w0
	cmp	w3, #1
	b.lt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x16, #0
	cmp	w0, w12
	csel	w17, w0, w12, gt
	sub	w15, w17, w0
	sxtw	x17, w17
	sub	x17, x17, x14
	add	x2, x9, x14, lsl #2
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x17, x16
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w5, [x2, x16, lsl #2]
	tst	w5, w10
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x16, x16, #1
	cmp	x13, x16
	b.ne	LBB0_9
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w15, #0
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w15, w3
	b.ne	LBB0_15
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x15, x16
	cmp	w15, w3
	b.eq	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w0, w15, w0
	cmp	w0, w12
	b.lt	LBB0_6
LBB0_16:
	mov	x0, x11
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	x0, [x0]
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x1, #0
	csel	x2, x9, x8, eq
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_dev_info
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_18:
	cmp	w3, #1
	b.lt	LBB0_26
; %bb.19:
	orr	w10, w10, w4
	str	w10, [x9, x14, lsl #2]
	cmp	w3, #1
	b.eq	LBB0_27
; %bb.20:
	mov	w10, w3
	sub	x11, x10, #1
	cmp	x11, #16
	b.lo	LBB0_23
; %bb.21:
	add	x15, x9, x14, lsl #2
	add	x12, x15, #4
	add	x13, x8, #4
	cmp	x12, x13
	b.hs	LBB0_28
; %bb.22:
	add	x12, x14, x10
	add	x12, x9, x12, lsl #2
	cmp	x12, x8
	b.ls	LBB0_28
LBB0_23:
	mov	w12, #1
LBB0_24:
	sub	x10, x10, x12
	add	x11, x12, w0, sxtw
	add	x9, x9, x11, lsl #2
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	orr	w11, w11, w4
	str	w11, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_25
	b	LBB0_27
LBB0_26:
	mov	w3, #0
LBB0_27:
	add	w8, w3, w0
	str	w8, [x1]
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_28:
	and	x13, x11, #0xfffffffffffffff0
	orr	x12, x13, #0x1
	ldr	w14, [x8]
	orr	w14, w14, w4
	dup.4s	v0, w14
	add	x14, x15, #36
	mov	x15, x13
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x14, #-32]
	stp	q0, q0, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_29
; %bb.30:
	cmp	x11, x13
	b.eq	LBB0_27
	b	LBB0_24
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_I40E_PILE_VALID_BIT,4,2        ; @I40E_PILE_VALID_BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"param err: pile=%s needed=%d id=0x%04x\n"

l_.str.1:                               ; @.str.1
	.asciz	"<valid>"

l_.str.2:                               ; @.str.2
	.asciz	"<null>"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_i40e_get_lump
.subsections_via_symbols
