	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_dib_bits
_add_dib_bits:                          ## @add_dib_bits
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx def $rcx
	testl	%edx, %edx
	jle	LBB0_38
## %bb.1:
	movq	32(%rbp), %r15
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movslq	(%rax), %rax
	leal	31(%rax), %r8d
	leal	62(%rax), %ebx
	testl	%r8d, %r8d
	cmovnsl	%r8d, %ebx
	sarl	$5, %ebx
	shll	$2, %ebx
	movslq	-48(%rbp), %r8                  ## 4-byte Folded Reload
	movslq	%ebx, %rbx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movslq	%esi, %rsi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rsi
	movl	%edx, %edx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	%r8, -152(%rbp)                 ## 8-byte Spill
	movl	%r8d, %edx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	leal	-1(%rsi), %r13d
	shlq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	addq	%r12, %r14
	cmpq	-136(%rbp), %rdx                ## 8-byte Folded Reload
	movq	%rbx, %rdi
	je	LBB0_38
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
                                        ##     Child Loop BB0_28 Depth 2
                                        ##       Child Loop BB0_30 Depth 3
                                        ##     Child Loop BB0_16 Depth 2
                                        ##       Child Loop BB0_18 Depth 3
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rax), %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	-64(%rbp), %rdx
	callq	_imagelist_point_from_index
	testl	%ebx, %ebx
	sete	%cl
	movslq	%r14d, %rax
	movq	24(%rbp), %rdx
	leaq	(%rdx,%rax,4), %rax
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	movq	16(%rbp), %r10
	movq	-96(%rbp), %r11                 ## 8-byte Reload
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %r8
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	imulq	%rcx, %r8
	leaq	1(%rdx), %r9
	imulq	%rcx, %r9
	movq	%rax, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	movb	$1, %cl
	cmpq	%r9, %r8
	jge	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rsi,%rcx,4), %edx
	cmpl	$16777215, %edx                 ## imm = 0xFFFFFF
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=3
	leaq	1(%rcx), %rbx
	cmpl	%ecx, %r13d
	movq	%rbx, %rcx
	jne	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$16777216, %edx                 ## imm = 0x1000000
	setb	%cl
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%rdi
	cmpq	-152(%rbp), %rdi                ## 8-byte Folded Reload
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	addq	%r11, %rsi
	testb	%cl, %cl
	jne	LBB0_6
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	%cl, %cl
	je	LBB0_24
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_35
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %r8
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	imulq	%rcx, %r8
	leaq	1(%rdx), %r9
	imulq	%rcx, %r9
	xorl	%edx, %edx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=2
	incq	%rdx
	addq	%r11, %rax
	cmpq	-128(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_35
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_18 Depth 3
	cmpq	%r9, %r8
	jge	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	%rdx, %rdi
	imulq	-120(%rbp), %rdi                ## 8-byte Folded Reload
	xorl	%esi, %esi
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=3
	movb	$-1, 3(%rax,%rsi,4)
LBB0_22:                                ##   in Loop: Header=BB0_18 Depth=3
	incq	%rsi
	cmpl	%esi, %r12d
	je	LBB0_23
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_16 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testq	%r10, %r10
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=3
	leaq	(%r14,%rsi), %rcx
	leal	7(%rcx), %ebx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %ebx
	sarl	$3, %ebx
	movslq	%ebx, %rbx
	addq	%rdi, %rbx
	movl	(%r15,%rbx,4), %ebx
	andb	$7, %cl
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %ebx
	testb	$-128, %bl
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=3
	movl	$0, (%rax,%rsi,4)
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbp), %r10
	movq	-96(%rbp), %r11                 ## 8-byte Reload
	testb	%cl, %cl
	jne	LBB0_14
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	$1, (%rcx,%rdx,4)
	testq	%r10, %r10
	je	LBB0_35
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 24(%rcx)
	je	LBB0_35
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_35
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %r8
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	imulq	%rcx, %r8
	leaq	1(%rdx), %r9
	imulq	%rcx, %r9
	xorl	%r10d, %r10d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_28 Depth=2
	incq	%r10
	addq	%r11, %rax
	cmpq	-128(%rbp), %r10                ## 8-byte Folded Reload
	je	LBB0_35
LBB0_28:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_30 Depth 3
	cmpq	%r9, %r8
	jge	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	movq	%r10, %rdi
	imulq	-120(%rbp), %rdi                ## 8-byte Folded Reload
	xorl	%esi, %esi
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_30 Depth=3
	movl	$128, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %ebx
	leal	7(%rdx), %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	addq	%rdi, %rcx
	orl	%ebx, (%r15,%rcx,4)
LBB0_33:                                ##   in Loop: Header=BB0_30 Depth=3
	incq	%rsi
	cmpl	%esi, %r12d
	je	LBB0_34
