	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_msix_info
_get_msix_info:                         ## @get_msix_info
	.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
	movq	%rdi, %r15
	callq	_is_offload
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_MAX_OFLD_QSETS@GOTPCREL(%rip), %rax
	movl	(%r15), %ebx
	imull	(%rax), %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%r15, %rdi
	callq	_is_pci_uld
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_MAX_OFLD_QSETS@GOTPCREL(%rip), %rax
	movl	4(%r15), %ecx
	imull	(%rax), %ecx
	addl	%ecx, %ebx
LBB0_5:
	xorl	%r14d, %r14d
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_BITS_TO_LONGS
	movl	(%r13), %edx
	movl	%eax, %edi
	movl	$8, %esi
	callq	_kcalloc
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	leaq	16(%r15), %rdi
	callq	_spin_lock_init
	movq	%r12, 8(%r15)
	jmp	LBB0_11
LBB0_9:
	movq	%r12, %rdi
	callq	_kfree
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_OFLD_QSETS,4,2             ## @MAX_OFLD_QSETS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_get_msix_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_msix_info
_get_msix_info:                         ; @get_msix_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_is_offload
Lloh0:
	adrp	x21, _MAX_OFLD_QSETS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_OFLD_QSETS@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x21]
	ldr	w9, [x19]
	mul	w20, w9, w8
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	mov	x0, x19
	bl	_is_pci_uld
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x21]
	ldr	w9, [x19, #4]
	madd	w20, w9, w8, w20
LBB0_5:
	cbz	w20, LBB0_9
; %bb.6:
Lloh2:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	mov	w1, #4
	bl	_kcalloc
	cbz	x0, LBB0_11
; %bb.7:
	mov	x21, x0
	mov	x0, x20
	bl	_BITS_TO_LONGS
	ldr	w2, [x22]
	mov	w1, #8
	bl	_kcalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_10
; %bb.8:
	add	x0, x19, #16
	bl	_spin_lock_init
	mov	w0, #0
	str	x21, [x19, #8]
	b	LBB0_12
LBB0_9:
	mov	w0, #0
	b	LBB0_12
LBB0_10:
	mov	x0, x21
	bl	_kfree
LBB0_11:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_OFLD_QSETS,4,2             ; @MAX_OFLD_QSETS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_get_msix_info
.subsections_via_symbols
