	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function grub_nilfs2_btree_node_nchildren_max
_grub_nilfs2_btree_node_nchildren_max:  ## @grub_nilfs2_btree_node_nchildren_max
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_NILFS2_BLOCK_SIZE
	cltq
	movq	_NILFS_BTREE_NODE_EXTRA_PAD_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	subq	%rcx, %rax
	movabsq	$34359738364, %rcx              ## imm = 0x7FFFFFFFC
	addq	%rax, %rcx
	shrq	$3, %rcx
	movq	_NILFS_BTREE_NODE_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	movl	$3, %eax
	cmovel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NILFS_BTREE_NODE_EXTRA_PAD_SIZE,4,2 ## @NILFS_BTREE_NODE_EXTRA_PAD_SIZE
	.comm	_NILFS_BTREE_NODE_ROOT,4,2      ## @NILFS_BTREE_NODE_ROOT
	.no_dead_strip	_grub_nilfs2_btree_node_nchildren_max
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function grub_nilfs2_btree_node_nchildren_max
_grub_nilfs2_btree_node_nchildren_max:  ; @grub_nilfs2_btree_node_nchildren_max
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_NILFS2_BLOCK_SIZE
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
Lloh0:
	adrp	x9, _NILFS_BTREE_NODE_EXTRA_PAD_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NILFS_BTREE_NODE_EXTRA_PAD_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	mov	x10, #34359738364
	sub	x8, x8, x9
	add	x8, x8, x10
	lsr	x8, x8, #3
Lloh3:
	adrp	x9, _NILFS_BTREE_NODE_ROOT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NILFS_BTREE_NODE_ROOT@GOTPAGEOFF]
	ldr	w10, [x19]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w10
	mov	w9, #3
	csel	w0, w8, w9, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NILFS_BTREE_NODE_EXTRA_PAD_SIZE,4,2 ; @NILFS_BTREE_NODE_EXTRA_PAD_SIZE
	.comm	_NILFS_BTREE_NODE_ROOT,4,2      ; @NILFS_BTREE_NODE_ROOT
	.no_dead_strip	_grub_nilfs2_btree_node_nchildren_max
.subsections_via_symbols
