	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_strlen                       ## -- Begin function c_strlen
	.p2align	4, 0x90
_c_strlen:                              ## @c_strlen
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_STRIP_NOPS
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	testl	%r15d, %r15d
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_c_strlen
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_c_strlen
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_tree_int_cst_equal
	testq	%rax, %rax
	jne	LBB0_23
	jmp	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	callq	_TREE_SIDE_EFFECTS
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_COMPOUND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	testl	%r15d, %r15d
	je	LBB0_6
LBB0_24:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_c_strlen                       ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rdi
	callq	_TREE_SIDE_EFFECTS
	testl	%eax, %eax
	je	LBB0_24
LBB0_7:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_string_constant
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_23
## %bb.8:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TREE_STRING_LENGTH
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_TREE_STRING_POINTER
	movq	%rax, %rbx
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.9:
	callq	_TREE_CODE
	movq	_INTEGER_CST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.15:
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.16:
	xorl	%esi, %esi
	callq	_host_integerp
	testl	%eax, %eax
	je	LBB0_20
## %bb.17:
	movq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_tree_low_cst
	movl	%eax, %r14d
LBB0_18:
	testl	%r14d, %r14d
	js	LBB0_20
## %bb.19:
	cmpl	%r15d, %r14d
	jge	LBB0_20
## %bb.21:
	movl	%r14d, %eax
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %edi
	callq	_ssize_int
	jmp	LBB0_22
LBB0_20:
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_warning
	jmp	LBB0_23
LBB0_10:
	leal	-1(%r15), %edi
	cmpl	$2, %r15d
	jl	LBB0_14
## %bb.11:
	movl	%edi, %eax
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx,%rcx)
	je	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_13
LBB0_14:
	callq	_size_int
	movq	-32(%rbp), %rsi
	movl	%eax, %edi
	callq	_size_diffop
LBB0_22:
	movq	%rax, %r14
LBB0_23:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.comm	_COMPOUND_EXPR,8,3              ## @COMPOUND_EXPR
	.comm	_INTEGER_CST,8,3                ## @INTEGER_CST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"offset outside bounds of constant string"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_c_strlen                       ; -- Begin function c_strlen
	.p2align	2
_c_strlen:                              ; @c_strlen
	.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
	bl	_STRIP_NOPS
	mov	x0, x20
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _COND_EXPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COND_EXPR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	cbz	w19, LBB0_3
LBB0_2:
	mov	x0, x20
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x1, x19
	bl	_c_strlen
	mov	x21, x0
	mov	x0, x20
	mov	w1, #2
	bl	_TREE_OPERAND
	mov	x1, x19
	bl	_c_strlen
	mov	x1, x0
	mov	x0, x21
	bl	_tree_int_cst_equal
	cbnz	x0, LBB0_25
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	bl	_TREE_SIDE_EFFECTS
	cbz	w0, LBB0_2
LBB0_4:
	mov	x0, x20
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _COMPOUND_EXPR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMPOUND_EXPR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.5:
	cbz	w19, LBB0_7
LBB0_6:
	mov	x0, x20
	mov	w1, #1
	bl	_TREE_OPERAND
	mov	x1, 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
	add	sp, sp, #64
	b	_c_strlen
LBB0_7:
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	bl	_TREE_SIDE_EFFECTS
	cbz	w0, LBB0_6
LBB0_8:
	add	x1, sp, #8
	mov	x0, x20
	bl	_string_constant
	cbz	x0, LBB0_24
; %bb.9:
	mov	x19, x0
	bl	_TREE_STRING_LENGTH
	mov	x20, x0
	mov	x0, x19
	bl	_TREE_STRING_POINTER
	mov	x19, x0
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_14
; %bb.10:
	bl	_TREE_CODE
Lloh6:
	adrp	x8, _INTEGER_CST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INTEGER_CST@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.11:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_14
; %bb.12:
	mov	w1, #0
	bl	_host_integerp
	cbz	w0, LBB0_17
; %bb.13:
	ldr	x0, [sp, #8]
	mov	w1, #0
	bl	_tree_low_cst
LBB0_14:
	tbnz	w0, #31, LBB0_17
; %bb.15:
	cmp	w0, w20
	b.ge	LBB0_17
; %bb.16:
	add	x0, x19, w0, uxtw
	bl	_strlen
	bl	_ssize_int
	b	LBB0_23
LBB0_17:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_warning
	mov	x21, #0
	b	LBB0_25
LBB0_18:
	sub	w0, w20, #1
	cmp	w20, #2
	b.lt	LBB0_22
; %bb.19:
	mov	x8, x0
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x19]
	cbz	w9, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x19, x19, #1
	subs	x8, x8, #1
	b.ne	LBB0_20
LBB0_22:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_size_int
	ldr	x1, [sp, #8]
	bl	_size_diffop
LBB0_23:
	mov	x21, x0
	b	LBB0_25
LBB0_24:
	mov	x21, #0
LBB0_25:
	mov	x0, 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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_COND_EXPR,8,3                  ; @COND_EXPR
	.comm	_COMPOUND_EXPR,8,3              ; @COMPOUND_EXPR
	.comm	_INTEGER_CST,8,3                ; @INTEGER_CST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"offset outside bounds of constant string"

.subsections_via_symbols
