	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Adam7_getpassvalues
_Adam7_getpassvalues:                   ## @Adam7_getpassvalues
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r14d
	xorl	%ebx, %ebx
	movq	_ADAM7_DX@GOTPCREL(%rip), %r15
	movq	_ADAM7_IX@GOTPCREL(%rip), %r12
	movq	_ADAM7_DY@GOTPCREL(%rip), %r13
	movq	_ADAM7_IY@GOTPCREL(%rip), %r11
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	$7, %rbx
	je	LBB0_4
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %r10d
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %eax
	notl	%eax
	addl	%r10d, %eax
	addl	%r9d, %eax
	xorl	%edx, %edx
	divl	%r10d
	movl	%eax, (%rdi,%rbx,4)
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %r10d
	movq	(%r11), %rax
	movl	(%rax,%rbx,4), %eax
	notl	%eax
	addl	%r10d, %eax
	addl	%r14d, %eax
	xorl	%edx, %edx
	divl	%r10d
	movl	%eax, (%rsi,%rbx,4)
	movl	(%rdi,%rbx,4), %edx
	testl	%edx, %edx
	cmovel	%edx, %eax
	movl	%eax, (%rsi,%rbx,4)
	testl	%eax, %eax
	jne	LBB0_1
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rdi,%rbx,4)
	jmp	LBB0_1
LBB0_4:
	movq	$0, (%r8)
	movq	$0, (%rcx)
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movq	$0, (%r10)
	movl	(%rdi), %eax
	xorl	%ebx, %ebx
	movl	(%rsi), %edx
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	testl	%edx, %edx
	je	LBB0_8
## %bb.6:
	movl	%eax, %ebx
	movl	24(%rbp), %r11d
	imull	%r11d, %ebx
	addl	$7, %ebx
	shrl	$3, %ebx
	incl	%ebx
	imull	%edx, %ebx
	jmp	LBB0_10
LBB0_8:
	xorl	%edx, %edx
LBB0_9:
	movl	24(%rbp), %r11d
LBB0_10:
	movq	%rbx, 8(%r10)
	imull	%r11d, %eax
	leal	7(%rax), %ebx
	shrl	$3, %ebx
	imull	%edx, %ebx
	addq	(%rcx), %rbx
	movq	%rbx, 8(%rcx)
	imull	%edx, %eax
	addl	$7, %eax
	shrl	$3, %eax
	addq	(%r8), %rax
	movq	%rax, 8(%r8)
	movq	8(%r10), %rbx
	movl	4(%rdi), %eax
	xorl	%edx, %edx
	movl	4(%rsi), %r9d
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	testl	%r9d, %r9d
	je	LBB0_13
## %bb.12:
	movl	%eax, %edx
	imull	%r11d, %edx
	addl	$7, %edx
	shrl	$3, %edx
	incl	%edx
	imull	%r9d, %edx
	jmp	LBB0_14
LBB0_13:
	xorl	%r9d, %r9d
LBB0_14:
	addq	%rdx, %rbx
	movq	%rbx, 16(%r10)
	imull	%r11d, %eax
	leal	7(%rax), %edx
	shrl	$3, %edx
	imull	%r9d, %edx
	addq	8(%rcx), %rdx
	movq	%rdx, 16(%rcx)
	imull	%r9d, %eax
	addl	$7, %eax
	shrl	$3, %eax
	addq	8(%r8), %rax
	movq	%rax, 16(%r8)
	movq	16(%r10), %rbx
	movl	8(%rdi), %eax
	xorl	%edx, %edx
	movl	8(%rsi), %r9d
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	testl	%r9d, %r9d
	je	LBB0_17
## %bb.16:
	movl	%eax, %edx
	imull	%r11d, %edx
	addl	$7, %edx
	shrl	$3, %edx
	incl	%edx
	imull	%r9d, %edx
	jmp	LBB0_18
LBB0_17:
	xorl	%r9d, %r9d
LBB0_18:
	addq	%rdx, %rbx
	movq	%rbx, 24(%r10)
	imull	%r11d, %eax
	leal	7(%rax), %edx
	shrl	$3, %edx
	imull	%r9d, %edx
	addq	16(%rcx), %rdx
	movq	%rdx, 24(%rcx)
	imull	%r9d, %eax
	addl	$7, %eax
	shrl	$3, %eax
	addq	16(%r8), %rax
	movq	%rax, 24(%r8)
	movq	24(%r10), %rbx
	movl	12(%rdi), %eax
	xorl	%edx, %edx
	movl	12(%rsi), %r9d
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:
	testl	%r9d, %r9d
	je	LBB0_21
