	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofwfb_putm8
_ofwfb_putm8:                           ## @ofwfb_putm8
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -80(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %r13
	movslq	(%rdi), %r12
	movslq	4(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_SC_NORM_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ofwfb_foreground
	movl	%eax, %r15d
	movq	_SC_NORM_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ofwfb_background
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, %esi
	jle	LBB0_28
## %bb.1:
	movl	16(%rbp), %edx
	movslq	-48(%rbp), %r11                 ## 4-byte Folded Reload
	addq	%r11, %r13
	addq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	movslq	-64(%rbp), %r8                  ## 4-byte Folded Reload
	movl	$1, %edi
	movl	%edx, %ecx
	shll	%cl, %edi
	movl	%edi, -112(%rbp)                ## 4-byte Spill
	addq	%r8, %r12
	imulq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	leal	-1(%rdx), %ecx
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movl	%edi, -108(%rbp)                ## 4-byte Spill
	leal	-2(%rdx), %ecx
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movl	%edi, -104(%rbp)                ## 4-byte Spill
	addq	%r13, %r12
	movl	%esi, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leal	-3(%rdx), %ecx
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movl	%edi, -100(%rbp)                ## 4-byte Spill
	leal	-4(%rdx), %ecx
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movl	%edi, -96(%rbp)                 ## 4-byte Spill
	movl	$1, %edi
	leaq	1(%r11), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leal	-5(%rdx), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movl	%esi, -88(%rbp)                 ## 4-byte Spill
	leal	-6(%rdx), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movl	%esi, -84(%rbp)                 ## 4-byte Spill
	addb	$-7, %dl
	movl	%edx, %ecx
	shll	%cl, %edi
	movl	%edi, -92(%rbp)                 ## 4-byte Spill
	leaq	2(%r11), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%r8d, %r10d
	leaq	3(%r11), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%r11), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	5(%r11), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	6(%r11), %rsi
	leaq	7(%r11), %r8
	xorl	%r9d, %r9d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%rbx), %rcx
	andq	$-4, %rcx
	addq	%rcx, %r12
	incq	%r9
	cmpq	%r9, -80(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_28
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r10,%r9), %ecx
	movl	(%rbx), %edi
	movl	16(%rbx), %edx
	addl	%edi, %edi
	subl	%edi, %edx
	cmpl	%edx, %ecx
	jge	LBB0_28
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %r13
	addq	%r13, %r13
	movslq	20(%rbx), %rcx
	subq	%r13, %rcx
	negq	%r13
	cmpq	%r11, %rcx
	jbe	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-112(%rbp), %edx                ## 4-byte Reload
	testl	%edx, (%r14,%r9,4)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, (%r12)
	movl	%r15d, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, (%r12)
	movslq	20(%rbx), %rcx
	addq	%r13, %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	jbe	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-108(%rbp), %edx                ## 4-byte Reload
	testl	%edx, (%r14,%r9,4)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 4(%r12)
	movl	%r15d, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 4(%r12)
	movslq	20(%rbx), %rcx
	addq	%r13, %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	jbe	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-104(%rbp), %edx                ## 4-byte Reload
	testl	%edx, (%r14,%r9,4)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 8(%r12)
	movl	%r15d, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 8(%r12)
	movslq	20(%rbx), %rcx
	addq	%r13, %rcx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	jbe	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-100(%rbp), %edx                ## 4-byte Reload
	testl	%edx, (%r14,%r9,4)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 12(%r12)
	movl	%r15d, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 12(%r12)
	movslq	20(%rbx), %rcx
	addq	%r13, %rcx
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	jbe	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%r14,%r9,4)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 16(%r12)
	movl	%r15d, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 16(%r12)
	movslq	20(%rbx), %rcx
	addq	%r13, %rcx
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-120(%rbp), %rcx                ## 8-byte Folded Reload
	jbe	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%r14,%r9,4)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 20(%r12)
	movl	%r15d, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 20(%r12)
	movslq	20(%rbx), %rcx
	addq	%r13, %rcx
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, %rcx
	jbe	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%r14,%r9,4)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 24(%r12)
	movl	%r15d, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 24(%r12)
	movslq	20(%rbx), %rcx
	addq	%rcx, %r13
	movq	%r13, %rcx
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r8, %rcx
	jbe	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%r14,%r9,4)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, 28(%r12)
	movl	%r15d, %ecx
	cmovel	%eax, %ecx
	movl	%ecx, 28(%r12)
	jmp	LBB0_27
LBB0_28:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SC_NORM_ATTR,4,2               ## @SC_NORM_ATTR
	.no_dead_strip	_ofwfb_putm8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofwfb_putm8
