	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_eeprom_page
_mlx5_eeprom_page:                      ## @mlx5_eeprom_page
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MLX5_EEPROM_PAGE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	cmpl	%edi, %ecx
	jg	LBB0_2
## %bb.1:
	subl	%ecx, %edi
	movq	_MLX5_EEPROM_HIGH_PAGE_LENGTH@GOTPCREL(%rip), %rcx
	movl	%edi, %eax
	cltd
	idivl	(%rcx)
	incl	%eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_EEPROM_PAGE_LENGTH,4,2    ## @MLX5_EEPROM_PAGE_LENGTH
	.comm	_MLX5_EEPROM_HIGH_PAGE_LENGTH,4,2 ## @MLX5_EEPROM_HIGH_PAGE_LENGTH
	.no_dead_strip	_mlx5_eeprom_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_eeprom_page
_mlx5_eeprom_page:                      ; @mlx5_eeprom_page
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MLX5_EEPROM_PAGE_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_EEPROM_PAGE_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	sub	w8, w0, w8
Lloh3:
	adrp	x9, _MLX5_EEPROM_HIGH_PAGE_LENGTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_EEPROM_HIGH_PAGE_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	add	w0, w8, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_EEPROM_PAGE_LENGTH,4,2    ; @MLX5_EEPROM_PAGE_LENGTH
	.comm	_MLX5_EEPROM_HIGH_PAGE_LENGTH,4,2 ; @MLX5_EEPROM_HIGH_PAGE_LENGTH
	.no_dead_strip	_mlx5_eeprom_page
.subsections_via_symbols
