	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_avoid_hazards
_mips_avoid_hazards:                    ## @mips_avoid_hazards
	.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
	xorl	%eax, %eax
	callq	_split_all_insns_noflow
	movq	_cfun@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	$1, (%rax)
	xorl	%eax, %eax
	callq	_get_insns
	movq	%rax, %rdi
	callq	_shorten_branches
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	_current_function_profile@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	sete	%dl
	movl	%edx, 4(%rax)
	movq	_TARGET_FIX_VR4120@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movl	$0, %ecx
	cmovel	%edx, %ecx
	movl	%ecx, 4(%rax)
	movq	_TARGET_FIX_VR4130@GOTPCREL(%rip), %rdx
	movq	_ISA_HAS_MACCHI@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, %esi
	cmovnel	%ecx, %esi
	cmpq	$0, (%rdx)
	cmovel	%ecx, %esi
	movl	%esi, 4(%rax)
	movl	$2, -44(%rbp)
	movq	$0, -64(%rbp)
	movq	_SImode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LO_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gen_rtx_REG
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_get_insns
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	leaq	-44(%rbp), %r15
	leaq	-64(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r15
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_NEXT_INSN
	movq	%rax, %rbx
	movq	%r15, %r13
	testq	%rax, %rax
	leaq	-44(%rbp), %r15
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rbx, %rdi
	callq	_INSN_P
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_PATTERN
	movl	%eax, %edi
	callq	_GET_CODE
	movq	_SEQUENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_PATTERN
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_XVECLEN
	movq	%rbx, %r15
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r13
	movq	%r12, %r14
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_PATTERN
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_XVECEXP
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	callq	_mips_avoid_hazard
	incl	%r15d
	movq	%rbx, %rdi
	callq	_PATTERN
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_XVECLEN
	cmpl	%eax, %r15d
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r15
	movq	%r14, %r12
	movq	%r13, %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_mips_avoid_hazard
	movq	%rbx, %r15
	jmp	LBB0_10
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cfun,8,3                       ## @cfun
	.comm	_current_function_profile,8,3   ## @current_function_profile
	.comm	_TARGET_FIX_VR4120,8,3          ## @TARGET_FIX_VR4120
	.comm	_TARGET_FIX_VR4130,8,3          ## @TARGET_FIX_VR4130
	.comm	_ISA_HAS_MACCHI,4,2             ## @ISA_HAS_MACCHI
	.comm	_SImode,4,2                     ## @SImode
	.comm	_LO_REGNUM,4,2                  ## @LO_REGNUM
	.comm	_SEQUENCE,8,3                   ## @SEQUENCE
	.no_dead_strip	_mips_avoid_hazards
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_avoid_hazards
_mips_avoid_hazards:                    ; @mips_avoid_hazards
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_split_all_insns_noflow
Lloh0:
	adrp	x19, _cfun@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cfun@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8]
	bl	_get_insns
	bl	_shorten_branches
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _current_function_profile@GOTPAGE
Lloh3:
	ldr	x9, [x9, _current_function_profile@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh4:
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, eq
Lloh5:
	adrp	x10, _TARGET_FIX_VR4120@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TARGET_FIX_VR4120@GOTPAGEOFF]
	str	w9, [x8, #4]
Lloh7:
	ldr	x10, [x10]
	cmp	x10, #0
	csel	w9, w9, wzr, eq
Lloh8:
	adrp	x10, _TARGET_FIX_VR4130@GOTPAGE
Lloh9:
	ldr	x10, [x10, _TARGET_FIX_VR4130@GOTPAGEOFF]
	str	w9, [x8, #4]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	adrp	x11, _ISA_HAS_MACCHI@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ISA_HAS_MACCHI@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	cmp	w11, #0
	ccmp	x10, #0, #4, eq
	csel	w9, w9, wzr, eq
	str	w9, [x8, #4]
	mov	w8, #2
	str	w8, [sp, #4]
	str	xzr, [sp, #8]
Lloh14:
	adrp	x8, _SImode@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SImode@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _LO_REGNUM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LO_REGNUM@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_gen_rtx_REG
	mov	x19, x0
	bl	_get_insns
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
	mov	x21, #0
Lloh20:
	adrp	x23, _SEQUENCE@GOTPAGE
Lloh21:
	ldr	x23, [x23, _SEQUENCE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_NEXT_INSN
	mov	x20, x0
	mov	x21, x22
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	bl	_INSN_P
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_PATTERN
	bl	_GET_CODE
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_PATTERN
	mov	w1, #0
	bl	_XVECLEN
	mov	x22, x20
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_PATTERN
	mov	w1, #0
	mov	x2, x22
	bl	_XVECEXP
	mov	x1, x0
	add	x2, sp, #4
	add	x3, sp, #8
	mov	x0, x21
	mov	x4, x19
	bl	_mips_avoid_hazard
	add	w22, w22, #1
	mov	x0, x20
	bl	_PATTERN
	mov	w1, #0
	bl	_XVECLEN
	cmp	w22, w0
	b.lt	LBB0_8
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x2, sp, #4
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	bl	_mips_avoid_hazard
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x20
	b	LBB0_3
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_cfun,8,3                       ; @cfun
	.comm	_current_function_profile,8,3   ; @current_function_profile
	.comm	_TARGET_FIX_VR4120,8,3          ; @TARGET_FIX_VR4120
	.comm	_TARGET_FIX_VR4130,8,3          ; @TARGET_FIX_VR4130
	.comm	_ISA_HAS_MACCHI,4,2             ; @ISA_HAS_MACCHI
	.comm	_SImode,4,2                     ; @SImode
	.comm	_LO_REGNUM,4,2                  ; @LO_REGNUM
	.comm	_SEQUENCE,8,3                   ; @SEQUENCE
	.no_dead_strip	_mips_avoid_hazards
.subsections_via_symbols
