	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_letter                  ## -- Begin function delete_letter
	.p2align	4, 0x90
_delete_letter:                         ## @delete_letter
	.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	_id_to_letter@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	callq	_map_ll_vptr_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %r13
	xorl	%edi, %edi
	testq	%r13, %r13
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%rbx, (%r13)
	sete	%dil
	callq	_assert
	movl	(%r13), %esi
	movq	_id_to_letter@GOTPCREL(%rip), %rdi
	callq	_map_ll_vptr_del
	movq	32(%r13), %rax
	movq	40(%r13), %rcx
	movq	%rax, (%rcx)
	movq	%rcx, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r13)
	movq	_header@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r13), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,8), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	cmpq	16(%r13), %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 32(%r13)
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r13), %rdi
	callq	_get_letter_size
	movl	%eax, %r12d
	cltq
	movq	(%r15), %rcx
	addq	%rcx, %rax
	addq	$-8, %rax
	movq	%rax, (%r15)
	movslq	8(%r15), %rcx
	subq	%rcx, %rax
	jl	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, (%r15)
	cmpq	%rcx, 16(%r15)
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_upd_mx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rbx
	movq	_letter_stat@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$32, %rbx
	movq	%rbx, %rcx
	sarq	$29, %rcx
	movq	(%rax,%rcx), %rax
	incl	4(%rax)
	decl	8(%rax)
	sarq	$30, %rbx
	movq	_drive_l_to_letter@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	movl	16(%r13), %esi
	incl	%esi
	callq	_map_ll_vptr_del
	movq	24(%r13), %rdi
	movl	%r12d, %esi
	callq	_dl_free
	movq	%r13, %rdi
	movl	$48, %esi
	callq	_dl_free
	addq	(%r14), %rbx
	movl	(%r15), %esi
	incl	%esi
	movq	%rbx, %rdi
	callq	_map_ll_vptr_get
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %r13
	testq	%r13, %r13
	jne	LBB0_3
	jmp	LBB0_10
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_10:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_id_to_letter,4,2               ## @id_to_letter
	.comm	_header,8,3                     ## @header
	.comm	_letter_stat,8,3                ## @letter_stat
	.comm	_drive_l_to_letter,8,3          ## @drive_l_to_letter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function delete_letter
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_delete_letter
	.p2align	2
_delete_letter:                         ; @delete_letter
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x20, x0
Lloh0:
	adrp	x0, _id_to_letter@GOTPAGE
Lloh1:
	ldr	x0, [x0, _id_to_letter@GOTPAGEOFF]
	mov	x1, x20
	bl	_map_ll_vptr_get
	cbz	x0, LBB0_10
; %bb.1:
	ldr	x19, [x0]
	cmp	x19, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19]
	cmp	x8, x20
	cset	w0, eq
	bl	_assert
	ldr	w1, [x19]
Lloh2:
	adrp	x0, _id_to_letter@GOTPAGE
Lloh3:
	ldr	x0, [x0, _id_to_letter@GOTPAGEOFF]
	bl	_map_ll_vptr_del
	ldp	x8, x9, [x19, #32]
	str	x8, [x9]
	str	x9, [x8]
	stp	xzr, xzr, [x19, #32]
Lloh4:
	adrp	x8, _header@GOTPAGE
Lloh5:
	ldr	x8, [x8, _header@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	mov	w10, #24
	madd	x20, x9, x10, x8
	add	x22, x20, #8
	add	x23, x20, #16
Lloh7:
	adrp	x24, _letter_stat@GOTPAGE
Lloh8:
	ldr	x24, [x24, _letter_stat@GOTPAGEOFF]
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh11:
	adrp	x25, _drive_l_to_letter@GOTPAGE
Lloh12:
	ldr	x25, [x25, _drive_l_to_letter@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #24]
	bl	_get_letter_size
	mov	x21, x0
	ldr	x8, [x20]
	add	x8, x8, w0, sxtw
	sub	x9, x8, #8
	str	x9, [x20]
	ldrsw	x8, [x22]
	subs	x9, x9, x8
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x9, [x20]
	ldr	x9, [x23]
	cmp	x9, x8
	b.le	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_upd_mx
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	sbfiz	x10, x8, #3, #32
	ldr	x9, [x9, x10]
	ldur	d0, [x9, #4]
	add.2s	v0, v0, v8
	stur	d0, [x9, #4]
	ldr	x9, [x25]
	sbfiz	x26, x8, #2, #32
	add	x0, x9, x26
	ldr	w8, [x19, #16]
	add	w1, w8, #1
	bl	_map_ll_vptr_del
	ldr	x0, [x19, #24]
	mov	x1, x21
	bl	_dl_free
	mov	x0, x19
	mov	w1, #48
	bl	_dl_free
	ldr	x8, [x25]
	add	x0, x8, x26
	ldr	w8, [x20]
	add	w1, w8, #1
	bl	_map_ll_vptr_get
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x0]
	cbnz	x19, LBB0_2
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_id_to_letter,4,2               ; @id_to_letter
	.comm	_header,8,3                     ; @header
	.comm	_letter_stat,8,3                ; @letter_stat
	.comm	_drive_l_to_letter,8,3          ; @drive_l_to_letter
.subsections_via_symbols