_ofwfb_putm8:                           ; @ofwfb_putm8
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x24, x6
	mov	x26, x5
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	ldr	x8, [x0, #24]
	stp	x8, x1, [sp]                    ; 16-byte Folded Spill
	ldpsw	x28, x27, [x0]
	ldr	x25, [x0, #8]
Lloh0:
	adrp	x23, _SC_NORM_ATTR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SC_NORM_ATTR@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_ofwfb_foreground
	mov	x22, x0
	ldr	w0, [x23]
	bl	_ofwfb_background
	cmp	w26, #1
	b.lt	LBB0_28
; %bb.1:
	add	x9, x28, w20, sxtw
	ldp	x10, x8, [sp]                   ; 16-byte Folded Reload
	sxtw	x8, w8
	add	x10, x10, x8
	add	x10, x10, x25
	madd	x9, x9, x27, x10
	mov	w7, #1
	lsl	w10, w7, w24
	add	x11, x8, #1
	sub	w12, w24, #1
	lsl	w12, w7, w12
	add	x13, x8, #2
	sub	w14, w24, #2
	lsl	w14, w7, w14
	add	x15, x8, #3
	sub	w16, w24, #3
	lsl	w16, w7, w16
	add	x17, x8, #4
	sub	w1, w24, #4
	lsl	w1, w7, w1
	sub	w2, w24, #5
	lsl	w2, w7, w2
	add	x3, x8, #5
	add	x4, x8, #6
	sub	w5, w24, #6
	lsl	w5, w7, w5
	add	x6, x8, #7
	sub	w23, w24, #7
	lsl	w7, w7, w23
	mov	w23, w26
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x24, [x21, #4]
	and	x24, x24, #0xfffffffffffffffc
	add	x9, x9, x24
	add	w20, w20, #1
	add	x19, x19, #4
	subs	x23, x23, #1
	b.eq	LBB0_28
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x21, #16]
	ldr	w25, [x21]
	sub	w24, w24, w25, lsl #1
	cmp	w20, w24
	b.ge	LBB0_28
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x21, #8]
	lsl	x25, x24, #1
	neg	x24, x25
	ldrsw	x26, [x21, #20]
	sub	x25, x26, x25
	cmp	x25, x8
	b.ls	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [x19]
	tst	w26, w10
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x9]
	cmp	w25, w22
	csel	w25, w0, w22, eq
	str	w25, [x9]
	ldrsw	x25, [x21, #20]
	add	x25, x24, x25
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x11
	b.ls	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [x19]
	tst	w26, w12
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x9, #4]
	cmp	w25, w22
	csel	w25, w0, w22, eq
	str	w25, [x9, #4]
	ldrsw	x25, [x21, #20]
	add	x25, x24, x25
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x13
	b.ls	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [x19]
	tst	w26, w14
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x9, #8]
	cmp	w25, w22
	csel	w25, w0, w22, eq
	str	w25, [x9, #8]
	ldrsw	x25, [x21, #20]
	add	x25, x24, x25
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x15
	b.ls	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [x19]
	tst	w26, w16
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x9, #12]
	cmp	w25, w22
	csel	w25, w0, w22, eq
	str	w25, [x9, #12]
	ldrsw	x25, [x21, #20]
	add	x25, x24, x25
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x17
	b.ls	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [x19]
	tst	w26, w1
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x9, #16]
	cmp	w25, w22
	csel	w25, w0, w22, eq
	str	w25, [x9, #16]
	ldrsw	x25, [x21, #20]
	add	x25, x24, x25
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x3
	b.ls	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [x19]
	tst	w26, w2
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x9, #20]
	cmp	w25, w22
	csel	w25, w0, w22, eq
	str	w25, [x9, #20]
	ldrsw	x25, [x21, #20]
	add	x25, x24, x25
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x4
	b.ls	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w26, [x19]
	tst	w26, w5
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x9, #24]
	cmp	w25, w22
	csel	w25, w0, w22, eq
	str	w25, [x9, #24]
	ldrsw	x25, [x21, #20]
	add	x25, x24, x25
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x25, x6
	b.ls	LBB0_2
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x19]
	tst	w24, w7
	b.eq	LBB0_2
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x9, #28]
	cmp	w24, w22
	csel	w24, w0, w22, eq
	str	w24, [x9, #28]
	b	LBB0_2
LBB0_28:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SC_NORM_ATTR,4,2               ; @SC_NORM_ATTR
	.no_dead_strip	_ofwfb_putm8
.subsections_via_symbols
