	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_reiserfs_label
_grub_reiserfs_label:                   ## @grub_reiserfs_label
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_REISERFS_MAX_LABEL_LENGTH@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_grub_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r8
	movl	(%r14), %edi
	movq	_REISERFS_SUPER_BLOCK_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_GRUB_DISK_SECTOR_SIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movq	_REISERFS_LABEL_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r15), %ecx
	movl	%eax, %esi
	callq	_grub_disk_read
LBB0_2:
	movq	_grub_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REISERFS_MAX_LABEL_LENGTH,4,2  ## @REISERFS_MAX_LABEL_LENGTH
	.comm	_REISERFS_SUPER_BLOCK_OFFSET,4,2 ## @REISERFS_SUPER_BLOCK_OFFSET
	.comm	_GRUB_DISK_SECTOR_SIZE,4,2      ## @GRUB_DISK_SECTOR_SIZE
	.comm	_REISERFS_LABEL_OFFSET,4,2      ## @REISERFS_LABEL_OFFSET
	.comm	_grub_errno,4,2                 ## @grub_errno
	.no_dead_strip	_grub_reiserfs_label
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_reiserfs_label
_grub_reiserfs_label:                   ; @grub_reiserfs_label
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _REISERFS_MAX_LABEL_LENGTH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REISERFS_MAX_LABEL_LENGTH@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_grub_malloc
	str	x0, [x20]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x4, x0
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _REISERFS_SUPER_BLOCK_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REISERFS_SUPER_BLOCK_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _GRUB_DISK_SECTOR_SIZE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GRUB_DISK_SECTOR_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	sdiv	w1, w8, w9
Lloh8:
	adrp	x8, _REISERFS_LABEL_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REISERFS_LABEL_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x21]
	bl	_grub_disk_read
LBB0_2:
Lloh11:
	adrp	x8, _grub_errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _grub_errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_REISERFS_MAX_LABEL_LENGTH,4,2  ; @REISERFS_MAX_LABEL_LENGTH
	.comm	_REISERFS_SUPER_BLOCK_OFFSET,4,2 ; @REISERFS_SUPER_BLOCK_OFFSET
	.comm	_GRUB_DISK_SECTOR_SIZE,4,2      ; @GRUB_DISK_SECTOR_SIZE
	.comm	_REISERFS_LABEL_OFFSET,4,2      ; @REISERFS_LABEL_OFFSET
	.comm	_grub_errno,4,2                 ; @grub_errno
	.no_dead_strip	_grub_reiserfs_label
.subsections_via_symbols
