	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function swapdev_strategy
_swapdev_strategy:                      ## @swapdev_strategy
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	subq	8(%rsi), %rdi
	callq	_ctodb
	movq	%rax, 8(%rbx)
	movq	(%r14), %r14
	movq	%r14, %rdi
	callq	_vhold
	movq	(%rbx), %rax
	movq	_BIO_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_bufobj_wdrop
LBB0_3:
	movq	%r14, %rdi
	callq	_bufobj_wref
LBB0_4:
	cmpq	%r14, 32(%rbx)
	je	LBB0_6
## %bb.5:
	movq	%r14, 32(%rbx)
LBB0_6:
	movq	%r14, 24(%rbx)
	movq	8(%rbx), %rdi
	callq	_dbtob
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bstrategy                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_WRITE,8,3                  ## @BIO_WRITE
	.no_dead_strip	_swapdev_strategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function swapdev_strategy
_swapdev_strategy:                      ; @swapdev_strategy
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x9, [x1, #8]
	sub	x0, x8, x9
	bl	_ctodb
	str	x0, [x19, #8]
	ldr	x20, [x20]
	mov	x0, x20
	bl	_vhold
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _BIO_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BIO_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_bufobj_wdrop
LBB0_3:
	mov	x0, x20
	bl	_bufobj_wref
LBB0_4:
	ldr	x8, [x19, #32]
	cmp	x8, x20
	b.eq	LBB0_6
; %bb.5:
	str	x20, [x19, #32]
LBB0_6:
	str	x20, [x19, #24]
	ldr	x0, [x19, #8]
	bl	_dbtob
	str	w0, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bstrategy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_WRITE,8,3                  ; @BIO_WRITE
	.no_dead_strip	_swapdev_strategy
.subsections_via_symbols
