	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_mb
_add_mb:                                ## @add_mb
	.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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r13d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_IS_8X8
	movl	$8, %r15d
	movl	$8, %ecx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	callq	_IS_8X16
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leal	8(,%rcx,8), %ecx
LBB0_2:
	movl	%ecx, (%rbx)
	movl	%r14d, %edi
	callq	_IS_8X8
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	%r14d, %edi
	callq	_IS_16X8
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leal	8(,%rcx,8), %r15d
LBB0_4:
	movl	%r15d, 4(%rbx)
	movl	%r13d, 8(%rbx)
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, 12(%rbx)
	movl	16(%rbp), %edi
	movl	%edi, 16(%rbx)
	movl	%r12d, 20(%rbx)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 24(%rbx)
	movl	%r13d, %eax
	cltd
	idivl	%edi
	addl	%r12d, %eax
	movl	%eax, 28(%rbx)
	movl	%esi, %eax
	cltd
	idivl	%edi
	addl	%ecx, %eax
	movl	%eax, 32(%rbx)
	xorl	%eax, %eax
	cmpl	$1, 24(%rbp)
	sbbl	%eax, %eax
	orl	$1, %eax
	movl	%eax, 36(%rbx)
	movq	$0, 40(%rbx)
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_mb
_add_mb:                                ; @add_mb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x7
	mov	x21, x6
	mov	x22, x5
	mov	x24, x4
	mov	x23, x3
	mov	x25, x2
	mov	x26, x1
	mov	x20, x0
	mov	x0, x1
	bl	_IS_8X8
	mov	w27, #8
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x26
	bl	_IS_8X16
	cmp	x0, #0
	mov	w8, #16
	csel	w27, w8, w27, eq
LBB0_2:
	str	w27, [x20]
	mov	x0, x26
	bl	_IS_8X8
	mov	w27, #8
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x26
	bl	_IS_16X8
	cmp	x0, #0
	mov	w8, #16
	csel	w27, w8, w27, eq
LBB0_4:
	stp	w27, w24, [x20, #4]
	stp	w22, w21, [x20, #12]
	stp	w25, w23, [x20, #20]
	sdiv	w8, w24, w21
	add	w8, w8, w25
	sdiv	w9, w22, w21
	add	w9, w9, w23
	stp	w8, w9, [x20, #28]
	cmp	w19, #0
	mov	w8, #-1
	cneg	w8, w8, ne
	str	w8, [x20, #36]
	str	xzr, [x20, #40]
	mov	w0, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_mb
.subsections_via_symbols
