	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function putpixel8
_putpixel8:                             ## @putpixel8
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	_vdp1interlace@GOTPCREL(%rip), %rsi
	movl	%r13d, %eax
	cltd
	idivl	(%rsi)
	movl	%eax, %r14d
	movq	_vdp1width@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	imull	%r14d, %r15d
	addl	%edi, %r15d
	cmpl	$262143, %r15d                  ## imm = 0x3FFFF
	jg	LBB0_8
## %bb.1:
	movl	(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movq	%rcx, %r12
	callq	_CheckDil
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	%rbx, %rdx
	movq	_currentPixel@GOTPCREL(%rip), %rbx
	movzbl	(%rbx), %eax
	movl	%eax, (%rbx)
	testl	$256, -44(%rbp)                 ## 4-byte Folded Reload
                                        ## imm = 0x100
	je	LBB0_4
## %bb.3:
	xorl	%edi, %r14d
	testb	$1, %r14b
	jne	LBB0_8
LBB0_4:
	movl	%r13d, %esi
	movq	%r12, %rcx
	callq	_IsClipped
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movl	(%rbx), %eax
	testb	$64, -44(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_7
## %bb.6:
	movq	_currentPixelIsVisible@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
LBB0_7:
	movslq	%r15d, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vdp1interlace,4,2              ## @vdp1interlace
	.comm	_vdp1width,4,2                  ## @vdp1width
	.comm	_currentPixel,4,2               ## @currentPixel
	.comm	_currentPixelIsVisible,4,2      ## @currentPixelIsVisible
	.no_dead_strip	_putpixel8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function putpixel8
_putpixel8:                             ; @putpixel8
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _vdp1interlace@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vdp1interlace@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w26, w1, w8
Lloh3:
	adrp	x8, _vdp1width@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vdp1width@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	madd	w24, w8, w26, w0
	cmp	w24, #64, lsl #12               ; =262144
	b.ge	LBB0_8
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w25, [x3]
	mov	x0, x1
	mov	x1, x2
	bl	_CheckDil
	cbnz	x0, LBB0_8
; %bb.2:
Lloh6:
	adrp	x27, _currentPixel@GOTPAGE
Lloh7:
	ldr	x27, [x27, _currentPixel@GOTPAGEOFF]
	ldrb	w8, [x27]
	str	w8, [x27]
	tbz	w25, #8, LBB0_4
; %bb.3:
	eor	w8, w26, w23
	tbnz	w8, #0, LBB0_8
LBB0_4:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_IsClipped
	cbnz	x0, LBB0_8
; %bb.5:
	ldr	w8, [x27]
	tbnz	w25, #6, LBB0_7
; %bb.6:
Lloh8:
	adrp	x9, _currentPixelIsVisible@GOTPAGE
Lloh9:
	ldr	x9, [x9, _currentPixelIsVisible@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_7:
	sxtw	x9, w24
	str	w8, [x19, x9, lsl #2]
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_vdp1interlace,4,2              ; @vdp1interlace
	.comm	_vdp1width,4,2                  ; @vdp1width
	.comm	_currentPixel,4,2               ; @currentPixel
	.comm	_currentPixelIsVisible,4,2      ; @currentPixelIsVisible
	.no_dead_strip	_putpixel8
.subsections_via_symbols
