	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_nonexistent_theirs_shallow ## -- Begin function remove_nonexistent_theirs_shallow
	.p2align	4, 0x90
_remove_nonexistent_theirs_shallow:     ## @remove_nonexistent_theirs_shallow
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	_trace_shallow@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_trace_printf_key
	cmpl	$0, (%r15)
	jle	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%rax,%rbx,4), %rax
	leaq	(%r14,%rax,4), %rdi
	callq	_has_object_file
	cmpq	$1, %rax
	sbbl	$-1, %r12d
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %r12d
	movq	8(%r15), %rax
	cmpq	%r12, %rbx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax,%rbx,4), %ecx
	movl	%ecx, (%rax,%r12,4)
	jmp	LBB0_5
LBB0_1:
	xorl	%r12d, %r12d
LBB0_6:
	movl	%r12d, (%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_trace_shallow,4,2              ## @trace_shallow
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"shallow: remove_nonexistent_theirs_shallow\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_remove_nonexistent_theirs_shallow ; -- Begin function remove_nonexistent_theirs_shallow
	.p2align	2
_remove_nonexistent_theirs_shallow:     ; @remove_nonexistent_theirs_shallow
	.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	x19, x0
	ldr	x8, [x0, #16]
	ldr	x20, [x8]
Lloh0:
	adrp	x0, _trace_shallow@GOTPAGE
Lloh1:
	ldr	x0, [x0, _trace_shallow@GOTPAGEOFF]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trace_printf_key
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, #0
	mov	w8, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x8, x21, lsl #2]
	add	x0, x20, x8, lsl #2
	bl	_has_object_file
	cmp	x0, #0
	cinc	w8, w22, ne
	add	x21, x21, #1
	ldrsw	x9, [x19]
	cmp	x21, x9
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w22, w8
	ldr	x8, [x19, #8]
	cmp	x21, x22
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x8, x21, lsl #2]
	str	w9, [x8, x22, lsl #2]
	b	LBB0_2
LBB0_5:
	mov	w8, #0
LBB0_6:
	str	w8, [x19]
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_trace_shallow,4,2              ; @trace_shallow
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"shallow: remove_nonexistent_theirs_shallow\n"

.subsections_via_symbols
