	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btowc_l                        ## -- Begin function btowc_l
	.p2align	4, 0x90
_btowc_l:                               ## @btowc_l
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movl	$0, -24(%rbp)
	movl	%esi, %edi
	callq	_FIX_LOCALE
	movq	_EOF@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movb	%bl, -17(%rbp)
	movl	%r14d, %edi
	callq	_XLOCALE_CTYPE
	leaq	-28(%rbp), %rbx
	leaq	-17(%rbp), %rsi
	leaq	-24(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	*(%rax)
	cmpl	$2, %eax
	jl	LBB0_3
LBB0_2:
	movq	_WEOF@GOTPCREL(%rip), %rbx
LBB0_3:
	movl	(%rbx), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.comm	_WEOF,4,2                       ## @WEOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_btowc_l                        ; -- Begin function btowc_l
	.p2align	2
_btowc_l:                               ; @btowc_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #12]
	mov	x0, x1
	bl	_FIX_LOCALE
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _WEOF@GOTPAGE
Lloh4:
	ldr	x21, [x21, _WEOF@GOTPAGEOFF]
	cmp	w8, w20
	b.eq	LBB0_2
; %bb.1:
	strb	w20, [sp, #11]
	mov	x0, x19
	bl	_XLOCALE_CTYPE
	ldr	x8, [x0]
	add	x19, sp, #4
	add	x0, sp, #4
	add	x1, sp, #11
	add	x3, sp, #12
	mov	w2, #1
	blr	x8
	cmp	w0, #1
	csel	x21, x21, x19, gt
LBB0_2:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.comm	_WEOF,4,2                       ; @WEOF
.subsections_via_symbols
