	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_hfsplus_btree_recoffset
_grub_hfsplus_btree_recoffset:          ## @grub_hfsplus_btree_recoffset
	.cfi_startproc
## %bb.0:
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edx, %rax
	movslq	(%rdi), %rcx
	shlq	$2, %rax
	subq	%rax, %rcx
	movl	-2(%rsi,%rcx), %edi
	popq	%rbp
	jmp	_grub_be_to_cpu16               ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_grub_hfsplus_btree_recoffset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_hfsplus_btree_recoffset
_grub_hfsplus_btree_recoffset:          ; @grub_hfsplus_btree_recoffset
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_2
; %bb.1:
	ldrsw	x8, [x0]
	sub	x8, x8, w2, sxtw #2
	add	x8, x8, x1
	ldur	w0, [x8, #-2]
	b	_grub_be_to_cpu16
LBB0_2:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_grub_hfsplus_btree_recoffset
.subsections_via_symbols