## %bb.20:
	movl	%eax, %edx
	imull	%r11d, %edx
	addl	$7, %edx
	shrl	$3, %edx
	incl	%edx
	imull	%r9d, %edx
	jmp	LBB0_22
LBB0_21:
	xorl	%r9d, %r9d
LBB0_22:
	addq	%rdx, %rbx
	movq	%rbx, 32(%r10)
	imull	%r11d, %eax
	leal	7(%rax), %edx
	shrl	$3, %edx
	imull	%r9d, %edx
	addq	24(%rcx), %rdx
	movq	%rdx, 32(%rcx)
	imull	%r9d, %eax
	addl	$7, %eax
	shrl	$3, %eax
	addq	24(%r8), %rax
	movq	%rax, 32(%r8)
	movq	32(%r10), %rbx
	movl	16(%rdi), %eax
	xorl	%edx, %edx
	movl	16(%rsi), %r9d
	testl	%eax, %eax
	je	LBB0_26
## %bb.23:
	testl	%r9d, %r9d
	je	LBB0_25
## %bb.24:
	movl	%eax, %edx
	imull	%r11d, %edx
	addl	$7, %edx
	shrl	$3, %edx
	incl	%edx
	imull	%r9d, %edx
	jmp	LBB0_26
LBB0_25:
	xorl	%r9d, %r9d
LBB0_26:
	addq	%rdx, %rbx
	movq	%rbx, 40(%r10)
	imull	%r11d, %eax
	leal	7(%rax), %edx
	shrl	$3, %edx
	imull	%r9d, %edx
	addq	32(%rcx), %rdx
	movq	%rdx, 40(%rcx)
	imull	%r9d, %eax
	addl	$7, %eax
	shrl	$3, %eax
	addq	32(%r8), %rax
	movq	%rax, 40(%r8)
	movq	40(%r10), %rbx
	movl	20(%rdi), %eax
	xorl	%edx, %edx
	movl	20(%rsi), %r9d
	testl	%eax, %eax
	je	LBB0_30
## %bb.27:
	testl	%r9d, %r9d
	je	LBB0_29
## %bb.28:
	movl	%eax, %edx
	imull	%r11d, %edx
	addl	$7, %edx
	shrl	$3, %edx
	incl	%edx
	imull	%r9d, %edx
	jmp	LBB0_30
LBB0_29:
	xorl	%r9d, %r9d
LBB0_30:
	addq	%rdx, %rbx
	movq	%rbx, 48(%r10)
	imull	%r11d, %eax
	leal	7(%rax), %edx
	shrl	$3, %edx
	imull	%r9d, %edx
	addq	40(%rcx), %rdx
	movq	%rdx, 48(%rcx)
	imull	%r9d, %eax
	addl	$7, %eax
	shrl	$3, %eax
	addq	40(%r8), %rax
	movq	%rax, 48(%r8)
	movq	48(%r10), %rbx
	movl	24(%rdi), %eax
	xorl	%edi, %edi
	movl	24(%rsi), %edx
	testl	%eax, %eax
	je	LBB0_34
## %bb.31:
	testl	%edx, %edx
	je	LBB0_33
## %bb.32:
	movl	%eax, %edi
	imull	%r11d, %edi
	addl	$7, %edi
	shrl	$3, %edi
	incl	%edi
	imull	%edx, %edi
	jmp	LBB0_34
LBB0_33:
	xorl	%edx, %edx
LBB0_34:
	addq	%rdi, %rbx
	movq	%rbx, 56(%r10)
	imull	%r11d, %eax
	leal	7(%rax), %esi
	shrl	$3, %esi
	imull	%edx, %esi
	addq	48(%rcx), %rsi
	movq	%rsi, 56(%rcx)
	imull	%edx, %eax
	addl	$7, %eax
	shrl	$3, %eax
	addq	48(%r8), %rax
	movq	%rax, 56(%r8)
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADAM7_DX,8,3                   ## @ADAM7_DX
	.comm	_ADAM7_IX,8,3                   ## @ADAM7_IX
	.comm	_ADAM7_DY,8,3                   ## @ADAM7_DY
	.comm	_ADAM7_IY,8,3                   ## @ADAM7_IY
	.no_dead_strip	_Adam7_getpassvalues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Adam7_getpassvalues
