	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_wccl
_convert_wccl:                          ## @convert_wccl
	.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
	movq	%rcx, %r13
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	_SUPPRESS_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%r8d, %esi
	callq	___fgetwc
	movq	%rbx, %rcx
	movq	%rax, %rbx
	movq	_WEOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rcx, %r14
	je	LBB0_11
## %bb.1:
	movq	%rcx, %r14
	cmpq	%rax, %rbx
	je	LBB0_9
## %bb.2:
	testl	%r12d, %r12d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r14
	je	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_inccl
	testq	%rax, %rax
	je	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, (%r14)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	___fgetwc
	movq	%rax, %rbx
	movq	_WEOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %r14
	cmpq	%rax, %rbx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	decl	%r12d
	jne	LBB0_3
LBB0_6:
	cmpq	%rax, %rbx
	je	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	___ungetwc
LBB0_8:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_9:
	movq	%r14, %r15
	subq	%rcx, %r15
	shrq	$3, %r15
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.10:
	movq	$0, (%r14)
	jmp	LBB0_22
LBB0_11:
	movl	%r15d, %r14d
	xorl	%r15d, %r15d
	cmpq	%rax, %rbx
	je	LBB0_22
## %bb.12:
	testl	%r12d, %r12d
	je	LBB0_20
## %bb.13:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_inccl
	testq	%rax, %rax
	je	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	___fgetwc
	movq	%rax, %rbx
	movq	_WEOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	%r15d
	cmpq	%rax, %rbx
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%r15d, %r12d
	jne	LBB0_14
LBB0_20:
	movl	%r12d, %r15d
	cmpq	%rax, %rbx
	je	LBB0_22
	jmp	LBB0_21
LBB0_18:
	xorl	%r15d, %r15d
	jmp	LBB0_22
LBB0_19:
	movq	_WEOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	jne	LBB0_7
	jmp	LBB0_8
LBB0_23:
	movq	_WEOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	je	LBB0_22
LBB0_21:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	___ungetwc
LBB0_22:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPRESS_PTR,8,3               ## @SUPPRESS_PTR
	.comm	_WEOF,8,3                       ## @WEOF
	.no_dead_strip	_convert_wccl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_wccl
_convert_wccl:                          ; @convert_wccl
	.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
	mov	x19, x4
	mov	x23, x3
	mov	x21, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SUPPRESS_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPRESS_PTR@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
	mov	x1, x4
	bl	___fgetwc
	mov	x22, x0
Lloh3:
	adrp	x25, _WEOF@GOTPAGE
Lloh4:
	ldr	x25, [x25, _WEOF@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x26, x24
	b.eq	LBB0_7
; %bb.1:
	mov	x26, x24
	cmp	x22, x8
	b.eq	LBB0_19
; %bb.2:
	cbz	w21, LBB0_14
; %bb.3:
	mov	x27, x24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_inccl
	cbz	x0, LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x27
	str	x22, [x26], #8
	mov	x0, x20
	mov	x1, x19
	bl	___fgetwc
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_18
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	mov	x27, x26
	subs	w21, w21, #1
	b.ne	LBB0_4
	b	LBB0_15
LBB0_7:
	cmp	x22, x8
	b.ne	LBB0_9
; %bb.8:
	mov	w21, #0
	b	LBB0_21
LBB0_9:
	cbz	w21, LBB0_23
; %bb.10:
	mov	w24, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_inccl
	cbz	x0, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w24, w24, #1
	mov	x0, x20
	mov	x1, x19
	bl	___fgetwc
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, x0
	cmp	w21, w24
	b.ne	LBB0_11
	b	LBB0_23
LBB0_14:
	mov	x26, x24
LBB0_15:
	cmp	x22, x8
	b.eq	LBB0_19
LBB0_16:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	___ungetwc
	b	LBB0_19
LBB0_17:
	ldr	x8, [x25]
	mov	x26, x27
	cmp	x22, x8
	b.ne	LBB0_16
	b	LBB0_19
LBB0_18:
	add	x26, x27, #8
LBB0_19:
	sub	x8, x26, x24
	lsr	x21, x8, #3
	cbz	w21, LBB0_21
; %bb.20:
	str	xzr, [x26]
LBB0_21:
	mov	x0, x21
	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
LBB0_22:
	ldr	x8, [x25]
	mov	x21, x24
LBB0_23:
	cmp	x22, x8
	b.eq	LBB0_21
; %bb.24:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	___ungetwc
	b	LBB0_21
LBB0_25:
	mov	x21, x24
	b	LBB0_21
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPRESS_PTR,8,3               ; @SUPPRESS_PTR
	.comm	_WEOF,8,3                       ; @WEOF
	.no_dead_strip	_convert_wccl
.subsections_via_symbols
