	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setDoubleArrayOneValue
_setDoubleArrayOneValue:                ## @setDoubleArrayOneValue
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movapd	%xmm0, -32(%rbp)                ## 16-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	__TIFFfree
LBB0_2:
	leaq	(,%rbx,8), %rdi
	callq	__TIFFmalloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	movapd	-32(%rbp), %xmm1                ## 16-byte Reload
	je	LBB0_16
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.4:
	cmpq	$4, %rbx
	jb	LBB0_15
## %bb.5:
	movq	%rbx, %r8
	andq	$-4, %r8
	movddup	%xmm1, %xmm0                    ## xmm0 = xmm1[0,0]
	leaq	-4(%r8), %rcx
	movq	%rcx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %edx
	andl	$3, %edx
	cmpq	$12, %rcx
	jae	LBB0_7
## %bb.6:
	xorl	%esi, %esi
	testq	%rdx, %rdx
	jne	LBB0_11
	jmp	LBB0_13
LBB0_7:
	andq	$-4, %rdi
	leaq	(%rax,%rbx,8), %rcx
	addq	$-16, %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movupd	%xmm0, (%rcx,%rsi,8)
	movupd	%xmm0, -16(%rcx,%rsi,8)
	movupd	%xmm0, -32(%rcx,%rsi,8)
	movupd	%xmm0, -48(%rcx,%rsi,8)
	movupd	%xmm0, -64(%rcx,%rsi,8)
	movupd	%xmm0, -80(%rcx,%rsi,8)
	movupd	%xmm0, -96(%rcx,%rsi,8)
	movupd	%xmm0, -112(%rcx,%rsi,8)
	addq	$-16, %rsi
	addq	$-4, %rdi
	jne	LBB0_8
## %bb.9:
	negq	%rsi
	testq	%rdx, %rdx
	je	LBB0_13
LBB0_11:
	movq	%rbx, %rcx
	subq	%rsi, %rcx
	leaq	(%rax,%rcx,8), %rcx
	addq	$-16, %rcx
	shlq	$5, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movupd	%xmm0, (%rcx,%rsi)
	movupd	%xmm0, -16(%rcx,%rsi)
	addq	$-32, %rsi
	movq	%rdx, %rdi
	addq	%rsi, %rdi
	jne	LBB0_12
LBB0_13:
	cmpq	%rbx, %r8
	je	LBB0_16
## %bb.14:
	andl	$3, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movsd	%xmm1, -8(%rax,%rbx,8)
	decq	%rbx
	jne	LBB0_15
LBB0_16:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_setDoubleArrayOneValue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setDoubleArrayOneValue
_setDoubleArrayOneValue:                ; @setDoubleArrayOneValue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	x20, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_2
; %bb.1:
	bl	__TIFFfree
LBB0_2:
	lsl	x0, x19, #3
	bl	__TIFFmalloc
	str	x0, [x20]
	ldr	q1, [sp]                        ; 16-byte Folded Reload
	cbz	x0, LBB0_11
; %bb.3:
	cbz	x19, LBB0_11
; %bb.4:
	cmp	x19, #8
	b.hs	LBB0_6
; %bb.5:
	mov	x8, x19
	b	LBB0_9
LBB0_6:
	and	x9, x19, #0xfffffffffffffff8
	and	x8, x19, #0x7
	dup.2d	v0, v1[0]
	add	x10, x0, x19, lsl #3
	sub	x10, x10, #32
	mov	x11, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x10]
	stp	q0, q0, [x10, #-32]
	sub	x10, x10, #64
	sub	x11, x11, #8
	cbnz	x11, LBB0_7
; %bb.8:
	cmp	x9, x19
	b.eq	LBB0_11
LBB0_9:
	sub	x9, x0, #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	str	d1, [x9, x8, lsl #3]
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_setDoubleArrayOneValue
.subsections_via_symbols
