	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_address_replacements    ## -- Begin function remove_address_replacements
	.p2align	4, 0x90
_remove_address_replacements:           ## @remove_address_replacements
	.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
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_RELOADS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_memset
	movq	_n_replacements@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	$0, %r12d
	jle	LBB0_5
## %bb.1:
	movq	_replacements@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx,%r14), %rax
	orb	%dl, (%r15,%rax)
	incq	%r13
	movq	_n_replacements@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$16, %r14
	cmpq	%rax, %r13
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rcx,%r14), %edi
	movq	%rbx, %rsi
	callq	_loc_mentioned_in_p
	movq	_replacements@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	movb	$1, %dl
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r12d, %rax
	incl	%r12d
	shlq	$4, %rax
	movups	(%rcx,%r14), %xmm0
	movups	%xmm0, (%rcx,%rax)
	movq	(%rsi), %rcx
	movb	$2, %dl
	jmp	LBB0_4
LBB0_5:
	movq	_n_replacements@GOTPCREL(%rip), %rax
	movl	%r12d, (%rax)
	movq	_n_reloads@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	movl	$0, %eax
	jle	LBB0_10
## %bb.6:
	xorl	%eax, %eax
	movq	_rld@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%rbx), %rcx
	movq	%rbx, %rdi
	cmpq	$1, %rcx
	jbe	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rdi), %rbx
	movl	%ebx, %r12d
	cmpb	$1, (%r15,%r12)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	decl	%edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_deallocate_reload_reg
	movq	(%r14), %rax
	movq	(%rax,%r12,8), %rdi
	callq	_remove_address_replacements
	movq	(%r14), %rax
	movq	$0, (%rax,%r12,8)
	movl	$1, %eax
	jmp	LBB0_9
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RELOADS,4,2                ## @MAX_RELOADS
	.comm	_n_replacements,4,2             ## @n_replacements
	.comm	_replacements,8,3               ## @replacements
	.comm	_n_reloads,4,2                  ## @n_reloads
	.comm	_rld,8,3                        ## @rld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_address_replacements    ; -- Begin function remove_address_replacements
	.p2align	2
_remove_address_replacements:           ; @remove_address_replacements
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_RELOADS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_RELOADS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x9, x2
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	mov	x0, x19
	mov	w1, #0
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memset
Lloh8:
	adrp	x21, _n_replacements@GOTPAGE
Lloh9:
	ldr	x21, [x21, _n_replacements@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
	mov	x23, #0
	mov	w25, #0
Lloh10:
	adrp	x24, _replacements@GOTPAGE
Lloh11:
	ldr	x24, [x24, _replacements@GOTPAGEOFF]
	ldr	x8, [x24]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	q0, [x8, x22]
	str	q0, [x8, w25, sxtw #4]
	add	w25, w25, #1
	ldr	x8, [x24]
	mov	w9, #2
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x8, x22]
	ldrb	w11, [x19, x10]
	orr	w9, w11, w9
	strb	w9, [x19, x10]
	add	x23, x23, #1
	ldrsw	x9, [x21]
	add	x22, x22, #16
	cmp	x23, x9
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	mov	x1, x20
	bl	_loc_mentioned_in_p
	ldr	x8, [x24]
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #1
	b	LBB0_3
LBB0_6:
	mov	w25, #0
LBB0_7:
	str	w25, [x21]
Lloh12:
	adrp	x8, _n_reloads@GOTPAGE
Lloh13:
	ldr	x8, [x8, _n_reloads@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.8:
	mov	w0, #0
Lloh15:
	adrp	x20, _rld@GOTPAGE
Lloh16:
	ldr	x20, [x20, _rld@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x21, #1
	mov	x8, x21
	cmp	x9, #1
	b.ls	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sub	x21, x8, #1
	and	x22, x21, #0xffffffff
	ldrb	w9, [x19, x22]
	cmp	w9, #1
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	w0, w8, #1
	bl	_deallocate_reload_reg
	ldr	x8, [x20]
	lsl	x22, x22, #3
	ldr	x0, [x8, x22]
	bl	_remove_address_replacements
	ldr	x8, [x20]
	str	xzr, [x8, x22]
	mov	w0, #1
	b	LBB0_9
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RELOADS,4,2                ; @MAX_RELOADS
	.comm	_n_replacements,4,2             ; @n_replacements
	.comm	_replacements,8,3               ; @replacements
	.comm	_n_reloads,4,2                  ; @n_reloads
	.comm	_rld,8,3                        ; @rld
.subsections_via_symbols
