	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_strword                   ## -- Begin function grub_strword
	.p2align	4, 0x90
_grub_strword:                          ## @grub_strword
	.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, %r14
	movq	%rdi, %rbx
	decq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_grub_iswordseparator
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_3
## %bb.5:
	movq	%r14, %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movsbl	%al, %edi
	callq	_grub_iswordseparator
	movb	(%rbx), %cl
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	(%r15), %cl
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movb	1(%rbx), %al
	incq	%rbx
	testb	%al, %al
	jne	LBB0_6
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	testb	%cl, %cl
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movsbl	%cl, %edi
	callq	_grub_iswordseparator
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	(%r15), %al
	movl	$1, %r15d
	testb	%al, %al
	je	LBB0_4
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movsbl	%al, %edi
	callq	_grub_iswordseparator
	testq	%rax, %rax
	jne	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_grub_iswordseparator
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_15
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	decq	%rbx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_grub_iswordseparator
	testq	%rax, %rax
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movb	(%rbx), %al
	movq	%r14, %r15
	testb	%al, %al
	jne	LBB0_6
LBB0_3:
	xorl	%r15d, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_strword                   ; -- Begin function grub_strword
	.p2align	2
_grub_strword:                          ; @grub_strword
	.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	x19, x1
	sub	x20, x0, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x20, #1]!
	bl	_grub_iswordseparator
	cbnz	x0, LBB0_1
; %bb.2:
	ldrb	w8, [x20]
	cbz	w8, LBB0_17
; %bb.3:
	mov	x21, x19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	sxtb	w0, w8
	bl	_grub_iswordseparator
	ldrb	w8, [x20]
	cbnz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20, #1]!
	add	x21, x21, #1
	cbnz	w8, LBB0_4
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w0, w8
	bl	_grub_iswordseparator
	cbz	x0, LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x21]
	cbz	w8, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w0, w8
	bl	_grub_iswordseparator
	cbnz	x0, LBB0_18
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20]
	cbz	w8, LBB0_14
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_grub_iswordseparator
	cbnz	x0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldrb	w8, [x20, #1]!
	cbnz	w8, LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x20, x20, #1
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x20, #1]!
	bl	_grub_iswordseparator
	cbnz	x0, LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20]
	mov	x21, x19
	cbnz	w8, LBB0_4
LBB0_17:
	mov	w0, #0
	b	LBB0_19
LBB0_18:
	mov	w0, #1
LBB0_19:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