_Adam7_getpassvalues:                   ; @Adam7_getpassvalues
	.cfi_startproc
; %bb.0:
	mov	x8, #0
Lloh0:
	adrp	x9, _ADAM7_DX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ADAM7_DX@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ADAM7_IX@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ADAM7_IX@GOTPAGEOFF]
Lloh4:
	adrp	x11, _ADAM7_DY@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ADAM7_DY@GOTPAGEOFF]
Lloh6:
	adrp	x12, _ADAM7_IY@GOTPAGE
Lloh7:
	ldr	x12, [x12, _ADAM7_IY@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #4
	cmp	x8, #28
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x9]
	ldr	w13, [x13, x8]
	ldr	x14, [x10]
	ldr	w14, [x14, x8]
	mvn	w14, w14
	add	w15, w13, w5
	add	w14, w15, w14
	udiv	w13, w14, w13
	str	w13, [x0, x8]
	ldr	x13, [x11]
	ldr	w13, [x13, x8]
	ldr	x14, [x12]
	ldr	w14, [x14, x8]
	mvn	w14, w14
	add	w15, w13, w6
	add	w14, w15, w14
	udiv	w13, w14, w13
	str	w13, [x1, x8]
	ldr	w14, [x0, x8]
	cmp	w14, #0
	csel	w13, wzr, w13, eq
	str	w13, [x1, x8]
	cbnz	w13, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x0, x8]
	b	LBB0_1
LBB0_4:
	str	xzr, [x4]
	str	xzr, [x3]
	str	xzr, [x2]
	ldr	w8, [x0]
	ldr	w9, [x1]
	cbz	w8, LBB0_7
; %bb.5:
	cbz	w9, LBB0_7
; %bb.6:
	orr	w10, wzr, #0x7
	madd	w10, w8, w7, w10
	lsr	w10, w10, #3
	madd	w10, w9, w10, w9
	b	LBB0_8
LBB0_7:
	mov	x10, #0
