	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stor_strategy
_stor_strategy:                         ## @stor_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	%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	_F_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_F_READ@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_1
## %bb.2:
	movq	%r9, %r15
	movq	%r8, %rbx
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rdi, %r14
	callq	_SI
	movq	%rax, %rcx
	orq	%r13, %rax
	shrq	$32, %rax
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.4:
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %r15
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_stor_printf
	movq	_EROFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_3:
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r15d
LBB0_5:
	movq	%r14, %rdi
	callq	_SI
	movq	%rax, %rcx
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movq	%rcx, %rdx
	xorl	%eax, %eax
	callq	_stor_printf
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_7:
	movq	%rcx, %rax
	orq	%r13, %rax
	shrq	$32, %rax
	je	LBB0_8
## %bb.9:
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %rdx
	jmp	LBB0_10
LBB0_8:
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %edx
LBB0_10:
	movq	%rbx, %rcx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:
	movq	$0, (%rbx)
LBB0_12:
	addq	(%r14), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_stor_readdev
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.13:
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	%r13, (%rbx)
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_MASK,4,2                     ## @F_MASK
	.comm	_F_READ,4,2                     ## @F_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write attempt, operation not supported!\n"

	.comm	_EROFS,4,2                      ## @EROFS
L_.str.1:                               ## @.str.1
	.asciz	"size=%zu not multiple of device block size=%d\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_stor_strategy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stor_strategy
_stor_strategy:                         ; @stor_strategy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _F_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, _F_READ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _F_READ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x19, x3
	mov	x23, x2
	mov	x22, x0
	bl	_SI
	udiv	x8, x19, x0
	msub	x24, x8, x0, x19
	mov	x0, x22
	bl	_SI
	cbz	x24, LBB0_6
; %bb.2:
	stp	x19, x0, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_stor_printf
Lloh8:
	adrp	x8, _EIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_stor_printf
Lloh12:
	adrp	x8, _EROFS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EROFS@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	udiv	x2, x19, x0
	cbz	x20, LBB0_8
; %bb.7:
	str	xzr, [x20]
LBB0_8:
	ldr	x8, [x22]
	add	x1, x8, x23
	mov	x0, x22
	mov	x3, x21
	bl	_stor_readdev
	cbz	x20, LBB0_5
; %bb.9:
	cbnz	w0, LBB0_5
; %bb.10:
	str	x19, [x20]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_F_MASK,4,2                     ; @F_MASK
	.comm	_F_READ,4,2                     ; @F_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write attempt, operation not supported!\n"

	.comm	_EROFS,4,2                      ; @EROFS
l_.str.1:                               ; @.str.1
	.asciz	"size=%zu not multiple of device block size=%d\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_stor_strategy
.subsections_via_symbols
