	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_prio_list_insert          ## -- Begin function grub_prio_list_insert
	.p2align	4, 0x90
_grub_prio_list_insert:                 ## @grub_prio_list_insert
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	$0, -24(%rbp)
	callq	_GRUB_AS_LIST_P
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_GRUB_AS_LIST
	movq	_grub_prio_list_insert_test@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-24(%rbp), %rcx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_grub_list_insert
	cmpq	$0, -24(%rbp)
	jne	LBB0_2
## %bb.1:
	movq	_GRUB_PRIO_LIST_FLAG_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_grub_prio_list_insert_test,8,3 ## @grub_prio_list_insert_test
	.comm	_GRUB_PRIO_LIST_FLAG_ACTIVE,4,2 ## @GRUB_PRIO_LIST_FLAG_ACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_grub_prio_list_insert          ; -- Begin function grub_prio_list_insert
	.p2align	2
_grub_prio_list_insert:                 ; @grub_prio_list_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	str	xzr, [sp, #8]
	bl	_GRUB_AS_LIST_P
	mov	x20, x0
	mov	x0, x19
	bl	_GRUB_AS_LIST
	mov	x1, x0
Lloh0:
	adrp	x8, _grub_prio_list_insert_test@GOTPAGE
Lloh1:
	ldr	x8, [x8, _grub_prio_list_insert_test@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_grub_list_insert
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _GRUB_PRIO_LIST_FLAG_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GRUB_PRIO_LIST_FLAG_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_grub_prio_list_insert_test,8,3 ; @grub_prio_list_insert_test
	.comm	_GRUB_PRIO_LIST_FLAG_ACTIVE,4,2 ; @GRUB_PRIO_LIST_FLAG_ACTIVE
.subsections_via_symbols
