	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __bind
___bind:                                ## @__bind
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	32(%rdi), %r12
	movq	%rsi, %rdi
	callq	_dm_table_get_size
	movq	%rax, %r13
	movl	28(%rbx), %edi
	callq	_get_capacity
	cmpq	%rax, %r13
	je	LBB0_2
## %bb.1:
	leaq	24(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_2:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	___set_size
	movq	_event_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_dm_table_event_callback
	movq	%r15, %rdi
	callq	_dm_table_request_based
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r12, %rdi
	callq	_blk_queue_stopped
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_stop_queue
LBB0_5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	___bind_mempools
	movq	%r15, %rdi
	callq	_dm_table_merge_is_optional
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_write_lock_irqsave
	movq	16(%rbx), %r13
	movq	%r15, 16(%rbx)
	movq	%r15, %rdi
	callq	_dm_table_get_immutable_target_type
	movl	%eax, 8(%rbx)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_dm_table_set_restrictions
	leaq	4(%rbx), %rsi
	movq	_DMF_MERGE_IS_OPTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.6:
	callq	_set_bit
	jmp	LBB0_8
LBB0_7:
	callq	_clear_bit
LBB0_8:
	movq	%rbx, %rdi
	callq	_write_unlock_irqrestore
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_event_callback,4,2             ## @event_callback
	.comm	_DMF_MERGE_IS_OPTIONAL,4,2      ## @DMF_MERGE_IS_OPTIONAL
	.no_dead_strip	___bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __bind
___bind:                                ; @__bind
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #32]
	mov	x0, x1
	bl	_dm_table_get_size
	mov	x23, x0
	ldr	w0, [x19, #28]
	bl	_get_capacity
	cmp	x23, x0
	b.eq	LBB0_2
; %bb.1:
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_2:
	mov	x0, x19
	mov	x1, x23
	bl	___set_size
Lloh0:
	adrp	x8, _event_callback@GOTPAGE
Lloh1:
	ldr	x8, [x8, _event_callback@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_dm_table_event_callback
	mov	x0, x21
	bl	_dm_table_request_based
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x22
	bl	_blk_queue_stopped
	cbnz	w0, LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_stop_queue
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	___bind_mempools
	mov	x0, x21
	bl	_dm_table_merge_is_optional
	mov	x24, x0
	mov	x0, x19
	bl	_write_lock_irqsave
	ldr	x23, [x19, #16]
	str	x21, [x19, #16]
	mov	x0, x21
	bl	_dm_table_get_immutable_target_type
	str	w0, [x19, #8]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_dm_table_set_restrictions
Lloh3:
	adrp	x8, _DMF_MERGE_IS_OPTIONAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMF_MERGE_IS_OPTIONAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #4
	cbz	w24, LBB0_7
; %bb.6:
	bl	_set_bit
	b	LBB0_8
LBB0_7:
	bl	_clear_bit
LBB0_8:
	mov	x0, x19
	bl	_write_unlock_irqrestore
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_event_callback,4,2             ; @event_callback
	.comm	_DMF_MERGE_IS_OPTIONAL,4,2      ; @DMF_MERGE_IS_OPTIONAL
	.no_dead_strip	___bind
.subsections_via_symbols
