	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setDeviceCharacteristics
_setDeviceCharacteristics:              ## @setDeviceCharacteristics
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$0, 12(%rdi)
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_assert
	cmpq	$0, (%rbx)
	jne	LBB0_7
## %bb.4:
	movq	_UNIXFILE_PSOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_SQLITE_IOCAP_POWERSAFE_OVERWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rbx)
LBB0_6:
	movq	_SQLITE_DEFAULT_SECTOR_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIXFILE_PSOW,4,2              ## @UNIXFILE_PSOW
	.comm	_SQLITE_IOCAP_POWERSAFE_OVERWRITE,4,2 ## @SQLITE_IOCAP_POWERSAFE_OVERWRITE
	.comm	_SQLITE_DEFAULT_SECTOR_SIZE,8,3 ## @SQLITE_DEFAULT_SECTOR_SIZE
	.comm	_F2FS_FEATURE_ATOMIC_WRITE,4,2  ## @F2FS_FEATURE_ATOMIC_WRITE
	.comm	_F2FS_IOC_GET_FEATURES,4,2      ## @F2FS_IOC_GET_FEATURES
	.comm	_SQLITE_IOCAP_BATCH_ATOMIC,4,2  ## @SQLITE_IOCAP_BATCH_ATOMIC
	.no_dead_strip	_setDeviceCharacteristics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setDeviceCharacteristics
_setDeviceCharacteristics:              ; @setDeviceCharacteristics
	.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	w8, [x0, #12]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	bl	_assert
	ldr	x8, [x19]
	cbnz	x8, LBB0_7
; %bb.4:
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _UNIXFILE_PSOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UNIXFILE_PSOW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _SQLITE_IOCAP_POWERSAFE_OVERWRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SQLITE_IOCAP_POWERSAFE_OVERWRITE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_6:
Lloh6:
	adrp	x8, _SQLITE_DEFAULT_SECTOR_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SQLITE_DEFAULT_SECTOR_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIXFILE_PSOW,4,2              ; @UNIXFILE_PSOW
	.comm	_SQLITE_IOCAP_POWERSAFE_OVERWRITE,4,2 ; @SQLITE_IOCAP_POWERSAFE_OVERWRITE
	.comm	_SQLITE_DEFAULT_SECTOR_SIZE,8,3 ; @SQLITE_DEFAULT_SECTOR_SIZE
	.comm	_F2FS_FEATURE_ATOMIC_WRITE,4,2  ; @F2FS_FEATURE_ATOMIC_WRITE
	.comm	_F2FS_IOC_GET_FEATURES,4,2      ; @F2FS_IOC_GET_FEATURES
	.comm	_SQLITE_IOCAP_BATCH_ATOMIC,4,2  ; @SQLITE_IOCAP_BATCH_ATOMIC
	.no_dead_strip	_setDeviceCharacteristics
.subsections_via_symbols
