	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _citrus_BIG5_fill_rowcol
__citrus_BIG5_fill_rowcol:              ## @_citrus_BIG5_fill_rowcol
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$255, %edx
	jg	LBB0_2
## %bb.1:
	movl	%ecx, %r14d
	cmpl	$256, %ecx                      ## imm = 0x100
	jge	LBB0_2
## %bb.3:
	movl	%edx, %ebx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_strcmp
	testq	%rax, %rax
	setne	%cl
	movl	$1, %r11d
	shll	%cl, %r11d
	movl	%r14d, %esi
	subl	%ebx, %esi
	jl	LBB0_19
## %bb.4:
	movq	(%r15), %rcx
	leal	1(%rsi), %r10d
	cmpl	$8, %r10d
	jae	LBB0_5
LBB0_15:
	leal	1(%r14), %eax
	movl	%eax, %esi
	subl	%ebx, %esi
	subl	%ebx, %r14d
	andl	$3, %esi
	je	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%bl, %edx
	orl	%r11d, (%rcx,%rdx,4)
	incl	%ebx
	decl	%esi
	jne	LBB0_16
LBB0_17:
	cmpl	$3, %r14d
	jb	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%bl, %edx
	orl	%r11d, (%rcx,%rdx,4)
	leal	1(%rbx), %edx
	movzbl	%dl, %edx
	orl	%r11d, (%rcx,%rdx,4)
	leal	2(%rbx), %edx
	movzbl	%dl, %edx
	orl	%r11d, (%rcx,%rdx,4)
	leal	3(%rbx), %edx
	movzbl	%dl, %edx
	orl	%r11d, (%rcx,%rdx,4)
	addl	$4, %ebx
	cmpl	%ebx, %eax
	jne	LBB0_18
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%esi, %eax
	addb	%bl, %al
	jb	LBB0_15
## %bb.6:
	cmpl	$255, %esi
	ja	LBB0_15
## %bb.7:
	movl	%r10d, %r8d
	andl	$-8, %r8d
	movd	%r11d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leal	-8(%r8), %eax
	movl	%eax, %r9d
	shrl	$3, %r9d
	incl	%r9d
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movl	%r9d, %eax
	andl	$-2, %eax
	xorl	%edi, %edi
	movl	%ebx, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%sil, %edx
	movdqu	(%rcx,%rdx,4), %xmm1
	movdqu	16(%rcx,%rdx,4), %xmm2
	por	%xmm0, %xmm1
	por	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rdx,4)
	movdqu	%xmm2, 16(%rcx,%rdx,4)
	leal	8(%rsi), %edx
	movzbl	%dl, %edx
	movdqu	(%rcx,%rdx,4), %xmm1
	movdqu	16(%rcx,%rdx,4), %xmm2
	por	%xmm0, %xmm1
	por	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rdx,4)
	movdqu	%xmm2, 16(%rcx,%rdx,4)
	addl	$16, %edi
	addl	$16, %esi
	addl	$-2, %eax
	jne	LBB0_10
## %bb.11:
	testb	$1, %r9b
	je	LBB0_13
LBB0_12:
	addl	%ebx, %edi
	movzbl	%dil, %eax
	movdqu	(%rcx,%rax,4), %xmm1
	movdqu	16(%rcx,%rax,4), %xmm2
	por	%xmm0, %xmm1
	por	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rax,4)
	movdqu	%xmm2, 16(%rcx,%rax,4)
LBB0_13:
	xorl	%eax, %eax
	cmpl	%r8d, %r10d
	je	LBB0_20
## %bb.14:
	addl	%ebx, %r8d
	movl	%r8d, %ebx
	jmp	LBB0_15
LBB0_8:
	xorl	%edi, %edi
	testb	$1, %r9b
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"row"

	.no_dead_strip	__citrus_BIG5_fill_rowcol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _citrus_BIG5_fill_rowcol
__citrus_BIG5_fill_rowcol:              ; @_citrus_BIG5_fill_rowcol
	.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
	cmp	w2, #255
	b.gt	LBB0_5
; %bb.1:
	mov	x20, x3
	cmp	w3, #256
	b.ge	LBB0_5
; %bb.2:
	mov	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w8, ne
	subs	w11, w20, w19
	b.lt	LBB0_14
; %bb.3:
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	x9, [x21]
	add	w10, w20, #1
	sub	w12, w10, w19
	cmp	w12, #16
	b.hs	LBB0_6
; %bb.4:
	mov	x11, x19
	b	LBB0_13
LBB0_5:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_6:
	mvn	w13, w19
	and	w13, w13, #0xff
	cmp	w13, w11, uxtb
	b.lo	LBB0_12
; %bb.7:
	cmp	w11, #255
	b.hi	LBB0_11
; %bb.8:
	and	w13, w12, #0xfffffff0
	add	w11, w13, w19
	dup.4s	v0, w8
	mov	x14, x13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	and	w15, w19, #0xff
	add	x15, x9, w15, uxtw #2
	ldp	q1, q2, [x15]
	ldp	q3, q4, [x15, #32]
	orr.16b	v1, v1, v0
	orr.16b	v2, v2, v0
	orr.16b	v3, v3, v0
	orr.16b	v4, v4, v0
	stp	q1, q2, [x15]
	stp	q3, q4, [x15, #32]
	add	w19, w19, #16
	subs	w14, w14, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	w12, w13
	b.ne	LBB0_13
	b	LBB0_14
LBB0_11:
	mov	x11, x19
	b	LBB0_13
LBB0_12:
	mov	x11, x19
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	and	w12, w11, #0xff
	lsl	x12, x12, #2
	ldr	w13, [x9, x12]
	orr	w13, w13, w8
	str	w13, [x9, x12]
	add	w11, w11, #1
	cmp	w10, w11
	b.ne	LBB0_13
LBB0_14:
	mov	w0, #0
LBB0_15:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"row"

	.no_dead_strip	__citrus_BIG5_fill_rowcol
.subsections_via_symbols
