	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_file_seek                 ## -- Begin function grub_file_seek
	.p2align	4, 0x90
_grub_file_seek:                        ## @grub_file_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	%rsi, (%rdi)
	jge	LBB0_2
## %bb.1:
	movq	_GRUB_ERR_OUT_OF_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_grub_error
	movq	$-1, %rax
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rdi), %rax
	movq	%rsi, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRUB_ERR_OUT_OF_RANGE,4,2      ## @GRUB_ERR_OUT_OF_RANGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attempt to seek outside of the file"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_file_seek                 ; -- Begin function grub_file_seek
	.p2align	2
_grub_file_seek:                        ; @grub_file_seek
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x9, [x0]
	cmp	x9, x1
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _GRUB_ERR_OUT_OF_RANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GRUB_ERR_OUT_OF_RANGE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_grub_error
	mov	x0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x8, x0
	ldr	x0, [x0, #8]
	str	x1, [x8, #8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GRUB_ERR_OUT_OF_RANGE,4,2      ; @GRUB_ERR_OUT_OF_RANGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attempt to seek outside of the file"

.subsections_via_symbols
