	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_align_l2obj_base
_i40e_align_l2obj_base:                 ## @i40e_align_l2obj_base
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_I40E_HMC_L2OBJ_BASE_ALIGNMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edi, %eax
	cltd
	idivl	%ecx
	subl	%edx, %ecx
	xorl	%eax, %eax
	testl	%edx, %edx
	cmovgl	%ecx, %eax
	addl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_HMC_L2OBJ_BASE_ALIGNMENT,4,2 ## @I40E_HMC_L2OBJ_BASE_ALIGNMENT
	.no_dead_strip	_i40e_align_l2obj_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_align_l2obj_base
_i40e_align_l2obj_base:                 ; @i40e_align_l2obj_base
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _I40E_HMC_L2OBJ_BASE_ALIGNMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_HMC_L2OBJ_BASE_ALIGNMENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w9, w9, w8, w0
	sub	w8, w8, w9
	cmp	w9, #0
	csel	w8, w8, wzr, gt
	add	w0, w8, w0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_HMC_L2OBJ_BASE_ALIGNMENT,4,2 ; @I40E_HMC_L2OBJ_BASE_ALIGNMENT
	.no_dead_strip	_i40e_align_l2obj_base
.subsections_via_symbols