LBB0_8:
	str	x10, [x2, #8]
	ldr	x10, [x3]
	mul	w11, w8, w7
	add	w8, w11, #7
	lsr	w8, w8, #3
	mul	w8, w9, w8
	add	x8, x10, x8
	str	x8, [x3, #8]
	ldr	x10, [x4]
	orr	w8, wzr, #0x7
	madd	w9, w11, w9, w8
	lsr	w9, w9, #3
	add	x9, x10, x9
	str	x9, [x4, #8]
	ldr	x11, [x2, #8]
	ldr	w10, [x0, #4]
	ldr	w9, [x1, #4]
	cbz	w10, LBB0_11
; %bb.9:
	cbz	w9, LBB0_11
; %bb.10:
	orr	w12, wzr, #0x7
	madd	w12, w10, w7, w12
	lsr	w12, w12, #3
	madd	w12, w9, w12, w9
	b	LBB0_12
LBB0_11:
	mov	x12, #0
LBB0_12:
	add	x11, x11, x12
	str	x11, [x2, #16]
	ldr	x11, [x3, #8]
	mul	w10, w10, w7
	add	w12, w10, #7
	lsr	w12, w12, #3
	mul	w12, w9, w12
	add	x11, x11, x12
	str	x11, [x3, #16]
	ldr	x11, [x4, #8]
	madd	w8, w10, w9, w8
	lsr	w8, w8, #3
	add	x8, x11, x8
	str	x8, [x4, #16]
	ldr	x10, [x2, #16]
	ldr	w8, [x0, #8]
	ldr	w9, [x1, #8]
	cbz	w8, LBB0_15
; %bb.13:
	cbz	w9, LBB0_15
; %bb.14:
	orr	w11, wzr, #0x7
	madd	w11, w8, w7, w11
	lsr	w11, w11, #3
	madd	w11, w9, w11, w9
	b	LBB0_16
LBB0_15:
	mov	x11, #0
LBB0_16:
	add	x10, x10, x11
	str	x10, [x2, #24]
	ldr	x10, [x3, #16]
	mul	w11, w8, w7
	add	w8, w11, #7
	lsr	w8, w8, #3
	mul	w8, w9, w8
	add	x8, x10, x8
	str	x8, [x3, #24]
	ldr	x10, [x4, #16]
	orr	w8, wzr, #0x7
	madd	w9, w11, w9, w8
	lsr	w9, w9, #3
	add	x9, x10, x9
	str	x9, [x4, #24]
	ldr	x11, [x2, #24]
	ldr	w10, [x0, #12]
	ldr	w9, [x1, #12]
	cbz	w10, LBB0_19
; %bb.17:
	cbz	w9, LBB0_19
; %bb.18:
	orr	w12, wzr, #0x7
	madd	w12, w10, w7, w12
	lsr	w12, w12, #3
	madd	w12, w9, w12, w9
	b	LBB0_20
LBB0_19:
	mov	x12, #0
LBB0_20:
	add	x11, x11, x12
	str	x11, [x2, #32]
	ldr	x11, [x3, #24]
	mul	w10, w10, w7
	add	w12, w10, #7
	lsr	w12, w12, #3
	mul	w12, w9, w12
	add	x11, x11, x12
	str	x11, [x3, #32]
	ldr	x11, [x4, #24]
	madd	w8, w10, w9, w8
	lsr	w8, w8, #3
	add	x8, x11, x8
	str	x8, [x4, #32]
	ldr	x10, [x2, #32]
	ldr	w8, [x0, #16]
	ldr	w9, [x1, #16]
	cbz	w8, LBB0_23
; %bb.21:
	cbz	w9, LBB0_23
; %bb.22:
	orr	w11, wzr, #0x7
	madd	w11, w8, w7, w11
	lsr	w11, w11, #3
	madd	w11, w9, w11, w9
	b	LBB0_24
LBB0_23:
	mov	x11, #0
LBB0_24:
	add	x10, x10, x11
	str	x10, [x2, #40]
	ldr	x10, [x3, #32]
	mul	w11, w8, w7
	add	w8, w11, #7
	lsr	w8, w8, #3
	mul	w8, w9, w8
	add	x8, x10, x8
	str	x8, [x3, #40]
	ldr	x10, [x4, #32]
	orr	w8, wzr, #0x7
	madd	w9, w11, w9, w8
	lsr	w9, w9, #3
	add	x9, x10, x9
	str	x9, [x4, #40]
	ldr	x11, [x2, #40]
	ldr	w10, [x0, #20]
	ldr	w9, [x1, #20]
	cbz	w10, LBB0_27
; %bb.25:
	cbz	w9, LBB0_27
; %bb.26:
	orr	w12, wzr, #0x7
	madd	w12, w10, w7, w12
	lsr	w12, w12, #3
	madd	w12, w9, w12, w9
	b	LBB0_28
LBB0_27:
	mov	x12, #0
LBB0_28:
	add	x11, x11, x12
	str	x11, [x2, #48]
	ldr	x11, [x3, #40]
	mul	w10, w10, w7
	add	w12, w10, #7
	lsr	w12, w12, #3
	mul	w12, w9, w12
	add	x11, x11, x12
	str	x11, [x3, #48]
	ldr	x11, [x4, #40]
	madd	w8, w10, w9, w8
	lsr	w8, w8, #3
	add	x8, x11, x8
	str	x8, [x4, #48]
	ldr	x10, [x2, #48]
	ldr	w9, [x0, #24]
	ldr	w8, [x1, #24]
	cbz	w9, LBB0_31
; %bb.29:
	cbz	w8, LBB0_31
; %bb.30:
	orr	w11, wzr, #0x7
	madd	w11, w9, w7, w11
	lsr	w11, w11, #3
	madd	w11, w8, w11, w8
	b	LBB0_32
LBB0_31:
	mov	x11, #0
LBB0_32:
	add	x10, x10, x11
	str	x10, [x2, #56]
	ldr	x10, [x3, #48]
	mul	w9, w9, w7
	add	w11, w9, #7
	lsr	w11, w11, #3
	mul	w11, w8, w11
	add	x10, x10, x11
	str	x10, [x3, #56]
	ldr	x10, [x4, #48]
	orr	w11, wzr, #0x7
	madd	w8, w9, w8, w11
	lsr	w8, w8, #3
	add	x8, x10, x8
	str	x8, [x4, #56]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ADAM7_DX,8,3                   ; @ADAM7_DX
	.comm	_ADAM7_IX,8,3                   ; @ADAM7_IX
	.comm	_ADAM7_DY,8,3                   ; @ADAM7_DY
	.comm	_ADAM7_IY,8,3                   ; @ADAM7_IY
	.no_dead_strip	_Adam7_getpassvalues
.subsections_via_symbols
