	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfi_staa_writev
_cfi_staa_writev:                       ## @cfi_staa_writev
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	_ECCBUF_SIZE@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%r8, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, _cfi_staa_writev.buffer(%rip)
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	testq	%r13, %r13
	je	LBB0_5
## %bb.7:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	addq	$8, %r12
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdx
	callq	_memcpy
	movq	%r14, %rbx
	movq	_ECCBUF_SIZE@GOTPCREL(%rip), %r14
LBB0_26:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$16, %r12
	decq	%r13
	je	LBB0_27
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%r12), %r15
	testq	%r15, %r15
	je	LBB0_26
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rsi
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rax
	leaq	(%r15,%rbx), %r14
	movq	(%rax), %rdx
	movq	_cfi_staa_writev.buffer(%rip), %rdi
	addq	%rbx, %rdi
	cmpq	%rdx, %r14
	jb	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	subq	%rbx, %rdx
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	callq	_memcpy
	movq	_ECCBUF_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_cfi_staa_writev.buffer(%rip), %r8
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	leaq	-56(%rbp), %rcx
	callq	*(%rdi)
	movl	%eax, %r14d
	movq	-56(%rbp), %rax
	addq	%rax, -48(%rbp)                 ## 8-byte Folded Spill
	testl	%r14d, %r14d
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_ECCBUF_SIZE@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rcx
	subq	%rbx, %rcx
	subq	%rcx, %r15
	addq	%rcx, -80(%rbp)                 ## 8-byte Folded Spill
	addq	%rax, -72(%rbp)                 ## 8-byte Folded Spill
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_ECCBUF_DIV
	testq	%rax, %rax
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %r14
	movq	%r15, %rdi
	callq	_ECCBUF_DIV
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	leaq	-56(%rbp), %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	*%r14
	movq	-56(%rbp), %rbx
	addq	%rbx, -48(%rbp)                 ## 8-byte Folded Spill
	testl	%eax, %eax
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_ECCBUF_DIV
	cmpq	%rax, %rbx
	movq	_ECCBUF_SIZE@GOTPCREL(%rip), %r14
	jne	LBB0_16
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	-56(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_ECCBUF_MOD
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rbx
	movq	_cfi_staa_writev.buffer(%rip), %rdi
	movq	(%r14), %rdx
	movl	$255, %esi
	callq	_memset
	movq	_cfi_staa_writev.buffer(%rip), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	addq	-56(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	jmp	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_32
LBB0_5:
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	jmp	LBB0_29
LBB0_27:
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.28:
	movq	_cfi_staa_writev.buffer(%rip), %r8
	leaq	-56(%rbp), %rcx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	*(%rdi)
	movl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	-56(%rbp), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_16:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_20:
	movl	%eax, %r14d
LBB0_14:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_29:
	testq	%rbx, %rbx
	je	LBB0_31
## %bb.30:
	movq	%rax, (%rbx)
LBB0_31:
	movq	_cfi_staa_writev.buffer(%rip), %rdi
	callq	_kfree
LBB0_32:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_cfi_staa_writev.buffer,8,3 ## @cfi_staa_writev.buffer
	.comm	_ECCBUF_SIZE,8,3                ## @ECCBUF_SIZE
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_cfi_staa_writev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfi_staa_writev
_cfi_staa_writev:                       ; @cfi_staa_writev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x21, _ECCBUF_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ECCBUF_SIZE@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	x0, LBB0_18
; %bb.1:
	mov	x24, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kmalloc
	adrp	x25, _cfi_staa_writev.buffer@PAGE
	str	x0, [x25, _cfi_staa_writev.buffer@PAGEOFF]
	cbz	x0, LBB0_19
; %bb.2:
	cbz	x22, LBB0_21
; %bb.3:
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	mov	x24, #0
	mov	x28, #0
	add	x27, x23, #8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x23
	mov	x2, x25
	bl	_memcpy
	mov	x24, x26
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #16
	subs	x22, x22, #1
	b.eq	LBB0_22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x25, [x27, #-8]
	cbz	x25, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x27]
	cbz	x24, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	adrp	x19, _cfi_staa_writev.buffer@PAGE
	ldr	x9, [x19, _cfi_staa_writev.buffer@PAGEOFF]
	add	x0, x9, x24
	add	x26, x25, x24
	cmp	x26, x8
	b.lo	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x2, x8, x24
	mov	x1, x23
	bl	_memcpy
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x0]
	ldr	x2, [x21]
	ldr	x4, [x19, _cfi_staa_writev.buffer@PAGEOFF]
	add	x3, sp, #24
	mov	x1, x20
	blr	x8
	ldr	x8, [sp, #24]
	add	x28, x8, x28
	cbnz	w0, LBB0_25
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x9, x8, x24
	sub	x25, x25, x9
	add	x23, x23, x9
	add	x20, x8, x20
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_ECCBUF_DIV
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x19, x21
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x24, [x21]
	mov	x0, x25
	bl	_ECCBUF_DIV
	mov	x2, x0
	add	x3, sp, #24
	mov	x0, x21
	mov	x1, x20
	mov	x4, x23
	blr	x24
	ldr	x24, [sp, #24]
	add	x28, x24, x28
	cbnz	w0, LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_ECCBUF_DIV
	cmp	x24, x0
	b.ne	LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x19
	ldr	x8, [sp, #24]
	add	x20, x8, x20
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x25
	bl	_ECCBUF_MOD
	mov	x24, x0
	cbz	x0, LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	adrp	x19, _cfi_staa_writev.buffer@PAGE
	ldr	x0, [x19, _cfi_staa_writev.buffer@PAGEOFF]
	ldr	x2, [x21]
	mov	w1, #255
	bl	_memset
	ldr	x0, [x19, _cfi_staa_writev.buffer@PAGEOFF]
	ldr	x8, [sp, #24]
	add	x1, x23, x8
	mov	x2, x24
	bl	_memcpy
	b	LBB0_5
LBB0_18:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w26, w8
	b	LBB0_30
LBB0_21:
	mov	x28, #0
	mov	w26, #0
	b	LBB0_27
LBB0_22:
	cbz	x24, LBB0_24
; %bb.23:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x0]
	adrp	x25, _cfi_staa_writev.buffer@PAGE
	ldr	x4, [x25, _cfi_staa_writev.buffer@PAGEOFF]
	add	x3, sp, #24
	mov	x1, x20
	mov	x2, x24
	blr	x8
	mov	x26, x0
	ldr	x8, [sp, #24]
	add	x28, x8, x28
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_27
LBB0_24:
	mov	w26, #0
	b	LBB0_26
LBB0_25:
	mov	x26, x0
LBB0_26:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	adrp	x25, _cfi_staa_writev.buffer@PAGE
LBB0_27:
	cbz	x24, LBB0_29
; %bb.28:
	str	x28, [x24]
LBB0_29:
	ldr	x0, [x25, _cfi_staa_writev.buffer@PAGEOFF]
	bl	_kfree
LBB0_30:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_cfi_staa_writev.buffer,8,3 ; @cfi_staa_writev.buffer
	.comm	_ECCBUF_SIZE,8,3                ; @ECCBUF_SIZE
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cfi_staa_writev
.subsections_via_symbols
