	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_mem_for_addr
_add_mem_for_addr:                      ## @add_mem_for_addr
	.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	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	16(%rsi), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	callq	_MEM_P
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	callq	_CSELIB_VAL_PTR
	cmpq	%r13, %rax
	jne	LBB0_4
	jmp	LBB0_7
LBB0_5:
	movl	24(%r13), %edi
	movq	%r15, %rsi
	callq	_new_elt_list
	movl	%eax, 24(%r13)
	movq	16(%r15), %r12
	movl	8(%r13), %esi
	movl	%r14d, %edi
	callq	_replace_equiv_address_nv
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_new_elt_loc_list
	movq	%rax, 16(%r15)
	cmpq	$0, (%r15)
	jne	LBB0_7
## %bb.6:
	movq	_first_containing_mem@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%r15)
	movq	%r15, (%rax)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_first_containing_mem,8,3       ## @first_containing_mem
	.no_dead_strip	_add_mem_for_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_mem_for_addr
_add_mem_for_addr:                      ; @add_mem_for_addr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x22, [x1, #16]
	cbnz	x22, LBB0_4
LBB0_1:
	ldr	w0, [x21, #24]
	mov	x1, x19
	bl	_new_elt_list
	str	w0, [x21, #24]
	ldr	x22, [x19, #16]
	ldr	w1, [x21, #8]
	mov	x0, x20
	bl	_replace_equiv_address_nv
	mov	x1, x0
	mov	x0, x22
	bl	_new_elt_loc_list
	str	x0, [x19, #16]
	ldr	x8, [x19]
	cbnz	x8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _first_containing_mem@GOTPAGE
Lloh1:
	ldr	x8, [x8, _first_containing_mem@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
	str	x19, [x8]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_MEM_P
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x22]
	mov	w1, #0
	bl	_XEXP
	bl	_CSELIB_VAL_PTR
	cmp	x0, x21
	b.ne	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_first_containing_mem,8,3       ; @first_containing_mem
	.no_dead_strip	_add_mem_for_addr
.subsections_via_symbols
