	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at24_adjust_read_count
_at24_adjust_read_count:                ## @at24_adjust_read_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movl	(%rdi), %eax
	movq	_AT24_FLAG_NO_RDROL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	%esi, %r14d
	movq	_AT24_FLAG_ADDR16@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	leal	8(,%rdx,8), %edi
	callq	_BIT
                                        ## kill: def $eax killed $eax def $rax
	subl	%r14d, %eax
	cmpq	%rbx, %rax
	cmovbq	%rax, %rbx
LBB0_2:
	movq	_at24_io_limit@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	cmovbq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT24_FLAG_NO_RDROL,4,2         ## @AT24_FLAG_NO_RDROL
	.comm	_AT24_FLAG_ADDR16,4,2           ## @AT24_FLAG_ADDR16
	.comm	_at24_io_limit,8,3              ## @at24_io_limit
	.no_dead_strip	_at24_adjust_read_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at24_adjust_read_count
_at24_adjust_read_count:                ; @at24_adjust_read_count
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AT24_FLAG_NO_RDROL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AT24_FLAG_NO_RDROL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x1
Lloh3:
	adrp	x9, _AT24_FLAG_ADDR16@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AT24_FLAG_ADDR16@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #16
	mov	w9, #8
	csel	w0, w9, w8, eq
	bl	_BIT
	sub	w8, w0, w20
	cmp	x8, x19
	csel	x19, x8, x19, lo
LBB0_2:
Lloh6:
	adrp	x8, _at24_io_limit@GOTPAGE
Lloh7:
	ldr	x8, [x8, _at24_io_limit@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x19, x8
	csel	x0, x19, x8, lo
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AT24_FLAG_NO_RDROL,4,2         ; @AT24_FLAG_NO_RDROL
	.comm	_AT24_FLAG_ADDR16,4,2           ; @AT24_FLAG_ADDR16
	.comm	_at24_io_limit,8,3              ; @at24_io_limit
	.no_dead_strip	_at24_adjust_read_count
.subsections_via_symbols
