	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageSetPixel                ## -- Begin function gdImageSetPixel
	.p2align	4, 0x90
_gdImageSetPixel:                       ## @gdImageSetPixel
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	cmpl	$137, %ebx
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	16(%r12), %ebx
	cmpl	$137, %ebx
	je	LBB0_15
LBB0_2:
	leal	-128(%rbx), %eax
	cmpl	$8, %eax
	ja	LBB0_16
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdImageTileApply               ## TAILCALL
LBB0_9:
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.10:
	movslq	8(%r12), %rdx
	leal	1(%rdx), %eax
	movl	%eax, 8(%r12)
	movl	(%rcx,%rdx,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.11:
	movq	_gdTransparent@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_8
## %bb.12:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_gdImageBrushApply
	jmp	LBB0_7
LBB0_4:
	movq	(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_27
## %bb.5:
	movslq	8(%r12), %rdx
	leal	1(%rdx), %eax
	movl	%eax, 8(%r12)
	movl	(%rcx,%rdx,4), %ecx
	movq	_gdTransparent@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_8
## %bb.6:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_gdImageSetPixel
LBB0_7:
	movl	8(%r12), %eax
LBB0_8:
	cltd
	idivl	12(%r12)
	movl	%edx, 8(%r12)
	jmp	LBB0_27
LBB0_13:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gdImageBrushApply              ## TAILCALL
LBB0_16:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_gdImageBoundsSafe
	testl	%eax, %eax
	je	LBB0_27
## %bb.17:
	cmpl	$0, 44(%r12)
	je	LBB0_25
## %bb.18:
	movl	$-132, %eax
	addl	40(%r12), %eax
	cmpl	$3, %eax
	ja	LBB0_20
## %bb.19:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_21:
	movq	24(%r12), %rax
	movslq	%r15d, %r15
	movq	(%rax,%r15,8), %rax
	movslq	%r14d, %r14
	movl	(%rax,%r14,4), %edi
	movl	%ebx, %esi
	callq	_gdAlphaBlend
	jmp	LBB0_22
LBB0_25:
	movq	32(%r12), %rax
	jmp	LBB0_26
LBB0_20:
	movq	24(%r12), %rax
LBB0_26:
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %rax
	movslq	%r14d, %rcx
	movl	%ebx, (%rax,%rcx,4)
	jmp	LBB0_27
LBB0_23:
	movq	24(%r12), %rax
	movslq	%r15d, %r15
	movq	(%rax,%r15,8), %rax
	movslq	%r14d, %r14
	movl	(%rax,%r14,4), %edi
	movl	%ebx, %esi
	callq	_gdLayerOverlay
	jmp	LBB0_22
LBB0_24:
	movq	24(%r12), %rax
	movslq	%r15d, %r15
	movq	(%rax,%r15,8), %rax
	movslq	%r14d, %r14
	movl	(%rax,%r14,4), %edi
	movl	%ebx, %esi
	callq	_gdLayerMultiply
LBB0_22:
	movq	24(%r12), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	%eax, (%rcx,%r14,4)
LBB0_27:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_13
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
LJTI0_1:
	.long	L0_1_set_23
	.long	L0_1_set_21
	.long	L0_1_set_24
	.long	L0_1_set_21
	.end_data_region
                                        ## -- End function
	.comm	_gdTransparent,4,2              ## @gdTransparent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gdImageSetPixel                ; -- Begin function gdImageSetPixel
	.p2align	2
_gdImageSetPixel:                       ; @gdImageSetPixel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	w22, #137
	b.ne	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x19, #16]
	cmp	w22, #137
	b.eq	LBB0_1
LBB0_2:
	sub	w8, w22, #128
	cmp	w8, #8
	b.hi	LBB0_14
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gdImageTileApply
LBB0_5:
	ldr	x9, [x19]
	cbz	x9, LBB0_25
; %bb.6:
	ldrsw	x10, [x19, #8]
	add	w8, w10, #1
	str	w8, [x19, #8]
	ldr	w9, [x9, x10, lsl #2]
Lloh2:
	adrp	x10, _gdTransparent@GOTPAGE
Lloh3:
	ldr	x10, [x10, _gdTransparent@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	w9, #0
	ccmp	w9, w10, #4, ne
	b.eq	LBB0_12
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_gdImageBrushApply
	b	LBB0_11
LBB0_8:
	ldr	x9, [x19]
	cbz	x9, LBB0_25
; %bb.9:
	ldrsw	x10, [x19, #8]
	add	w8, w10, #1
	str	w8, [x19, #8]
	ldr	w3, [x9, x10, lsl #2]
Lloh5:
	adrp	x9, _gdTransparent@GOTPAGE
Lloh6:
	ldr	x9, [x9, _gdTransparent@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w3, w9
	b.eq	LBB0_12
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_gdImageSetPixel
LBB0_11:
	ldr	w8, [x19, #8]
LBB0_12:
	ldr	w9, [x19, #12]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x19, #8]
	b	LBB0_25
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gdImageBrushApply
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_gdImageBoundsSafe
	cbz	w0, LBB0_25
; %bb.15:
	ldr	w8, [x19, #44]
	cbz	w8, LBB0_19
; %bb.16:
	ldr	w8, [x19, #40]
	sub	w8, w8, #132
	cmp	w8, #3
	b.hi	LBB0_20
; %bb.17:
Lloh8:
	adrp	x9, lJTI0_1@PAGE
Lloh9:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
	ldr	x8, [x19, #24]
	sbfiz	x21, x21, #3, #32
	ldr	x8, [x8, x21]
	sbfiz	x20, x20, #2, #32
	ldr	w0, [x8, x20]
	mov	x1, x22
	bl	_gdAlphaBlend
	b	LBB0_24
LBB0_19:
	ldr	x8, [x19, #32]
	b	LBB0_21
LBB0_20:
	ldr	x8, [x19, #24]
LBB0_21:
	ldr	x8, [x8, w21, sxtw #3]
	str	w22, [x8, w20, sxtw #2]
	b	LBB0_25
LBB0_22:
	ldr	x8, [x19, #24]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sbfiz	x21, x21, #3, #32
	ldr	x8, [x8, x21]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	sbfiz	x20, x20, #2, #32
	ldr	w0, [x8, x20]
	mov	x1, x22
	bl	_gdLayerOverlay
	b	LBB0_24
LBB0_23:
	ldr	x8, [x19, #24]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sbfiz	x21, x21, #3, #32
	ldr	x8, [x8, x21]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	sbfiz	x20, x20, #2, #32
	ldr	w0, [x8, x20]
	mov	x1, x22
	bl	_gdLayerMultiply
LBB0_24:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21]
	str	w0, [x8, x20]
LBB0_25:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
lJTI0_1:
	.byte	(LBB0_22-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_23-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
                                        ; -- End function
	.comm	_gdTransparent,4,2              ; @gdTransparent
.subsections_via_symbols
