	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pw_add                         ## -- Begin function pw_add
	.p2align	4, 0x90
_pw_add:                                ## @pw_add
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jge	LBB0_2
## %bb.1:
	movq	%rdi, %r15
	movq	24(%rdi), %r13
	leaq	(%rax,%rax,2), %r14
	leal	3(%rdx), %ebx
	andl	$-4, %ebx
	leal	3(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	sarl	$2, %eax
	movl	%eax, (%r13,%r14,4)
	movl	%edx, 4(%r13,%r14,4)
	movslq	16(%rdi), %rax
	movslq	8(%r13,%r14,4), %r12
	addq	%rax, %r12
	movq	%r12, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	leaq	(%r12,%rax,4), %rdi
	subl	%eax, %ebx
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	movl	(%r13,%r14,4), %eax
	addl	8(%r13,%r14,4), %eax
	movl	%eax, 20(%r13,%r14,4)
	incq	(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG pw_add()!!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pw_add                         ; -- Begin function pw_add
	.p2align	2
_pw_add:                                ; @pw_add
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	ldr	x9, [x0, #24]
	mov	w10, #12
	madd	x22, x8, x10, x9
	add	w8, w2, #3
	ands	w23, w8, #0xfffffffc
	orr	w8, w23, #0x3
	csel	w8, w8, w23, lt
	asr	w8, w8, #2
	stp	w8, w2, [x22]
	ldrsw	x8, [x0, #16]
	ldrsw	x9, [x22, #8]
	add	x21, x9, x8
	mov	x0, x21
	bl	_memcpy
	add	x0, x21, w20, sxtw #2
	sub	w2, w23, w20
	mov	w1, #0
	bl	_memset
	ldr	w8, [x22, #8]
	ldr	w9, [x22]
	add	w8, w9, w8
	str	w8, [x22, #20]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fprintf
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG pw_add()!!\n"

.subsections_via_symbols
