	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	____toupper_l                   ## -- Begin function ___toupper_l
	.p2align	4, 0x90
____toupper_l:                          ## @___toupper_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_FIX_LOCALE
	movl	%r14d, %edi
	callq	_XLOCALE_CTYPE
	testq	%rbx, %rbx
	js	LBB0_8
## %bb.1:
	movq	_EOF@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	je	LBB0_8
## %bb.2:
	movq	(%rax), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.3:
	movq	8(%rax), %rax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rax,%rdx,8), %rdx
	addq	$24, %rdx
	xorl	%edi, %edi
	cmpq	%rbx, %rsi
	cmovlq	%rdx, %rax
	setl	%dil
	subq	%rdi, %rcx
	movq	%rcx, %rdx
	shrq	%rdx
	cmpq	$1, %rcx
	movq	%rdx, %rcx
	jbe	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	shrq	%rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	(%rax,%rdx,8), %rdi
	movq	8(%rax,%rdx,8), %rsi
	cmpq	%rbx, %rdi
	jg	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rbx, %rsi
	jl	LBB0_7
## %bb.6:
	subq	%rdi, %rbx
	addq	16(%rax,%rdx,8), %rbx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,8,3                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	____toupper_l                   ; -- Begin function ___toupper_l
	.p2align	2
____toupper_l:                          ; @___toupper_l
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_FIX_LOCALE
	mov	x0, x20
	bl	_XLOCALE_CTYPE
	tbnz	x19, #63, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
	b.eq	LBB0_7
; %bb.2:
	ldr	x8, [x0]
	ldr	x9, [x8]
	cbz	x9, LBB0_7
; %bb.3:
	ldr	x8, [x8, #8]
	mov	w10, #24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x11, x9, #1
	madd	x13, x11, x10, x8
	ldp	x12, x14, [x13]
	cmp	x12, x19
	ccmp	x14, x19, #8, le
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x13, #24
	cmp	x14, x19
	csel	x8, x11, x8, lt
	cset	w11, lt
	sub	x11, x9, x11
	lsr	x9, x11, #1
	cmp	x11, #1
	b.hi	LBB0_4
	b	LBB0_7
LBB0_6:
	mov	w9, #24
	madd	x8, x11, x9, x8
	ldr	x8, [x8, #16]
	sub	x9, x19, x12
	add	x19, x9, x8
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,8,3                        ; @EOF
.subsections_via_symbols
