	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_cli_cleanup
_hostapd_cli_cleanup:                   ## @hostapd_cli_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_hostapd_cli_close_connection
	movq	_pid_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_os_daemonize_terminate
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_os_program_deinit              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pid_file,8,3                   ## @pid_file
	.no_dead_strip	_hostapd_cli_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_cli_cleanup
_hostapd_cli_cleanup:                   ; @hostapd_cli_cleanup
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_hostapd_cli_close_connection
Lloh0:
	adrp	x8, _pid_file@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pid_file@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_os_daemonize_terminate
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_os_program_deinit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pid_file,8,3                   ; @pid_file
	.no_dead_strip	_hostapd_cli_cleanup
.subsections_via_symbols
