	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_gdimagecharup
_php_gdimagecharup:                     ## @php_gdimagecharup
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movl	(%rsi), %eax
	cmpl	%r8d, %eax
	jg	LBB0_12
## %bb.1:
	movq	%rsi, %rbx
	movl	4(%rsi), %ecx
	addl	%eax, %ecx
	cmpl	%r8d, %ecx
	jle	LBB0_12
## %bb.2:
	movl	12(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.3:
	subl	%eax, %r8d
	movl	8(%rbx), %eax
	movl	%eax, %edx
	imull	%ecx, %edx
	imull	%r8d, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	12(%rbx), %ecx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%esi
	decl	%r14d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	subl	%ecx, %edx
	cmpl	%edx, %r14d
	jle	LBB0_12
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testl	%eax, %eax
	jle	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	leal	(%rsi,%rdx), %r13d
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%edx, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rdx
	imull	%r12d, %ecx
	addl	%r13d, %ecx
	movslq	%ecx, %rcx
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_gdImageSetPixel
	movl	8(%rbx), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	incl	%r15d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	cmpl	%ecx, %r15d
	jge	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	incl	%r12d
	movl	12(%rbx), %ecx
	jmp	LBB0_6
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_php_gdimagecharup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_gdimagecharup
_php_gdimagecharup:                     ; @php_gdimagecharup
	.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
	ldr	w8, [x1]
	cmp	w8, w4
	b.gt	LBB0_12
; %bb.1:
	mov	x22, x1
	ldr	w9, [x1, #4]
	add	w9, w9, w8
	cmp	w9, w4
	b.le	LBB0_12
; %bb.2:
	ldr	w9, [x22, #12]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x19, x5
	mov	x20, x3
	mov	x21, x2
	mov	x23, x0
	mov	w26, #0
	sub	w10, w4, w8
	ldr	w8, [x22, #8]
	mul	w10, w8, w10
	mul	w10, w10, w9
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	mov	x24, x3
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x22, #12]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w26, w26, #1
	sub	w24, w24, #1
	sub	w10, w20, w9
	cmp	w24, w10
	b.le	LBB0_12
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w28, #0
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	add	w27, w26, w10
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w25, w21, w28
	ldr	x10, [x22, #16]
	madd	w9, w9, w28, w27
	ldr	x9, [x10, w9, sxtw #3]
	cbz	x9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x23
	mov	x1, x25
	mov	x2, x24
	mov	x3, x19
	bl	_gdImageSetPixel
	ldr	w8, [x22, #8]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	add	w9, w25, #1
	add	w10, w8, w21
	cmp	w9, w10
	b.ge	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	add	w28, w28, #1
	ldr	w9, [x22, #12]
	b	LBB0_8
LBB0_12:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_php_gdimagecharup
.subsections_via_symbols
