	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ix86_expand_strlen             ## -- Begin function ix86_expand_strlen
	.p2align	4, 0x90
_ix86_expand_strlen:                    ## @ix86_expand_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	_TARGET_UNROLL_STRLEN@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.1:
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_7
## %bb.2:
	movq	_optimize@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_7
## %bb.3:
	movq	_TARGET_INLINE_ALL_STRINGOPS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.4:
	movq	_optimize_size@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	%r13, %rdi
	callq	_GET_CODE
	movq	_CONST_INT@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.6:
	movq	%r13, %rdi
	callq	_INTVAL
	cmpl	$4, %eax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jl	LBB0_18
LBB0_7:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_Pmode@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_force_reg
	movq	%rax, %r14
	movl	(%r13), %edi
	callq	_gen_reg_rtx
	movq	%rax, %rbx
	cmpq	$0, (%r15)
	je	LBB0_14
## %bb.8:
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_14
## %bb.9:
	movq	_optimize@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_14
## %bb.10:
	movq	_optimize_size@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_14
## %bb.11:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_emit_move_insn
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_ix86_expand_strlensi_unroll_1
	movq	_TARGET_64BIT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_gen_subdi3
	jmp	LBB0_17
LBB0_14:
	movl	(%r13), %edi
	callq	_gen_reg_rtx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	callq	_gen_reg_rtx
	movq	%rax, %r15
	movl	(%r13), %edi
	movq	_constm1_rtx@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_force_reg
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_emit_move_insn
	movq	_QImode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_force_reg
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_gen_cld
	movl	%eax, %edi
	callq	_emit_insn
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_replace_equiv_address_nv
	movq	%rbx, %r12
	movl	(%r13), %ebx
	movl	$4, %edi
	movq	%rax, %rsi
	movq	%r14, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	callq	_gen_rtvec
	movq	_UNSPEC_SCAS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movq	%r12, %rbx
	movl	%eax, %esi
	callq	_gen_rtx_UNSPEC
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_gen_strlenqi_1
	movl	%eax, %edi
	callq	_emit_insn
	movq	_TARGET_64BIT@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.15:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gen_one_cmpldi2
	movl	%eax, %edi
	callq	_emit_insn
	movq	_constm1_rtx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_gen_adddi3
	jmp	LBB0_17
LBB0_16:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_gen_one_cmplsi2
	movl	%eax, %edi
	callq	_emit_insn
	movq	_constm1_rtx@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_gen_addsi3
	jmp	LBB0_17
LBB0_13:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_gen_subsi3
LBB0_17:
	movl	%eax, %edi
	callq	_emit_insn
	movl	$1, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TARGET_UNROLL_STRLEN,8,3       ## @TARGET_UNROLL_STRLEN
	.comm	_const0_rtx,8,3                 ## @const0_rtx
	.comm	_optimize,4,2                   ## @optimize
	.comm	_TARGET_INLINE_ALL_STRINGOPS,4,2 ## @TARGET_INLINE_ALL_STRINGOPS
	.comm	_optimize_size,4,2              ## @optimize_size
	.comm	_CONST_INT,8,3                  ## @CONST_INT
	.comm	_Pmode,4,2                      ## @Pmode
	.comm	_TARGET_64BIT,8,3               ## @TARGET_64BIT
	.comm	_constm1_rtx,8,3                ## @constm1_rtx
	.comm	_QImode,4,2                     ## @QImode
	.comm	_UNSPEC_SCAS,4,2                ## @UNSPEC_SCAS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ix86_expand_strlen             ; -- Begin function ix86_expand_strlen
	.p2align	2
_ix86_expand_strlen:                    ; @ix86_expand_strlen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x19, _TARGET_UNROLL_STRLEN@GOTPAGE
Lloh1:
	ldr	x19, [x19, _TARGET_UNROLL_STRLEN@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x26, _const0_rtx@GOTPAGE
Lloh3:
	ldr	x26, [x26, _const0_rtx@GOTPAGEOFF]
Lloh4:
	adrp	x27, _optimize@GOTPAGE
Lloh5:
	ldr	x27, [x27, _optimize@GOTPAGEOFF]
Lloh6:
	adrp	x11, _optimize_size@GOTPAGE
Lloh7:
	ldr	x11, [x11, _optimize_size@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x26]
	ldr	w9, [x27]
Lloh8:
	adrp	x10, _TARGET_INLINE_ALL_STRINGOPS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TARGET_INLINE_ALL_STRINGOPS@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	ldr	w11, [x11]
	cmp	x8, x22
	ccmp	w9, #2, #8, eq
	ccmp	w10, #0, #0, ge
	ccmp	w11, #0, #0, eq
	b.eq	LBB0_6
LBB0_2:
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
Lloh11:
	adrp	x28, _Pmode@GOTPAGE
Lloh12:
	ldr	x28, [x28, _Pmode@GOTPAGEOFF]
	ldr	w23, [x28]
	mov	x0, x21
	mov	w1, #0
	bl	_XEXP
	mov	x1, x0
	mov	x0, x23
	bl	_force_reg
	mov	x25, x0
	ldr	w0, [x28]
	bl	_gen_reg_rtx
	mov	x24, x0
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x26]
	ldr	w9, [x27]
