	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_lifs_size                ## -- Begin function ionic_lifs_size
	.p2align	4, 0x90
_ionic_lifs_size:                       ## @ionic_lifs_size
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	40(%rdi), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	24(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, %r13d
	movq	32(%r14), %rax
	movq	_IONIC_QTYPE_NOTIFYQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movq	32(%r14), %rax
	movq	_IONIC_QTYPE_TXQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	32(%r14), %rax
	movq	_IONIC_QTYPE_RXQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_le32_to_cpu
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_min
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_num_online_cpus
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_min
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_num_online_cpus
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_min
                                        ## kill: def $eax killed $eax def $rax
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leal	1(%r12), %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	(%rcx,%rax), %r12d
	cmpl	%r15d, %r12d
	ja	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=2
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_ionic_bus_alloc_irq_vectors
	movl	%eax, %r13d
	xorl	%eax, %eax
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	testl	%r13d, %r13d
	jns	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	%eax, %r13d
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=2
	cmpl	%eax, %r13d
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	%r12d, %r13d
	je	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	%r14, %rdi
	callq	_ionic_bus_free_irq_vectors
LBB0_10:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_2 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpl	$2, %ebx
	jb	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=3
	shrl	%ebx
	cmpl	%r15d, %r12d
	jbe	LBB0_4
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$2, %eax
	jb	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=2
	shrl	%eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	cmpl	$2, %r12d
	jb	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	shrl	%r12d
	jmp	LBB0_1
LBB0_6:
	movl	20(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_dev_err
	jmp	LBB0_17
LBB0_18:
	movl	%ebx, (%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 4(%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 8(%r14)
	movl	%eax, 12(%r14)
	movl	%r12d, 16(%r14)
	movq	%r14, %rdi
	callq	_ionic_debugfs_add_sizes
	xorl	%r13d, %r13d
LBB0_17:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	20(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edx
	callq	_dev_err
	xorl	%r13d, %r13d
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_IONIC_QTYPE_NOTIFYQ,8,3        ## @IONIC_QTYPE_NOTIFYQ
	.comm	_IONIC_QTYPE_TXQ,8,3            ## @IONIC_QTYPE_TXQ
	.comm	_IONIC_QTYPE_RXQ,8,3            ## @IONIC_QTYPE_RXQ
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't get intrs from OS: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Can't get minimum %d intrs from OS\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ionic_lifs_size                ; -- Begin function ionic_lifs_size
	.p2align	2
_ionic_lifs_size:                       ; @ionic_lifs_size
	.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
	mov	x19, x0
	ldr	w0, [x0, #40]
	bl	_le32_to_cpu
	mov	x20, x0
	ldr	w0, [x19, #24]
	bl	_le32_to_cpu
	mov	x23, x0
	ldr	x8, [x19, #32]
Lloh0:
	adrp	x9, _IONIC_QTYPE_NOTIFYQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IONIC_QTYPE_NOTIFYQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_le32_to_cpu
	mov	x21, x0
	ldr	x8, [x19, #32]
Lloh3:
	adrp	x9, _IONIC_QTYPE_TXQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IONIC_QTYPE_TXQ@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_le32_to_cpu
	mov	x22, x0
	ldr	x8, [x19, #32]
Lloh6:
	adrp	x9, _IONIC_QTYPE_RXQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IONIC_QTYPE_RXQ@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_le32_to_cpu
	mov	x1, x0
	mov	x0, x22
	bl	_min
	mov	x22, x0
	bl	_num_online_cpus
	mov	x1, x0
	mov	x0, x22
	bl	_min
	mov	x22, x0
	bl	_num_online_cpus
	mov	x1, x0
	mov	x0, x23
	bl	_min
	mov	x23, x0
Lloh9:
	adrp	x26, _ENOSPC@GOTPAGE
Lloh10:
	ldr	x26, [x26, _ENOSPC@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
	add	w27, w22, #1
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
	add	w24, w27, w23
	cmp	w24, w20
	b.hi	LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_2 Depth=2
	mov	x0, x19
	mov	x1, x24
	bl	_ionic_bus_alloc_irq_vectors
	mov	x25, x0
	ldr	w8, [x26]
	neg	w8, w8
	tbz	w0, #31, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=2
	cmp	w25, w8
	b.ne	LBB0_14
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=2
	cmp	w25, w8
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=2
	cmp	w25, w24
	b.eq	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	x0, x19
	bl	_ionic_bus_free_irq_vectors
LBB0_8:                                 ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_2 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	w21, #2
	b.lo	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=3
	lsr	w21, w21, #1
	cmp	w24, w20
	b.ls	LBB0_3
	b	LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=2
	cmp	w23, #2
	b.lo	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=2
	lsr	w23, w23, #1
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w22, #2
	b.lo	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	lsr	w22, w22, #1
	b	LBB0_1
LBB0_14:
	ldr	w0, [x19, #20]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	bl	_dev_err
	b	LBB0_16
LBB0_15:
	stp	w21, w23, [x19]
	stp	w22, w22, [x19, #8]
	str	w24, [x19, #16]
	mov	x0, x19
	bl	_ionic_debugfs_add_sizes
	mov	w25, #0
LBB0_16:
	mov	x0, x25
	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
LBB0_17:
	ldr	w0, [x19, #20]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #2
	bl	_dev_err
	ldr	w8, [x26]
	neg	w25, w8
	b	LBB0_16
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IONIC_QTYPE_NOTIFYQ,8,3        ; @IONIC_QTYPE_NOTIFYQ
	.comm	_IONIC_QTYPE_TXQ,8,3            ; @IONIC_QTYPE_TXQ
	.comm	_IONIC_QTYPE_RXQ,8,3            ; @IONIC_QTYPE_RXQ
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't get intrs from OS: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Can't get minimum %d intrs from OS\n"

.subsections_via_symbols
