	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_id_cache__remove_s       ## -- Begin function build_id_cache__remove_s
	.p2align	4, 0x90
_build_id_cache__remove_s:              ## @build_id_cache__remove_s
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_zalloc
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_zalloc
	movq	%rax, %rbx
	movl	$-1, %r15d
	testq	%r14, %r14
	je	LBB0_6
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	leaq	2(%r12), %r9
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	callq	_snprintf
	movq	_F_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_access
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	movq	%r14, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	-1(%r13), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_readlink
	testq	%rax, %rax
	js	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_unlink
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%r14, %r9
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_unlink
	xorl	%r15d, %r15d
	negq	%rax
	sbbl	%r15d, %r15d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,8,3                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/.build-id/%.2s/%s"

	.comm	_F_OK,4,2                       ## @F_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_id_cache__remove_s       ; -- Begin function build_id_cache__remove_s
	.p2align	2
_build_id_cache__remove_s:              ; @build_id_cache__remove_s
	.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	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_zalloc
	mov	x19, x0
	mov	x0, x23
	bl	_zalloc
	mov	x20, x0
	cmp	x19, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
	add	x5, x21, #2
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x3, x22
	mov	x4, x21
	bl	_snprintf
Lloh5:
	adrp	x8, _F_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _F_OK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_access
	cbz	x0, LBB0_4
LBB0_2:
	mov	w21, #-1
LBB0_3:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_free
	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_4:
	sub	x2, x23, #1
	mov	x0, x20
	mov	x1, x19
	bl	_readlink
	tbnz	x0, #63, LBB0_2
; %bb.5:
	mov	x0, x20
	bl	_unlink
	cbnz	x0, LBB0_2
; %bb.6:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x19
	bl	_snprintf
	mov	x0, x20
	bl	_unlink
	cmp	x0, #0
	csetm	w21, ne
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,8,3                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/.build-id/%.2s/%s"

	.comm	_F_OK,4,2                       ; @F_OK
.subsections_via_symbols
