	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofwfb_putm32
_ofwfb_putm32:                          ## @ofwfb_putm32
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -72(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	24(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %ebx
	movl	4(%rdi), %r13d
	movslq	8(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_SC_NORM_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ofwfb_foreground
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ofwfb_pix32
	movq	%rax, %r14
	movq	_SC_NORM_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ofwfb_background
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ofwfb_pix32
	movl	-72(%rbp), %r8d                 ## 4-byte Reload
	testl	%r8d, %r8d
	jle	LBB0_28
## %bb.1:
	movl	16(%rbp), %esi
	leal	3(%r13), %ecx
	testl	%r13d, %r13d
	cmovnsl	%r13d, %ecx
	sarl	$2, %ecx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	addl	%r9d, %ebx
	imull	%ecx, %ebx
	movslq	%ebx, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rdx
	movl	(%r15), %ecx
	movl	12(%r15), %r11d
	addl	%ecx, %ecx
	subl	%ecx, %r11d
	cmpl	%r11d, %r9d
	cmovgl	%r9d, %r11d
	movl	$1, %edi
	movl	%esi, %ecx
	shll	%cl, %edi
	movl	%edi, -104(%rbp)                ## 4-byte Spill
	movslq	-48(%rbp), %rdi                 ## 4-byte Folded Reload
	leaq	(%rdx,%rdi,8), %rdx
	leal	-1(%rsi), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	%ebx, -100(%rbp)                ## 4-byte Spill
	leal	-2(%rsi), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	%ebx, -96(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rdx
	subl	%r9d, %r11d
	leal	-3(%rsi), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	leal	-4(%rsi), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	movl	%r8d, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leal	1(%rdi), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	leal	-5(%rsi), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	leal	-6(%rsi), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	%ebx, -80(%rbp)                 ## 4-byte Spill
	leal	2(%rdi), %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	leal	3(%rdi), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	leal	4(%rdi), %r8d
	leal	5(%rdi), %r9d
	leal	6(%rdi), %r10d
	addl	$7, %edi
	addb	$-7, %sil
	movl	$1, %ebx
	movl	%esi, %ecx
	shll	%cl, %ebx
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15), %esi
	leal	3(%rsi), %ebx
	testl	%esi, %esi
	cmovnsl	%esi, %ebx
	sarl	$2, %ebx
	movslq	%ebx, %rsi
	leaq	(%rdx,%rsi,8), %rdx
	incq	%rcx
	cmpq	%rcx, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_28
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %r11
	je	LBB0_28
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %r13d
	movl	16(%r15), %esi
	addl	%r13d, %r13d
	subl	%r13d, %esi
	cmpl	-48(%rbp), %esi                 ## 4-byte Folded Reload
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-104(%rbp), %ebx                ## 4-byte Reload
	testl	%ebx, (%r12,%rcx,4)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, (%rdx)
	movq	%r14, %rbx
	cmoveq	%rax, %rbx
	movq	%rbx, (%rdx)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, -44(%rbp)                 ## 4-byte Folded Reload
	jge	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-100(%rbp), %ebx                ## 4-byte Reload
	testl	%ebx, (%r12,%rcx,4)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 8(%rdx)
	movq	%r14, %rbx
	cmoveq	%rax, %rbx
	movq	%rbx, 8(%rdx)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, -64(%rbp)                 ## 4-byte Folded Reload
	jge	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-96(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%r12,%rcx,4)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 16(%rdx)
	movq	%r14, %rbx
	cmoveq	%rax, %rbx
	movq	%rbx, 16(%rdx)
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, -56(%rbp)                 ## 4-byte Folded Reload
	jge	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-92(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%r12,%rcx,4)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 24(%rdx)
	movq	%r14, %rbx
	cmoveq	%rax, %rbx
	movq	%rbx, 24(%rdx)
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, %r8d
	jge	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-88(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%r12,%rcx,4)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 32(%rdx)
	movq	%r14, %rbx
	cmoveq	%rax, %rbx
	movq	%rbx, 32(%rdx)
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, %r9d
	jge	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%r12,%rcx,4)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 40(%rdx)
	movq	%r14, %rbx
	cmoveq	%rax, %rbx
	movq	%rbx, 40(%rdx)
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, %r10d
	jge	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%r12,%rcx,4)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 48(%rdx)
	movq	%r14, %rbx
	cmoveq	%rax, %rbx
	movq	%rbx, 48(%rdx)
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%esi, %edi
	jge	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, (%r12,%rcx,4)
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 56(%rdx)
	movq	%r14, %rsi
	cmoveq	%rax, %rsi
	movq	%rsi, 56(%rdx)
	jmp	LBB0_27
LBB0_28:
	xorl	%eax, %eax
	addq	$72, %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_putm32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofwfb_putm32
_ofwfb_putm32:                          ; @ofwfb_putm32
	.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	x23, x6
	mov	x24, x5
	mov	x19, x3
	mov	x25, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x9, [x0, #24]
	ldp	w28, w26, [x0]
	ldrsw	x8, [x0, #8]
	stp	x8, x9, [sp]                    ; 16-byte Folded Spill
Lloh0:
	adrp	x27, _SC_NORM_ATTR@GOTPAGE
Lloh1:
	ldr	x27, [x27, _SC_NORM_ATTR@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_ofwfb_foreground
	mov	x1, x0
	mov	x0, x21
	bl	_ofwfb_pix32
	mov	x22, x0
	ldr	w0, [x27]
	bl	_ofwfb_background
	mov	x1, x0
	mov	x0, x21
	bl	_ofwfb_pix32
	cmp	w24, #1
	b.lt	LBB0_28
; %bb.1:
	add	w8, w26, #3
	cmp	w26, #0
	csel	w8, w8, w26, lt
	asr	w8, w8, #2
	add	w9, w28, w25
	mul	w8, w8, w9
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x8, x9, w8, sxtw #3
	add	x8, x8, w20, sxtw #3
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	add	x8, x8, x9, lsl #3
	ldr	w9, [x21, #12]
	ldr	w10, [x21]
	sub	w10, w9, w10, lsl #1
	mov	w9, w24
	cmp	w25, w10
	csel	w10, w25, w10, gt
	sub	w10, w10, w25
	mov	w24, #1
	lsl	w11, w24, w23
	add	w12, w20, #1
	sub	w13, w23, #1
	lsl	w13, w24, w13
	add	w14, w20, #2
	sub	w15, w23, #2
	lsl	w15, w24, w15
	add	w16, w20, #3
	sub	w17, w23, #3
	lsl	w17, w24, w17
	add	w1, w20, #4
	sub	w2, w23, #4
	lsl	w2, w24, w2
	add	w3, w20, #5
	sub	w4, w23, #5
	lsl	w4, w24, w4
	add	w5, w20, #6
	sub	w6, w23, #6
	lsl	w6, w24, w6
	add	w7, w20, #7
	sub	w23, w23, #7
	lsl	w23, w24, w23
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x21, #4]
	add	w25, w24, #3
	cmp	w24, #0
	csel	w24, w25, w24, lt
	asr	w24, w24, #2
	add	x8, x8, w24, sxtw #3
	sub	x10, x10, #1
	add	x19, x19, #4
	subs	x9, x9, #1
	b.eq	LBB0_28
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x10, LBB0_28
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x21, #16]
	ldr	w25, [x21, #8]
	sub	w24, w24, w25, lsl #1
	cmp	w24, w20
	b.le	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x19]
	tst	w25, w11
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x8]
	cmp	x25, x22
	csel	x25, x0, x22, eq
	str	x25, [x8]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w12, w24
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x19]
	tst	w25, w13
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x8, #8]
	cmp	x25, x22
	csel	x25, x0, x22, eq
	str	x25, [x8, #8]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w14, w24
	b.ge	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x19]
	tst	w25, w15
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x8, #16]
	cmp	x25, x22
	csel	x25, x0, x22, eq
	str	x25, [x8, #16]
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w16, w24
	b.ge	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x19]
	tst	w25, w17
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x8, #24]
	cmp	x25, x22
	csel	x25, x0, x22, eq
	str	x25, [x8, #24]
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w1, w24
	b.ge	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x19]
	tst	w25, w2
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x8, #32]
	cmp	x25, x22
	csel	x25, x0, x22, eq
	str	x25, [x8, #32]
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w3, w24
	b.ge	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x19]
	tst	w25, w4
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x8, #40]
	cmp	x25, x22
	csel	x25, x0, x22, eq
	str	x25, [x8, #40]
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w5, w24
	b.ge	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x19]
	tst	w25, w6
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x25, [x8, #48]
	cmp	x25, x22
	csel	x25, x0, x22, eq
	str	x25, [x8, #48]
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w7, w24
	b.ge	LBB0_2
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x19]
	tst	w24, w23
	b.eq	LBB0_2
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [x8, #56]
	cmp	x24, x22
	csel	x24, x0, x22, eq
	str	x24, [x8, #56]
	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_putm32
.subsections_via_symbols
