	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_strncasecmp                 ## -- Begin function pg_strncasecmp
	.p2align	4, 0x90
_pg_strncasecmp:                        ## @pg_strncasecmp
	.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
	movq	%rsi, %r13
	xorl	%r12d, %r12d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r12
	testb	%bl, %bl
	je	LBB0_16
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %rdx
	je	LBB0_16
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rdi,%r12), %ebx
	movzbl	(%r13,%r12), %r14d
	cmpb	%r14b, %bl
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	-65(%rbx), %eax
	cmpb	$25, %al
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	addb	$32, %bl
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%bl, %r15d
	movl	%r15d, %edi
	callq	_IS_HIGHBIT_SET
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edi
	callq	_isupper
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edi
	callq	_tolower
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	-65(%r14), %eax
	cmpb	$25, %al
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	addb	$32, %r14b
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movzbl	%r14b, %r15d
	movl	%r15d, %edi
	callq	_IS_HIGHBIT_SET
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edi
	callq	_isupper
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %edi
	callq	_tolower
	movl	%eax, %r14d
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	%r14b, %bl
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_18:
	movzbl	%r14b, %ecx
	movzbl	%bl, %eax
	subl	%ecx, %eax
LBB0_17:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_strncasecmp                 ; -- Begin function pg_strncasecmp
	.p2align	2
_pg_strncasecmp:                        ; @pg_strncasecmp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #32
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w22, #0xff
	subs	w0, w8, w23, uxtb
	b.ne	LBB0_16
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x19, x19, #1
	and	w8, w22, #0xff
	cbz	w8, LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x19, LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w22, [x21], #1
	ldrb	w23, [x20], #1
	cmp	w22, w23
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w22, #65
	cmp	w8, #25
	b.hi	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #32
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_IS_HIGHBIT_SET
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_isupper
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_tolower
	mov	x22, x0
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w23, #65
	cmp	w8, #25
	b.ls	LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_IS_HIGHBIT_SET
	cbz	x0, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_isupper
	cbz	x0, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_tolower
	mov	x23, x0
	b	LBB0_2
LBB0_15:
	mov	w0, #0
LBB0_16:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
