	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resize_bitmaps
_resize_bitmaps:                        ## @resize_bitmaps
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	callq	_update_bitmap_size
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	cmpl	$0, (%r15)
	jle	LBB0_13
## %bb.2:
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movl	%r14d, -116(%rbp)               ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	_md_cluster_ops@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_lockres_free
	movq	-128(%rbp), %rax                ## 8-byte Reload
	cmpq	(%r14), %rax
	jne	LBB0_6
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	(%r15), %ebx
	jge	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	cmpl	%eax, %ebx
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_get_bitmap_from_slot
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-112(%rbp), %r12
	movq	%r12, %rdi
	movl	$64, %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
	callq	_snprintf
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_lockres_init
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r12
	movq	_DLM_LKF_NOQUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	_DLM_LOCK_PW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_dlm_lock_sync
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%r14)
	jmp	LBB0_11
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_6
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	leaq	-112(%rbp), %rsi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_6:
	movq	%r14, %rdi
	callq	_md_bitmap_free
	movq	%r15, %rdi
	movl	-116(%rbp), %esi                ## 4-byte Reload
	callq	_update_bitmap_size
	movl	$-1, %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_md_cluster_ops,8,3             ## @md_cluster_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't get bitmap from slot %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"bitmap%04d"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot initialize %s lock\n"

	.comm	_DLM_LKF_NOQUEUE,4,2            ## @DLM_LKF_NOQUEUE
	.comm	_DLM_LOCK_PW,4,2                ## @DLM_LOCK_PW
	.no_dead_strip	_resize_bitmaps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resize_bitmaps
_resize_bitmaps:                        ; @resize_bitmaps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	x8, [x0, #8]
	ldr	x25, [x8]
	bl	_update_bitmap_size
	cbnz	w0, LBB0_15
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	w21, #0
Lloh3:
	adrp	x26, _md_cluster_ops@GOTPAGE
Lloh4:
	ldr	x26, [x26, _md_cluster_ops@GOTPAGEOFF]
Lloh5:
	adrp	x27, _DLM_LKF_NOQUEUE@GOTPAGE
Lloh6:
	ldr	x27, [x27, _DLM_LKF_NOQUEUE@GOTPAGEOFF]
Lloh7:
	adrp	x22, l_.str.1@PAGE
Lloh8:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh9:
	adrp	x28, _DLM_LOCK_PW@GOTPAGE
Lloh10:
	ldr	x28, [x28, _DLM_LOCK_PW@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_lockres_free
	ldr	x8, [x23]
	cmp	x25, x8
	b.ne	LBB0_14
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.ge	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	cmp	w21, w0
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_get_bitmap_from_slot
	mov	x23, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	w1, #64
	mov	x2, x22
	mov	x3, x21
	bl	_snprintf
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, #0
	mov	w3, #1
	bl	_lockres_init
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x0
	ldr	w8, [x27]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ldr	w1, [x28]
	bl	_dlm_lock_sync
	cbnz	w0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x25, [x23]
	b	LBB0_3
LBB0_10:
	mov	w0, #0
	b	LBB0_15
LBB0_11:
	str	x21, [sp]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_13
LBB0_12:
	add	x8, sp, #8
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_13:
	bl	_pr_err
LBB0_14:
	mov	x0, x23
	bl	_md_bitmap_free
	mov	x0, x20
	mov	x1, x19
	bl	_update_bitmap_size
	mov	w0, #-1
LBB0_15:
	ldr	x8, [sp, #72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_md_cluster_ops,8,3             ; @md_cluster_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't get bitmap from slot %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"bitmap%04d"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot initialize %s lock\n"

	.comm	_DLM_LKF_NOQUEUE,4,2            ; @DLM_LKF_NOQUEUE
	.comm	_DLM_LOCK_PW,4,2                ; @DLM_LOCK_PW
	.no_dead_strip	_resize_bitmaps
.subsections_via_symbols
