	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cselib_lookup_mem
_cselib_lookup_mem:                     ## @cselib_lookup_mem
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %r13d
	callq	_GET_MODE
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	_MEM_VOLATILE_P
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
LBB0_2:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_BLKmode@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpl	(%rax), %r14d
	je	LBB0_2
## %bb.4:
	movq	_cselib_record_memory@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.5:
	movl	%r14d, %edi
	callq	_FLOAT_MODE_P
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_flag_float_store@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
LBB0_8:
	xorl	%r12d, %r12d
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_cselib_lookup
	testq	%rax, %rax
	je	LBB0_2
## %bb.9:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_GET_MODE
	cmpl	%r14d, %eax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
LBB0_12:
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.13:
	movq	_next_unknown_value@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	incl	%edi
	movl	%edi, (%rax)
	movl	%r14d, %esi
	callq	_new_cselib_val
	movq	%rax, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	%r13d, %edx
	callq	_add_mem_for_addr
	movq	_cselib_hash_table@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_wrap_constant
	movl	(%r12), %edx
	movq	_INSERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_htab_find_slot_with_hash
	movq	%r12, (%rax)
	jmp	LBB0_2
LBB0_14:
	movq	(%rbx), %r12
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_BLKmode,4,2                    ## @BLKmode
	.comm	_cselib_record_memory,4,2       ## @cselib_record_memory
	.comm	_flag_float_store,8,3           ## @flag_float_store
	.comm	_next_unknown_value,4,2         ## @next_unknown_value
	.comm	_cselib_hash_table,4,2          ## @cselib_hash_table
	.comm	_INSERT,4,2                     ## @INSERT
	.no_dead_strip	_cselib_lookup_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cselib_lookup_mem
_cselib_lookup_mem:                     ; @cselib_lookup_mem
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_GET_MODE
	mov	x20, x0
	mov	x0, x19
	bl	_MEM_VOLATILE_P
	cbnz	x0, LBB0_10
; %bb.1:
Lloh0:
	adrp	x8, _BLKmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLKmode@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _cselib_record_memory@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cselib_record_memory@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w20, w8
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_10
; %bb.2:
	mov	x0, x20
	bl	_FLOAT_MODE_P
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _flag_float_store@GOTPAGE
Lloh7:
	ldr	x8, [x8, _flag_float_store@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbnz	x8, LBB0_10
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_XEXP
	mov	x1, x20
	mov	x2, x21
	bl	_cselib_lookup
	cbz	x0, LBB0_10
; %bb.5:
	mov	x22, x0
	ldr	x23, [x0, #8]
	cbz	x23, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w0, [x8, #4]
	bl	_GET_MODE
	cmp	w0, w20
	b.eq	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_6
LBB0_8:
	cbz	w21, LBB0_10
; %bb.9:
Lloh9:
	adrp	x8, _next_unknown_value@GOTPAGE
Lloh10:
	ldr	x8, [x8, _next_unknown_value@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w0, w9, #1
	str	w0, [x8]
	mov	x1, x20
	bl	_new_cselib_val
	mov	x21, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_add_mem_for_addr
Lloh11:
	adrp	x8, _cselib_hash_table@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cselib_hash_table@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_wrap_constant
	mov	x1, x0
	ldr	w2, [x21]
Lloh14:
	adrp	x8, _INSERT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INSERT@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x22
	bl	_htab_find_slot_with_hash
	str	x21, [x0]
	b	LBB0_11
LBB0_10:
	mov	x21, #0
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x21, [x23]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BLKmode,4,2                    ; @BLKmode
	.comm	_cselib_record_memory,4,2       ; @cselib_record_memory
	.comm	_flag_float_store,8,3           ; @flag_float_store
	.comm	_next_unknown_value,4,2         ; @next_unknown_value
	.comm	_cselib_hash_table,4,2          ; @cselib_hash_table
	.comm	_INSERT,4,2                     ; @INSERT
	.no_dead_strip	_cselib_lookup_mem
.subsections_via_symbols