LBB0_30:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_28 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	(%r14,%rsi), %rdx
	movl	%edx, %ecx
	andl	$7, %ecx
	cmpl	$436207616, (%rax,%rsi,4)       ## imm = 0x1A000000
	jl	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=3
	movl	$-129, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	leal	7(%rdx), %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	addq	%rdi, %rcx
	andl	%ebx, (%r15,%rcx,4)
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movl	20(%r10), %edi
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %esi
	movl	8(%r10), %r8d
	movl	12(%r10), %ecx
	movq	_DIB_RGB_COLORS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_SRCCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r9d
	movq	-112(%rbp), %rax                ## 8-byte Reload
	imull	%eax, %r9d
	subq	$8, %rsp
	movl	%r9d, -80(%rbp)                 ## 4-byte Spill
	pushq	%r11
	pushq	%rbx
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	24(%rbp)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	pushq	%rax
	pushq	$0
	movq	%r10, %rbx
	callq	_StretchDIBits
	movq	16(%rbp), %r11
	addq	$64, %rsp
	testq	%r11, %r11
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %edi
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %esi
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	movq	_DIB_RGB_COLORS@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_SRCCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	-80(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r10
	pushq	%r11
	pushq	%r15
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	$0
	callq	_StretchDIBits
	addq	$64, %rsp
	jmp	LBB0_37
LBB0_38:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DIB_RGB_COLORS,4,2             ## @DIB_RGB_COLORS
	.comm	_SRCCOPY,4,2                    ## @SRCCOPY
	.no_dead_strip	_add_dib_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_dib_bits
_add_dib_bits:                          ; @add_dib_bits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	str	x5, [sp, #96]                   ; 8-byte Folded Spill
	str	x4, [sp, #112]                  ; 8-byte Folded Spill
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w2, #1
	b.lt	LBB0_38
; %bb.1:
	mov	x20, x6
	mov	x23, x3
	mov	x11, #0
	mov	w27, #0
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	ldrsw	x8, [x8]
	add	w9, w8, #31
	add	w10, w8, #62
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #5
	lsl	w9, w9, #2
	ldr	x10, [sp, #112]                 ; 8-byte Folded Reload
	sxtw	x12, w10
	sxtw	x9, w9
	str	x9, [sp, #64]                   ; 8-byte Folded Spill
	sxtw	x9, w1
	str	x9, [sp, #88]                   ; 8-byte Folded Spill
	sxtw	x9, w23
	stp	x12, x9, [sp, #40]              ; 16-byte Folded Spill
	mov	w9, w2
	str	x9, [sp, #80]                   ; 8-byte Folded Spill
	mov	w9, w10
	str	x9, [sp, #56]                   ; 8-byte Folded Spill
	sub	w9, w3, #1
	str	w9, [sp, #36]                   ; 4-byte Folded Spill
	lsl	x24, x8, #2
	ldr	x21, [x29, #16]
	mov	w22, #436207616
	mov	w26, #-129
	mov	w25, #128
	stur	x7, [x29, #-104]                ; 8-byte Folded Spill
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	x7, x11, [x29, #-104]           ; 16-byte Folded Reload
	add	x11, x11, #1
	add	w27, w27, w23
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	x11, x8
	mov	x0, x28
	b.eq	LBB0_38
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;     Child Loop BB0_30 Depth 2
                                        ;       Child Loop BB0_34 Depth 3
                                        ;     Child Loop BB0_17 Depth 2
                                        ;       Child Loop BB0_21 Depth 3
	add	x19, x7, w27, sxtw #2
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w28, [x8]
	stur	x11, [x29, #-96]                ; 8-byte Folded Spill
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	add	x1, x11, x8
	sub	x2, x29, #88
	str	x1, [sp, #104]                  ; 8-byte Folded Spill
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_imagelist_point_from_index
	cmp	w28, #0
	cset	w12, eq
	ldr	x17, [sp, #112]                 ; 8-byte Folded Reload
	cmp	w17, #1
	b.lt	LBB0_24
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x0, x4, [sp, #64]               ; 16-byte Folded Reload
	ldur	x5, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x15, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w16, [sp, #36]                  ; 4-byte Folded Reload
Lloh3:
	adrp	x6, _DIB_RGB_COLORS@GOTPAGE
Lloh4:
	ldr	x6, [x6, _DIB_RGB_COLORS@GOTPAGEOFF]
Lloh5:
	adrp	x7, _SRCCOPY@GOTPAGE
Lloh6:
	ldr	x7, [x7, _SRCCOPY@GOTPAGEOFF]
	cbnz	w28, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	mul	x9, x5, x10
	add	x10, x10, x9
	mov	x11, x19
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
	cmp	x9, x10
	b.ge	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x12, x11
	mov	x13, x16
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w14, [x12], #4
	lsr	w14, w14, #24
	cmp	w14, #0
	ccmp	w13, #0, #4, eq
	sub	w13, w13, #1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w14, #0
	cset	w12, eq
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w12, #1
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x8, #1
	cmp	x8, x15
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=2
	add	x11, x11, x24
	tbnz	w12, #0, LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w12, LBB0_25
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w17, #1
	ldur	x30, [x29, #-104]               ; 8-byte Folded Reload
	b.lt	LBB0_36
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	mul	x9, x5, x10
	add	x10, x10, x9
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x8, x8, #1
	add	x19, x19, x24
	cmp	x8, x1
	b.eq	LBB0_36
LBB0_17:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_21 Depth 3
	cmp	x9, x10
	b.ge	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	mov	w11, #0
	mul	x12, x8, x0
	mov	x13, x19
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=3
	ldr	w14, [x13]
	orr	w14, w14, #0xff000000
	str	w14, [x13]
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=3
	add	x13, x13, #4
	add	w11, w11, #1
	cmp	w23, w11
	b.eq	LBB0_16
LBB0_21:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_17 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cbz	x20, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=3
	add	w14, w27, w11
	add	w15, w14, #7
	cmp	w14, #0
	csel	w15, w15, w14, lt
	asr	w15, w15, #3
	add	x15, x12, w15, sxtw
	ldr	w15, [x21, x15, lsl #2]
	and	w14, w14, #0x7
	lsl	w14, w15, w14
	tbz	w14, #7, LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=3
	str	wzr, [x13]
	b	LBB0_20
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x0, x4, [sp, #64]               ; 16-byte Folded Reload
	ldur	x5, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x1, [sp, #56]                   ; 8-byte Folded Reload
Lloh7:
	adrp	x6, _DIB_RGB_COLORS@GOTPAGE
Lloh8:
	ldr	x6, [x6, _DIB_RGB_COLORS@GOTPAGEOFF]
Lloh9:
	adrp	x7, _SRCCOPY@GOTPAGE
Lloh10:
	ldr	x7, [x7, _SRCCOPY@GOTPAGEOFF]
	cbnz	w12, LBB0_14
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x4]
	mov	w9, #1
	ldr	x10, [sp, #104]                 ; 8-byte Folded Reload
	str	w9, [x8, x10, lsl #2]
	ldur	x30, [x29, #-104]               ; 8-byte Folded Reload
	cbz	x20, LBB0_36
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x4, #24]
	cbz	x8, LBB0_36
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w17, #1
	b.lt	LBB0_36
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	mul	x9, x5, x10
	add	x10, x10, x9
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=2
	add	x8, x8, #1
	add	x19, x19, x24
	cmp	x8, x1
	b.eq	LBB0_36
LBB0_30:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_34 Depth 3
	cmp	x9, x10
	b.ge	LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	w11, #0
	mul	x12, x8, x0
	mov	x13, x19
	b	LBB0_34
LBB0_32:                                ;   in Loop: Header=BB0_34 Depth=3
	lsr	w15, w25, w15
	add	w16, w14, #7
	cmp	w14, #0
	csel	w14, w16, w14, lt
	asr	w14, w14, #3
	add	x14, x12, w14, sxtw
	lsl	x14, x14, #2
	ldr	w16, [x21, x14]
	orr	w15, w16, w15
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=3
	str	w15, [x21, x14]
	add	x13, x13, #4
	add	w11, w11, #1
	cmp	w23, w11
	b.eq	LBB0_29
LBB0_34:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_30 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w16, [x13]
	add	w14, w27, w11
	and	w15, w14, #0x7
	cmp	w16, w22
	b.lt	LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=3
	asr	w15, w26, w15
	add	w16, w14, #7
	cmp	w14, #0
	csel	w14, w16, w14, lt
	asr	w14, w14, #3
	add	x14, x12, w14, sxtw
	lsl	x14, x14, #2
	ldr	w16, [x21, x14]
	and	w15, w16, w15
	b	LBB0_33
LBB0_36:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x4, #20]
	ldp	w2, w1, [x29, #-88]
	mov	x28, x4
	ldp	w4, w3, [x4, #8]
	ldr	w8, [x6]
	mul	w5, w5, w23
	ldr	w9, [x7]
	stp	w8, w9, [sp, #24]
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	stp	x30, x8, [sp, #8]
	str	w17, [sp]
	str	w5, [sp, #104]                  ; 4-byte Folded Spill
	mov	x19, x6
	mov	w6, #0
	mov	x7, x23
	bl	_StretchDIBits
	cbz	x20, LBB0_2
; %bb.37:                               ;   in Loop: Header=BB0_3 Depth=1
	ldp	w3, w0, [x28, #12]
	ldp	w2, w1, [x29, #-88]
	ldr	w4, [x28, #8]
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _SRCCOPY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SRCCOPY@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
	stp	x21, x20, [sp, #8]
	ldr	x8, [sp, #112]                  ; 8-byte Folded Reload
	str	w8, [sp]
	ldr	w5, [sp, #104]                  ; 4-byte Folded Reload
	mov	w6, #0
	mov	x7, x23
	bl	_StretchDIBits
	b	LBB0_2
LBB0_38:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DIB_RGB_COLORS,4,2             ; @DIB_RGB_COLORS
	.comm	_SRCCOPY,4,2                    ; @SRCCOPY
	.no_dead_strip	_add_dib_bits
.subsections_via_symbols
