	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_disk_adjust_range
_grub_disk_adjust_range:                ## @grub_disk_adjust_range
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %eax
	movq	_GRUB_DISK_SECTOR_BITS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	addl	%eax, (%rsi)
	movq	_GRUB_DISK_SECTOR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	andl	%eax, (%rdx)
	movq	_GRUB_ERR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRUB_DISK_SECTOR_BITS,4,2      ## @GRUB_DISK_SECTOR_BITS
	.comm	_GRUB_DISK_SECTOR_SIZE,4,2      ## @GRUB_DISK_SECTOR_SIZE
	.comm	_GRUB_ERR_NONE,4,2              ## @GRUB_ERR_NONE
	.no_dead_strip	_grub_disk_adjust_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_disk_adjust_range
_grub_disk_adjust_range:                ; @grub_disk_adjust_range
	.cfi_startproc
; %bb.0:
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _GRUB_DISK_SECTOR_BITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GRUB_DISK_SECTOR_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldr	w9, [x1]
	add	w8, w9, w8
	str	w8, [x1]
Lloh3:
	adrp	x8, _GRUB_DISK_SECTOR_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GRUB_DISK_SECTOR_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w8, w8, #1
	ldr	w9, [x2]
	and	w8, w9, w8
	str	w8, [x2]
Lloh6:
	adrp	x8, _GRUB_ERR_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GRUB_ERR_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GRUB_DISK_SECTOR_BITS,4,2      ; @GRUB_DISK_SECTOR_BITS
	.comm	_GRUB_DISK_SECTOR_SIZE,4,2      ; @GRUB_DISK_SECTOR_SIZE
	.comm	_GRUB_ERR_NONE,4,2              ; @GRUB_ERR_NONE
	.no_dead_strip	_grub_disk_adjust_range
.subsections_via_symbols