Lloh13:
	adrp	x10, _optimize_size@GOTPAGE
Lloh14:
	ldr	x10, [x10, _optimize_size@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	x8, x22
	ccmp	w9, #2, #8, eq
	ccmp	w10, #0, #0, ge
	b.eq	LBB0_9
LBB0_4:
	ldr	w0, [x28]
	bl	_gen_reg_rtx
	mov	x23, x0
	ldr	w0, [x28]
	bl	_gen_reg_rtx
	mov	x26, x0
	ldr	w0, [x28]
Lloh16:
	adrp	x19, _constm1_rtx@GOTPAGE
Lloh17:
	ldr	x19, [x19, _constm1_rtx@GOTPAGEOFF]
	ldr	x1, [x19]
	bl	_force_reg
	mov	x27, x0
	mov	x0, x26
	mov	x1, x25
	bl	_emit_move_insn
Lloh18:
	adrp	x8, _QImode@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QImode@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_force_reg
	mov	x22, x0
	bl	_gen_cld
	bl	_emit_insn
	mov	x0, x21
	mov	x1, x26
	bl	_replace_equiv_address_nv
	mov	x1, x0
	ldr	w21, [x28]
	mov	w0, #4
	mov	x2, x22
	mov	x3, x20
	mov	x4, x27
	bl	_gen_rtvec
	mov	x1, x0
Lloh21:
	adrp	x8, _UNSPEC_SCAS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UNSPEC_SCAS@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_gen_rtx_UNSPEC
	mov	x2, x0
	mov	x0, x24
	mov	x1, x26
	bl	_gen_strlenqi_1
	bl	_emit_insn
Lloh24:
	adrp	x8, _TARGET_64BIT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TARGET_64BIT@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.5:
	mov	x0, x23
	mov	x1, x24
	bl	_gen_one_cmpldi2
	bl	_emit_insn
	ldr	x2, [x19]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x23
	bl	_gen_adddi3
	b	LBB0_13
LBB0_6:
	mov	x0, x20
	bl	_GET_CODE
Lloh27:
	adrp	x8, _CONST_INT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CONST_INT@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_INTVAL
	cmp	w0, #4
	b.ge	LBB0_2
LBB0_8:
	mov	w0, #0
	b	LBB0_14
LBB0_9:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x19
	mov	x1, x25
	bl	_emit_move_insn
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ix86_expand_strlensi_unroll_1
Lloh30:
	adrp	x8, _TARGET_64BIT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TARGET_64BIT@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.10:
	mov	x0, x19
	mov	x1, x19
	mov	x2, x25
	bl	_gen_subdi3
	b	LBB0_13
LBB0_11:
	mov	x0, x23
	mov	x1, x24
	bl	_gen_one_cmplsi2
	bl	_emit_insn
	ldr	x2, [x19]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x23
	bl	_gen_addsi3
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x19
	mov	x2, x25
	bl	_gen_subsi3
LBB0_13:
	bl	_emit_insn
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_TARGET_UNROLL_STRLEN,8,3       ; @TARGET_UNROLL_STRLEN
	.comm	_const0_rtx,8,3                 ; @const0_rtx
	.comm	_optimize,4,2                   ; @optimize
	.comm	_TARGET_INLINE_ALL_STRINGOPS,4,2 ; @TARGET_INLINE_ALL_STRINGOPS
	.comm	_optimize_size,4,2              ; @optimize_size
	.comm	_CONST_INT,8,3                  ; @CONST_INT
	.comm	_Pmode,4,2                      ; @Pmode
	.comm	_TARGET_64BIT,8,3               ; @TARGET_64BIT
	.comm	_constm1_rtx,8,3                ; @constm1_rtx
	.comm	_QImode,4,2                     ; @QImode
	.comm	_UNSPEC_SCAS,4,2                ; @UNSPEC_SCAS
.subsections_via_symbols
