	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmem_do_bvec
_pmem_do_bvec:                          ## @pmem_do_bvec
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_BLK_STS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movslq	%r9d, %rsi
	movq	%rsi, %rax
	shlq	$9, %rax
	movslq	(%rdi), %r15
	addq	%rax, %r15
	movq	8(%rdi), %r13
	addq	%r15, %r13
	addq	$4, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	callq	_is_bad_pmem
	movl	%eax, %edi
	callq	_unlikely
	xorl	%r12d, %r12d
	testq	%rax, %rax
	setne	%r12b
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_op_is_write
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	%r14, %rdi
	callq	_flush_dcache_page
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_write_pmem
	movl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_pmem_clear_poison
	movl	%eax, %r15d
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_write_pmem
	movl	%r15d, %eax
	jmp	LBB0_6
LBB0_1:
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_BLK_STS_IOERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_3:
	movq	%r14, %r12
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_read_pmem
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_flush_dcache_page
	movl	%r14d, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_STS_OK,4,2                 ## @BLK_STS_OK
	.comm	_BLK_STS_IOERR,4,2              ## @BLK_STS_IOERR
	.no_dead_strip	_pmem_do_bvec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmem_do_bvec
_pmem_do_bvec:                          ; @pmem_do_bvec
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
                                        ; kill: def $w5 killed $w5 def $x5
	mov	x27, x4
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _BLK_STS_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLK_STS_OK@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	sxtw	x8, w5
	ldrsw	x9, [x0]
	add	x25, x9, x8, lsl #9
	ldr	x8, [x0, #8]
	add	x22, x8, x25
	add	x0, x0, #4
	mov	x1, x5
	bl	_is_bad_pmem
	bl	_unlikely
	cmp	x0, #0
	cset	w26, ne
	mov	x0, x27
	bl	_op_is_write
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_flush_dcache_page
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_write_pmem
	mov	x0, x26
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x24
	mov	x1, x25
	mov	x2, x20
	bl	_pmem_clear_poison
	mov	x23, x0
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_write_pmem
	b	LBB0_5
LBB0_3:
	mov	x0, x26
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _BLK_STS_IOERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLK_STS_IOERR@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
LBB0_5:
	mov	x0, x23
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_read_pmem
	mov	x20, x0
	mov	x0, x19
	bl	_flush_dcache_page
	mov	x0, x20
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_STS_OK,4,2                 ; @BLK_STS_OK
	.comm	_BLK_STS_IOERR,4,2              ; @BLK_STS_IOERR
	.no_dead_strip	_pmem_do_bvec
.subsections_via_symbols
