	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setSectorSize
_setSectorSize:                         ## @setSectorSize
	.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	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_isOpen
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
LBB0_2:
	callq	_assert
	movl	$512, %r14d                     ## imm = 0x200
	cmpq	$0, 8(%rbx)
	jne	LBB0_5
## %bb.3:
	movl	4(%rbx), %edi
	callq	_sqlite3OsDeviceCharacteristics
	movq	_SQLITE_IOCAP_POWERSAFE_OVERWRITE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.4:
	movl	4(%rbx), %edi
	callq	_sqlite3SectorSize
	movl	%eax, %r14d
LBB0_5:
	movl	%r14d, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQLITE_IOCAP_POWERSAFE_OVERWRITE,4,2 ## @SQLITE_IOCAP_POWERSAFE_OVERWRITE
	.no_dead_strip	_setSectorSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setSectorSize
_setSectorSize:                         ; @setSectorSize
	.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, x0
	ldr	w0, [x0, #4]
	bl	_isOpen
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
LBB0_3:
	bl	_assert
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x19, #4]
	bl	_sqlite3OsDeviceCharacteristics
Lloh0:
	adrp	x8, _SQLITE_IOCAP_POWERSAFE_OVERWRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQLITE_IOCAP_POWERSAFE_OVERWRITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
LBB0_5:
	mov	w0, #512
LBB0_6:
	str	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w0, [x19, #4]
	bl	_sqlite3SectorSize
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQLITE_IOCAP_POWERSAFE_OVERWRITE,4,2 ; @SQLITE_IOCAP_POWERSAFE_OVERWRITE
	.no_dead_strip	_setSectorSize
.subsections_via_symbols
