	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function output_sixel
_output_sixel:                          ## @output_sixel
	.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
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_sixel_write@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sixel_output_create
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_sixel_dither_create
	movq	%rax, %rdi
	movq	_SIXEL_LARGE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_SIXEL_REP_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SIXEL_QUALITY_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movl	%r12d, %edx
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %ecx
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, %r8d
	pushq	%rbx
	pushq	%rax
	callq	_sixel_dither_initialize
	addq	$16, %rsp
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_SIXEL_FAILED
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	callq	_sixel_encode
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_SIXEL_FAILED
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_sixel_output_unref
	movq	%r14, %rdi
	callq	_sixel_dither_unref
LBB0_3:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sixel_write,4,2                ## @sixel_write
	.comm	_stdout,4,2                     ## @stdout
	.comm	_SIXEL_LARGE_AUTO,4,2           ## @SIXEL_LARGE_AUTO
	.comm	_SIXEL_REP_AUTO,4,2             ## @SIXEL_REP_AUTO
	.comm	_SIXEL_QUALITY_AUTO,4,2         ## @SIXEL_QUALITY_AUTO
	.no_dead_strip	_output_sixel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output_sixel
_output_sixel:                          ; @output_sixel
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _sixel_write@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sixel_write@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _stdout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_sixel_output_create
	mov	x19, x0
	mov	x0, x20
	bl	_sixel_dither_create
	mov	x20, x0
Lloh6:
	adrp	x8, _SIXEL_LARGE_AUTO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIXEL_LARGE_AUTO@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x8, _SIXEL_REP_AUTO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SIXEL_REP_AUTO@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
Lloh12:
	adrp	x8, _SIXEL_QUALITY_AUTO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIXEL_QUALITY_AUTO@GOTPAGEOFF]
Lloh14:
	ldr	w7, [x8]
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	bl	_sixel_dither_initialize
	mov	x25, x0
	bl	_SIXEL_FAILED
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_sixel_encode
	mov	x25, x0
	bl	_SIXEL_FAILED
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_sixel_output_unref
	mov	x0, x20
	bl	_sixel_dither_unref
LBB0_3:
	mov	x0, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sixel_write,4,2                ; @sixel_write
	.comm	_stdout,4,2                     ; @stdout
	.comm	_SIXEL_LARGE_AUTO,4,2           ; @SIXEL_LARGE_AUTO
	.comm	_SIXEL_REP_AUTO,4,2             ; @SIXEL_REP_AUTO
	.comm	_SIXEL_QUALITY_AUTO,4,2         ; @SIXEL_QUALITY_AUTO
	.no_dead_strip	_output_sixel
.subsections_via_symbols
