	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_invalid_subreg_refs
_remove_invalid_subreg_refs:            ## @remove_invalid_subreg_refs
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	movl	%edx, %edi
	callq	_GET_MODE_SIZE
                                        ## kill: def $eax killed $eax def $rax
	movq	_HASH_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.1:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	%edx, %eax
	decl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leal	1(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	xorl	%r13d, %r13d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_HASH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movl	%ecx, %eax
	cmpq	%rax, %r13
	jae	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %r12
	testq	%r12, %r12
	jne	LBB0_3
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=2
	testq	%r12, %r12
	je	LBB0_12
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rbx
	movl	(%r12), %r14d
	movq	8(%r12), %r12
	movl	%r14d, %edi
	callq	_REG_P
	testl	%eax, %eax
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%r14d, %edi
	callq	_GET_CODE
	movq	_SUBREG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%r14d, %edi
	callq	_SUBREG_REG
	movl	%eax, %edi
	callq	_REG_P
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%r14d, %edi
	callq	_SUBREG_REG
	movl	%eax, %edi
	callq	_REGNO
	cmpl	%r15d, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%r14d, %edi
	callq	_SUBREG_BYTE
	movl	%eax, %r15d
	movl	%r14d, %edi
	callq	_GET_MODE
	movl	%eax, %edi
	callq	_GET_MODE_SIZE
                                        ## kill: def $eax killed $eax def $rax
	addl	%r15d, %eax
	decl	%eax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jb	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%r14d, %edi
	callq	_SUBREG_BYTE
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	ja	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	(%rbx), %edx
	movl	%r15d, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_refers_to_regno_p
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_remove_from_table
	jmp	LBB0_11
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_SIZE,4,2                  ## @HASH_SIZE
	.comm	_table,8,3                      ## @table
	.comm	_SUBREG,8,3                     ## @SUBREG
	.no_dead_strip	_remove_invalid_subreg_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_invalid_subreg_refs
_remove_invalid_subreg_refs:            ; @remove_invalid_subreg_refs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_GET_MODE_SIZE
Lloh0:
	adrp	x8, _HASH_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASH_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.1:
	mov	x21, #0
	add	w9, w19, w0
	sub	w27, w9, #1
	add	w22, w20, #1
Lloh3:
	adrp	x26, _SUBREG@GOTPAGE
Lloh4:
	ldr	x26, [x26, _SUBREG@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh5:
	adrp	x8, _HASH_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HASH_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, uxtw
	b.hs	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
Lloh8:
	adrp	x9, _table@GOTPAGE
Lloh9:
	ldr	x9, [x9, _table@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x28, [x9, x21, lsl #3]
	cbnz	x28, LBB0_6
	b	LBB0_3
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	cbz	x28, LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x23, x28
	ldr	w24, [x28]
	ldr	x28, [x28, #8]
	mov	x0, x24
	bl	_REG_P
	cbnz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x24
	bl	_GET_CODE
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x24
	bl	_SUBREG_REG
	bl	_REG_P
	cbz	w0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x24
	bl	_SUBREG_REG
	bl	_REGNO
	cmp	w0, w20
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x24
	bl	_SUBREG_BYTE
	mov	x25, x0
	mov	x0, x24
	bl	_GET_MODE
	bl	_GET_MODE_SIZE
	add	w8, w25, w0
	sub	w8, w8, #1
	cmp	w8, w19
	b.lo	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x24
	bl	_SUBREG_BYTE
	cmp	w0, w27
	b.hi	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x22
	mov	x3, #0
	bl	_refers_to_regno_p
	cbz	x0, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x23
	mov	x1, x21
	bl	_remove_from_table
	b	LBB0_5
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_SIZE,4,2                  ; @HASH_SIZE
	.comm	_table,8,3                      ; @table
	.comm	_SUBREG,8,3                     ; @SUBREG
	.no_dead_strip	_remove_invalid_subreg_refs
.subsections_via_symbols
