	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_sriov_free_msix_res
_ice_sriov_free_msix_res:               ## @ice_sriov_free_msix_res
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	(%rdi), %rcx
	movq	(%rax), %rdx
	cmpq	%rcx, %rdx
	jle	LBB0_5
## %bb.4:
	movq	%rdx, 8(%rax)
	subl	%ecx, %edx
	addl	%edx, 8(%rdi)
LBB0_5:
	movq	$0, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ice_sriov_free_msix_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_sriov_free_msix_res
_ice_sriov_free_msix_res:               ; @ice_sriov_free_msix_res
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x9, [x0]
	ldr	x10, [x8]
	cmp	x10, x9
	b.le	LBB0_4
; %bb.3:
	str	x10, [x8, #8]
	ldr	w8, [x0, #8]
	sub	w9, w10, w9
	add	w8, w8, w9
	str	w8, [x0, #8]
LBB0_4:
	str	xzr, [x0]
	mov	w0, #0
	ret
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ice_sriov_free_msix_res
.subsections_via_symbols
