	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strncasecmp                    ## -- Begin function strncasecmp
	.p2align	4, 0x90
_strncasecmp:                           ## @strncasecmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	movq	_charmap@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	decq	%rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rcx), %r9d
	movzbl	(%rsi,%rcx), %r10d
	movq	(%r8,%r9,8), %rax
	movq	(%r8,%r10,8), %r10
	cmpq	%r10, %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	testb	%r9b, %r9b
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rcx), %r9
	cmpq	%rcx, %rdx
	movq	%r9, %rcx
	jne	LBB0_2
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	subl	%r10d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_charmap,8,3                    ## @charmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strncasecmp                    ; -- Begin function strncasecmp
	.p2align	2
_strncasecmp:                           ; @strncasecmp
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _charmap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _charmap@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x9, x2, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0]
	ldrb	w12, [x1]
	ldr	x11, [x8, x10, lsl #3]
	ldr	x12, [x8, x12, lsl #3]
	cmp	x11, x12
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	add	x1, x1, #1
	cmp	w10, #0
	ccmp	x9, #0, #4, ne
	sub	x9, x9, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #0
	ret
LBB0_5:
	sub	w0, w11, w12
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_charmap,8,3                    ; @charmap
.subsections_via_symbols
