	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_pixel
_put_pixel:                             ## @put_pixel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	js	LBB0_5
## %bb.1:
	testl	%esi, %esi
	js	LBB0_5
## %bb.2:
	movq	_width@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_5
## %bb.3:
	movq	_height@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_5
## %bb.4:
	movq	_rgb_tab@GOTPCREL(%rip), %r9
	movq	_wrap@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	%esi, %rsi
	imulq	%rax, %rsi
	addq	(%r9), %rsi
	movslq	%edi, %rax
	leaq	(%rax,%rax,2), %rax
	movb	%dl, (%rsi,%rax)
	movb	%cl, 1(%rsi,%rax)
	movb	%r8b, 2(%rsi,%rax)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_width,4,2                      ## @width
	.comm	_height,4,2                     ## @height
	.comm	_rgb_tab,8,3                    ## @rgb_tab
	.comm	_wrap,4,2                       ## @wrap
	.no_dead_strip	_put_pixel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_pixel
_put_pixel:                             ; @put_pixel
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	tbnz	w1, #31, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _width@GOTPAGE
Lloh1:
	ldr	x8, [x8, _width@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _height@GOTPAGE
Lloh4:
	ldr	x9, [x9, _height@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w0
	ccmp	w9, w1, #4, gt
	b.le	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _rgb_tab@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rgb_tab@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _wrap@GOTPAGE
Lloh10:
	ldr	x9, [x9, _wrap@GOTPAGEOFF]
Lloh11:
	ldrsw	x9, [x9]
	sxtw	x10, w1
	madd	x8, x9, x10, x8
	sxtw	x9, w0
	add	x9, x9, w0, sxtw #1
	add	x8, x8, x9
	strb	w2, [x8]
	strb	w3, [x8, #1]
	strb	w4, [x8, #2]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_width,4,2                      ; @width
	.comm	_height,4,2                     ; @height
	.comm	_rgb_tab,8,3                    ; @rgb_tab
	.comm	_wrap,4,2                       ; @wrap
	.no_dead_strip	_put_pixel
.subsections_via_symbols
