	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleanup
_cleanup:                               ## @cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_update_milenage@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_milenage_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	movq	_sqn_changes@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	callq	_update_milenage_file
LBB0_4:
	movq	_gsm_db@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	callq	_os_free
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_6:
	movq	_milenage_db@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	callq	_os_free
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_7
LBB0_8:
	movq	_serv_sock@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_10
## %bb.9:
	callq	_close
LBB0_10:
	movq	_socket_path@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$8, %rsp
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.12:
	popq	%rbx
	popq	%rbp
	jmp	_unlink                         ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_update_milenage,8,3            ## @update_milenage
	.comm	_milenage_file,8,3              ## @milenage_file
	.comm	_sqn_changes,8,3                ## @sqn_changes
	.comm	_gsm_db,8,3                     ## @gsm_db
	.comm	_milenage_db,8,3                ## @milenage_db
	.comm	_serv_sock,8,3                  ## @serv_sock
	.comm	_socket_path,8,3                ## @socket_path
	.comm	_sqlite_db,8,3                  ## @sqlite_db
	.no_dead_strip	_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleanup
_cleanup:                               ; @cleanup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _update_milenage@GOTPAGE
Lloh1:
	ldr	x8, [x8, _update_milenage@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _milenage_file@GOTPAGE
Lloh4:
	ldr	x9, [x9, _milenage_file@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x9]
Lloh6:
	adrp	x9, _sqn_changes@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sqn_changes@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_2
; %bb.1:
	bl	_update_milenage_file
LBB0_2:
Lloh9:
	adrp	x8, _gsm_db@GOTPAGE
Lloh10:
	ldr	x8, [x8, _gsm_db@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x0]
	bl	_os_free
	mov	x0, x19
	cbnz	x19, LBB0_3
LBB0_4:
Lloh12:
	adrp	x8, _milenage_db@GOTPAGE
Lloh13:
	ldr	x8, [x8, _milenage_db@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x0]
	bl	_os_free
	mov	x0, x19
	cbnz	x19, LBB0_5
LBB0_6:
Lloh15:
	adrp	x8, _serv_sock@GOTPAGE
Lloh16:
	ldr	x8, [x8, _serv_sock@GOTPAGEOFF]
Lloh17:
	ldr	x0, [x8]
	tbnz	x0, #63, LBB0_8
; %bb.7:
	bl	_close
LBB0_8:
Lloh18:
	adrp	x8, _socket_path@GOTPAGE
Lloh19:
	ldr	x8, [x8, _socket_path@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
	cbz	x0, LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_unlink
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_update_milenage,8,3            ; @update_milenage
	.comm	_milenage_file,8,3              ; @milenage_file
	.comm	_sqn_changes,8,3                ; @sqn_changes
	.comm	_gsm_db,8,3                     ; @gsm_db
	.comm	_milenage_db,8,3                ; @milenage_db
	.comm	_serv_sock,8,3                  ; @serv_sock
	.comm	_socket_path,8,3                ; @socket_path
	.comm	_sqlite_db,8,3                  ; @sqlite_db
	.no_dead_strip	_cleanup
.subsections_via_symbols
