	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stristr
_stristr:                               ## @stristr
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpb	$0, (%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movb	$1, %cl
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movb	(%r14), %al
	testb	%al, %al
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	%cl, %cl
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%al, %edi
	callq	_toupper
	movq	%rax, %r12
	movsbl	(%r15,%rbx), %edi
	callq	_toupper
	cmpq	%rax, %r12
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movzbl	1(%r14,%rbx), %eax
	testb	%al, %al
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	leaq	1(%rbx), %rcx
	cmpb	$0, 1(%r15,%rbx)
	movq	%rcx, %rbx
	jne	LBB0_6
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rcx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	cmpb	$0, (%r14,%rax)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	1(%r15), %cl
	incq	%r15
	testb	%cl, %cl
	jne	LBB0_2
LBB0_12:
	xorl	%r15d, %r15d
LBB0_13:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stristr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stristr
_stristr:                               ; @stristr
	.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
	ldrb	w8, [x0]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	add	x22, x1, #1
	mov	w9, #1
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldrb	w8, [x20]
	cbz	w8, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	cbz	w9, LBB0_7
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w0, w8
	bl	_toupper
	mov	x21, x0
	ldrsb	w0, [x19, x23]
	bl	_toupper
	cmp	x21, x0
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldrb	w8, [x22, x23]
	cbz	w8, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	add	x9, x19, x23
	ldrb	w9, [x9, #1]
	add	x23, x23, #1
	cbnz	w9, LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x20, w23, uxtw]
	cbz	w8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w9, [x19, #1]!
	cbnz	w9, LBB0_2
LBB0_9:
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	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
	.no_dead_strip	_stristr
.subsections_via_symbols
