	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_hfs_find_node
_grub_hfs_find_node:                    ## @grub_hfs_find_node
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdi, %r14
	movq	%rsi, -88(%rbp)
	movl	%ecx, -80(%rbp)
	movq	%r8, -72(%rbp)
	movl	%r9d, -64(%rbp)
	movq	$0, -48(%rbp)
	movl	$0, -60(%rbp)
	movq	_grub_hfs_find_node_node_found@GOTPCREL(%rip), %r13
	leaq	-88(%rbp), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, -56(%rbp)
	movl	(%r13), %r8d
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%ecx, %ecx
	movq	%r15, %r9
	callq	_grub_hfs_iterate_records
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-56(%rbp), %edx
	cmpl	$-1, %edx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_1
## %bb.4:
	movl	-60(%rbp), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_grub_hfs_find_node_node_found,4,2 ## @grub_hfs_find_node_node_found
	.no_dead_strip	_grub_hfs_find_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_hfs_find_node
_grub_hfs_find_node:                    ; @grub_hfs_find_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x20, x0
	str	x1, [sp]
	str	w3, [sp, #8]
	str	x4, [sp, #16]
	str	xzr, [sp, #40]
	stp	w5, wzr, [sp, #24]
	mov	w21, #-1
Lloh0:
	adrp	x22, _grub_hfs_find_node_node_found@GOTPAGE
Lloh1:
	ldr	x22, [x22, _grub_hfs_find_node_node_found@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	w21, [sp, #32]
	ldr	w4, [x22]
	mov	x5, sp
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_grub_hfs_iterate_records
	cbnz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w2, [sp, #32]
	cmn	w2, #1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_1
; %bb.4:
	ldr	w0, [sp, #28]
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_grub_hfs_find_node_node_found,4,2 ; @grub_hfs_find_node_node_found
	.no_dead_strip	_grub_hfs_find_node
.subsections_via_symbols
